Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 655
    • Issues 655
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 222
    • Merge Requests 222
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #853

Closed
Open
Opened Dec 03, 2011 by Elizabeth Myers@Elizacat

init script for util-vserver does not properly mount cgroups hierarchy

The init script for util-vserver is not mounting the cgroups hierarchy (namely, only one of the elements of the hierarchy) properly because of line 61:

$__PKGLIBDIR/bash-wrapper ‘_generateCgroupOptions; test -n “$CGROUP_MNT” || exit 0; $_MKDIR -p “$CGROUP_MNT”; $_MOUNT -t cgroup -o “$CGROUP_SUBSYS” vserver “$CGROUP_MNT”’

The problem is that $CGROUP_SUBSYS is an array and needs to be rejoined into a comma-separated list for mount. This should be sufficient:

$__PKGLIBDIR/bash-wrapper ‘_generateCgroupOptions; test -n “$CGROUP_MNT” || exit 0; $_MKDIR -p “$CGROUP_MNT”; IFS=“,”; $_MOUNT -t cgroup -o “${CGROUP_SUBSYS[*]}” vserver “$CGROUP_MNT”’

If you really want I can provide a proper patch later. :p

Elizabeth

(from redmine: issue id 853, created on 2011-12-03, closed on 2011-12-23)

  • Changesets:
    • Revision 39c989c6 by Elizabeth Myers on 2011-12-22T15:30:08Z:
main/util-vserver: fix the init script to properly mount the entire cgroups hierarchy.

fixes #853
fixes #852
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Alpine 2.3.3
Milestone
Alpine 2.3.3 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#853