Bug 612789 - cgroup file systems should be ignored when unmounting in /etc/rc.d/init.d/halt
Summary: cgroup file systems should be ignored when unmounting in /etc/rc.d/init.d/halt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 627399 627645 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-09 02:33 UTC by Lennart Poettering
Modified: 2014-03-17 03:24 UTC (History)
7 users (show)

Fixed In Version: initscripts-9.17-2.fc14
Clone Of:
Environment:
Last Closed: 2010-08-27 03:06:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lennart Poettering 2010-07-09 02:33:45 UTC
When booting a system with systemd /cgroup contains the cgroup hierarchies, and they cannot be unmounted on shutdown (or at least /cgroup/systemd cannot, and hence neither /cgroup). Currently, the halt script tries really hard to unmount the FS in a loop, which ultimately fails, but takes quite some time until it gives up.

/etc/rc.d/init.d/halt shoulds simply ignore all directories starting with /cgroup the same way as /proc and /sys are spared.

Comment 2 Lennart Poettering 2010-08-10 13:02:20 UTC
BTW: as it turns out this mount point of the cgroup fs has been mnoved in the kernel, to a place inside of /sys.

Comment 3 Bill Nottingham 2010-08-10 14:05:25 UTC
/sys/cgroup/...? Or somewhere else?

Comment 4 Michal Schmidt 2010-08-25 21:42:19 UTC
Reopening. With systemd-8 it now tries to umount /sys/fs/cgroup/systemd and /sys/fs/cgroup on shutdown.

Comment 5 Michal Schmidt 2010-08-26 15:32:19 UTC
*** Bug 627645 has been marked as a duplicate of this bug. ***

Comment 6 Bill Nottingham 2010-08-26 16:08:27 UTC
*** Bug 627399 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2010-08-26 17:49:37 UTC
systemd-8-2.fc14,initscripts-9.17-2.fc14 has been submitted as an update for Fedora 14.
http://admin.fedoraproject.org/updates/systemd-8-2.fc14,initscripts-9.17-2.fc14

Comment 8 Fedora Update System 2010-08-26 18:38:24 UTC
systemd-8-2.fc14, initscripts-9.17-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update systemd initscripts'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/systemd-8-2.fc14,initscripts-9.17-2.fc14

Comment 9 Fedora Update System 2010-08-27 03:05:49 UTC
initscripts-9.17-2.fc14, systemd-8-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.