← Back to team overview

touch-packages team mailing list archive

[Bug 1480004] Re: Prevent cgroup filesystem from getting mounted

 

this is what I get. thanks

ivo@optiplexona:~
$ ls -l /etc/init
total 440K
-rw-r--r-- 1 root root  320 Dec  8  2011 acpid.conf
-rw-r--r-- 1 root root  498 Jan 16  2014 alsa-restore.conf
-rw-r--r-- 1 root root  613 Jan 16  2014 alsa-state.conf
-rw-r--r-- 1 root root  487 Jan 16  2014 alsa-store.conf
-rw-r--r-- 1 root root  278 Jun 20  2010 anacron.conf
-rw-r--r-- 1 root root 1.6K Oct  1  2014 apport.conf
-rw-r--r-- 1 root root  261 Oct 25  2011 atd.conf
-rw-r--r-- 1 root root  207 Dec 30  2013 avahi-cups-reload.conf
-rw-r--r-- 1 root root  541 Oct 17  2011 avahi-daemon.conf
-rw-r--r-- 1 root root 1009 Mar  7  2012 bluetooth.conf
-rw-r--r-- 1 root root  328 Feb 21  2014 bootmisc.sh.conf
-rw-r--r-- 1 root root  232 Feb 21  2014 checkfs.sh.conf
-rw-r--r-- 1 root root  253 Feb 21  2014 checkroot-bootclean.sh.conf
-rw-r--r-- 1 root root  307 Feb 21  2014 checkroot.sh.conf
-rw-r--r-- 1 root root  266 Apr 26  2012 console.conf
-rw-r--r-- 1 root root  250 Oct  8  2012 console-font.conf
-rw-r--r-- 1 root root  509 Dec 21  2010 console-setup.conf
-rw-r--r-- 1 root root 1.1K Apr 26  2012 container-detect.conf
-rw-r--r-- 1 root root  356 Apr 26  2012 control-alt-delete.conf
-rw-r--r-- 1 root root  297 Jun 19  2012 cron.conf
-rw-r--r-- 1 root root  525 Jun  4  2014 cups-browsed.conf
-rw-r--r-- 1 root root 1.8K Sep  5  2014 cups.conf
-rw-r--r-- 1 root root  489 Nov 11  2013 dbus.conf
-rw-r--r-- 1 root root  273 Mar 30  2012 dmesg.conf
-rw-r--r-- 1 root root 1.5K Jun 18 10:14 docker.conf
-rw-r--r-- 1 root root 1003 Jun 19  2014 docker.io.conf
-rw-r--r-- 1 root root 1.4K Apr 26  2012 failsafe.conf
-rw-r--r-- 1 root root  380 Aug 30  2011 failsafe-x.conf
-rw-r--r-- 1 root root  267 Apr 26  2012 flush-early-job-log.conf
-rw-r--r-- 1 root root 1.3K Mar 14  2012 friendly-recovery.conf
-rw-r--r-- 1 root root  160 Sep  1  2014 gpu-manager.conf
-rw-r--r-- 1 root root  284 Jul 23  2013 hostname.conf
-rw-r--r-- 1 root root  557 Mar 29  2012 hwclock.conf
-rw-r--r-- 1 root root  444 Mar 29  2012 hwclock-save.conf
-rw-r--r-- 1 root root  131 Sep 28  2012 hybrid-gfx.conf
-rw-r--r-- 1 root root  579 Aug 26  2014 irqbalance.conf
-rw-r--r-- 1 root root  689 Apr 10  2014 kmod.conf
-rw-r--r-- 1 root root 2.4K Dec  5  2012 libvirt-bin.conf
-rw-r--r-- 1 root root 1.4K Apr  7  2014 lightdm.conf
-rw-r--r-- 1 root root 1.6K Jan  7  2015 lxc.conf
-rw-r--r-- 1 root root  462 Jan  7  2015 lxc-instance.conf
-rw-r--r-- 1 root root 4.3K Jan  7  2015 lxc-net.conf
-rw-r--r-- 1 root root  347 Feb 25  2014 modemmanager.conf
-rw-r--r-- 1 root root  367 Mar 18  2011 module-init-tools.conf
-rw-r--r-- 1 root root  268 Feb 21  2014 mountall-bootclean.sh.conf
-rw-r--r-- 1 root root 1.3K Feb 21  2014 mountall.conf
-rw-r--r-- 1 root root  349 Apr 12  2012 mountall-net.conf
-rw-r--r-- 1 root root  261 Apr 12  2012 mountall-reboot.conf
-rw-r--r-- 1 root root  311 Feb 21  2014 mountall.sh.conf
-rw-r--r-- 1 root root 1.2K Apr 12  2012 mountall-shell.conf
-rw-r--r-- 1 root root  327 Feb 21  2014 mountdevsubfs.sh.conf
-rw-r--r-- 1 root root  405 Apr 12  2012 mounted-debugfs.conf
-rw-r--r-- 1 root root  730 Feb 21  2014 mounted-dev.conf
-rw-r--r-- 1 root root  480 Apr 12  2012 mounted-proc.conf
-rw-r--r-- 1 root root  618 Feb 21  2014 mounted-run.conf
-rw-r--r-- 1 root root 1.9K Apr 12  2012 mounted-tmp.conf
-rw-r--r-- 1 root root  903 Apr 12  2012 mounted-var.conf
-rw-r--r-- 1 root root  323 Feb 21  2014 mountkernfs.sh.conf
-rw-r--r-- 1 root root  249 Feb 21  2014 mountnfs-bootclean.sh.conf
-rw-r--r-- 1 root root  313 Feb 21  2014 mountnfs.sh.conf
-rw-r--r-- 1 root root  238 Feb 21  2014 mtab.sh.conf
-rw-r--r-- 1 root root 2.5K Mar 20  2014 networking.conf
-rw-r--r-- 1 root root 1.1K May  8  2014 network-interface.conf
-rw-r--r-- 1 root root  530 Mar 20  2014 network-interface-container.conf
-rw-r--r-- 1 root root 1.8K May  4  2013 network-interface-security.conf
-rw-r--r-- 1 root root  568 Oct 10  2012 network-manager.conf
-rw-r--r-- 1 root root  534 Sep 12  2012 passwd.conf
-rw-r--r-- 1 root root  519 Mar 13  2014 plymouth.conf
-rw-r--r-- 1 root root  326 Mar 26  2010 plymouth-log.conf
-rw-r--r-- 1 root root  675 Mar 13  2014 plymouth-ready.conf
-rw-r--r-- 1 root root  778 Mar 13  2014 plymouth-shutdown.conf
-rw-r--r-- 1 root root  899 Mar 13  2014 plymouth-splash.conf
-rw-r--r-- 1 root root  796 Mar 13  2014 plymouth-stop.conf
-rw-r--r-- 1 root root  421 Apr 11  2014 plymouth-upstart-bridge.conf
-rw-r--r-- 1 root root  363 Dec  5  2011 procps.conf
-rw-r--r-- 1 root root 1.9K Apr  4  2014 pulseaudio.conf
-rw-r--r-- 1 root root  661 Jul 18  2014 rc.conf
-rw-r--r-- 1 root root  683 Jul 18  2014 rcS.conf
-rw-r--r-- 1 root root 1.6K Apr 26  2012 rc-sysinit.conf
-rw-r--r-- 1 root root  457 Jul 18  2012 resolvconf.conf
-rw-r--r-- 1 root root  597 Mar 22  2012 rfkill-restore.conf
-rw-r--r-- 1 root root  469 Mar 22  2012 rfkill-store.conf
-rw-r--r-- 1 root root  426 Mar 30  2012 rsyslog.conf
-rw-r--r-- 1 root root  683 Jun  6  2011 screen-cleanup.conf
-rw-r--r-- 1 root root  230 Mar 18  2011 setvtrgb.conf
-rw-r--r-- 1 root root  277 Apr 26  2012 shutdown.conf
-rw-r--r-- 1 root root  641 May  2  2014 ssh.conf
-rw-r--r-- 1 root root  711 Mar 12  2014 startpar-bridge.conf
-rw-r--r-- 1 root root 1.2K Oct 29  2014 systemd-logind.conf
-rw-r--r-- 1 root root  348 Apr 26  2012 tty1.conf
-rw-r--r-- 1 root root  333 Apr 26  2012 tty2.conf
-rw-r--r-- 1 root root  333 Apr 26  2012 tty3.conf
-rw-r--r-- 1 root root  333 Apr 26  2012 tty4.conf
-rw-r--r-- 1 root root  232 Apr 26  2012 tty5.conf
-rw-r--r-- 1 root root  232 Apr 26  2012 tty6.conf
-rw-r--r-- 1 root root  337 May  7  2014 udev.conf
-rw-r--r-- 1 root root  645 Sep 12  2014 udev-fallback-graphics.conf
-rw-r--r-- 1 root root  768 May  7  2014 udev-finish.conf
-rw-r--r-- 1 root root  356 Oct 20  2011 udevmonitor.conf
-rw-r--r-- 1 root root  352 Jul 15  2012 udevtrigger.conf
-rw-r--r-- 1 root root  473 Apr  5  2012 ufw.conf
-rw-r--r-- 1 root root  412 Jul 18  2014 upstart-file-bridge.conf
-rw-r--r-- 1 root root  329 Apr 26  2012 upstart-socket-bridge.conf
-rw-r--r-- 1 root root  553 Apr 26  2012 upstart-udev-bridge.conf
-rw-r--r-- 1 root root  889 Feb  3  2012 ureadahead.conf
-rw-r--r-- 1 root root  683 Feb  3  2012 ureadahead-other.conf
-rw-r--r-- 1 root root  125 Apr  1  2014 usb-modeswitch-upstart.conf
-rw-r--r-- 1 root root 1.5K Jul 18  2014 wait-for-state.conf
-rw-r--r-- 1 root root  416 Jun 10  2014 whoopsie.conf

