[Pkg-sysvinit-devel] Bug#476698: killall5 should not kill fuse filesystems

Goswin von Brederlow goswin-v-b at web.de
Fri Apr 18 14:07:41 UTC 2008


Package: sysvinit-utils
Version: 2.86.ds1-56
Severity: wishlist
Tags: patch

Hi,

we use fuse-unionfs for /etc and /usr on a pool of systems. When
rebooting killall5 will kill all processes execpt init and itself
causing the fuse filesystems to be killed without umount. In our case
the next access to /etc or /usr will block because there will be no
process left to service the request.

The attached patch adds a test for fuse filesystem and leaves them
alone. This allows any of the many fuse filesystems to be used for
system directories.

It also changes the cwd to /proc and changes readproc() to use
relative paths. This avoids access() calls to / that would deadlock if
/ is a fuse filesystem.

MfG
	Goswin

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-xen-ubuntu
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages sysvinit-utils depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libselinux1                   2.0.59-1   SELinux shared libraries
ii  libsepol1                     2.0.25-1   Security Enhanced Linux policy lib

sysvinit-utils recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 85-fuse-no-kill.dpatch
Type: application/x-shellscript
Size: 3524 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20080418/ef584133/attachment.bin 


More information about the Pkg-sysvinit-devel mailing list