Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262685 - sys-apps/sysvinit: killall5 should support omitpid; required for root partition on fuse filesystem
Summary: sys-apps/sysvinit: killall5 should support omitpid; required for root partiti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-16 18:29 UTC by bugs-gentoo.anon
Modified: 2010-01-08 14:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
omitpid implementation for killall5 (based on ubuntu patches) (sysvinit-2.86-ubuntu-killall5-exclude-pids.patch,3.22 KB, patch)
2009-03-16 18:31 UTC, bugs-gentoo.anon
Details | Diff
updated ebuild using proposed patch (sysvinit-2.86-r10.ebuild,2.98 KB, text/plain)
2009-03-16 18:33 UTC, bugs-gentoo.anon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs-gentoo.anon 2009-03-16 18:29:51 UTC
Killall5 ist executed at the end of the shutdown process. Killall5 does not have a omitpid feature, thus when the root partition is on a fuse filesystem, the fS-driver is killed, too, and the system freezes. Ubuntu implemented this feature a while ago. I created a patch for sysvinit-2.86-r10 based on the ubuntu patchset (see attachment). The Ubuntu patchset can be found here: http://archive.ubuntu.com/ubuntu/pool/main/s/sysvinit/sysvinit_2.86.ds1-59ubuntu13.diff.gz My patch is based on patch 81_killall_avoid_init, 82_killall_exclude_pids and and the following bugreport (ubuntu): https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/151580 .

Reproducible: Always

Steps to Reproduce:
1. install gentoo on fuse filesystem (ntfs-3g, zfs-fuse, ...)
2. "shutdown -r now"

Actual Results:  
System freezes before reboot.

Expected Results:  
System should reboot fine.
Comment 1 bugs-gentoo.anon 2009-03-16 18:31:11 UTC
Created attachment 185202 [details, diff]
omitpid implementation for killall5 (based on ubuntu patches)
Comment 2 bugs-gentoo.anon 2009-03-16 18:33:07 UTC
Created attachment 185203 [details]
updated ebuild using proposed patch
Comment 3 William Hubbs gentoo-dev 2010-01-08 14:52:47 UTC
This was added in sysvinit-2.87, so it is supported in the latest
versions in portage.