ivo@optiplexona:~
$ cat /etc/init/cgroup*
cat: /etc/init/cgroup*: No such file or directory

ivo@optiplexona:~
$ dpkg -S /etc/init/cg*
dpkg-query: no path found matching pattern /etc/init/cg*

ivo@optiplexona:~
$ cat /proc/mounts | grep cgroup
none /sys/fs/cgroup tmpfs rw,relatime,size=4k,mode=755 0 0
systemd /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,name=systemd 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cgroup /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/hugetlb cgroup rw,relatime,hugetlb 0 0

ivo@optiplexona:~
$ cat /etc/mtab
/dev/mapper/optiplexona-root / ext4 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/cgroup tmpfs rw 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
none /run/shm tmpfs rw,nosuid,nodev 0 0
none /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0
none /sys/fs/pstore pstore rw 0 0
/dev/sda1 /boot ext2 rw 0 0
systemd /sys/fs/cgroup/systemd cgroup rw,noexec,nosuid,nodev,none,name=systemd 0 0
gvfsd-fuse /run/user/109/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=lightdm 0 0

ivo@optiplexona:~
$ mount
/dev/mapper/optiplexona-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
/dev/sda1 on /boot type ext2 (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/109/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lightdm)

ivo@optiplexona:~
$ l /sys/fs/cgroup/
total 0
drwxr-xr-x 2 root root 0 Aug  3 00:10 blkio/
drwxr-xr-x 2 root root 0 Aug  3 00:10 cpu/
drwxr-xr-x 2 root root 0 Aug  3 00:10 cpuacct/
drwxr-xr-x 2 root root 0 Aug  3 00:10 cpuset/
drwxr-xr-x 2 root root 0 Aug  3 00:10 devices/
drwxr-xr-x 2 root root 0 Aug  3 00:10 freezer/
drwxr-xr-x 2 root root 0 Aug  3 00:10 hugetlb/
drwxr-xr-x 2 root root 0 Aug  3 00:10 memory/
drwxr-xr-x 2 root root 0 Aug  3 00:10 perf_event/
drwxr-xr-x 3 root root 0 Aug  3 00:09 systemd/

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cgroup-lite in Ubuntu.
https://bugs.launchpad.net/bugs/1480004

Title:
  Prevent cgroup filesystem from getting mounted

Status in cgroup-lite package in Ubuntu:
  Incomplete

Bug description:
  On trusty (14.04.1), I installed `cgroup-lite` (1.9) which mounts the
  virtual FS for cgroups subsystems in `/sys/fs/cgroup/*`. I've executed
  `cgclear` (from the `cgroup-bin` package) and uninstalled/purged
  `cgroup-lite`. When I reboot, the subsystems are mounted again.
  Question is: how can I prevent this from happening? Is there any
  config/script file that is read/executed when booting that
  accomplishes this?

  No other packages related to cgroups (e.g. `lxc`, `libcgroup1` or
  `cgmanager`) are installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgroup-lite/+bug/1480004/+subscriptions


Follow ups

References