[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#595964: Please cherry-pick patch to mount cgroupfs at /sys/fs/cgroup

On Tue, Sep 14, 2010 at 09:51:49AM -0400, Jon Bernard wrote:
> * Michael Biebl <biebl@debian.org> wrote:
> > CCing Jon, as maintainer of libcgroup he might be interested in this
> > discussion.
> > 
> > Am 07.09.2010 23:12, schrieb Bastian Blank:
> > > On Tue, Sep 07, 2010 at 10:54:04PM +0200, Michael Biebl wrote:
> > >> On 07.09.2010 22:41, Bastian Blank wrote:
> > >>> And what does this help? There are n cgroup filesystem hierarchies.
> > >> Are you referring to cgroup fs like cpuset? They would be mounted below
> > >> /sys/fs/cgroup.
> > > 
> > > sysfs does not support mkdir. How will you mount _n_ different
> > > hierarchies?
> > 
> > In the thread I quoted, G-K H mentions that /sys/fs/cgroup would be a tmpfs.
> I agree with not creating another top-level directory. I configured
> libcgroup to mount cgroupfs under /mnt/cgroup as an initial solution,
> but mounting in /sys/fs seems much more consistent with current
> conventions.

Using /mnt/cgroup is definitely wrong.  FHS says that /mnt is reserved as a
temporary mountpoint for local use.

If there is a consensus upstream that /sys/fs/cgroup is the right place for
this filesystem, and this is needed in squeeze (rather than just for
systemd) then I think we would add that directory in the kernel package for
squeeze.  Otherwise, this is for wheezy (and current experimental) only.


Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus

Reply to: