Package: openrc
Version: 0.12.4+20131230-7
Severity: normal


OpenRC does not umount filesystems cleanly. There is only one 
/etc/init.d/transit which calls
reboot/halt stop in start(), but umountfs, umountfsroot or are not 
handled at all.
They are not even in the shutdown runlevel:

$ rc-update | grep shutdown
            killprocs |                     recovery shutdown
            savecache |                              shutdown
              transit |                              shutdown

umountfs, etc. cannot be added to the default runlevel, so that it get "start" 
with no-op and get
stopped when leaving the runlevel. Because there are not enough dependency 
information in the LSB
headers of these scripts.

Therefore umountfs, etc. should be added to the shutdown runlevel. OpenRC needs 
to be patched so
that upon "start" action from OpenRC, actually "stop" action in the LSB script 
is executed.
Dependency tree of Required-Stop and Should-Stop also need to be handled (now 
ignored by
lsb2rcconf of OpenRC).

Or, alternatively, we could trick OpenRC into believing those scripts in 
shutdown runlevel are
"started" (or by actually starting them, they are no-op anyway) and let it 
issue "stop" to all of
them, in this case, no tweaking of the dependencies is needed.


-- System Information:
Debian Release: 7.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (1, 
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openrc depends on:
ii  insserv    1.14.0-5
ii  libc6      2.17-0experimental2
ii  libeinfo1  0.12.4+20131230-5
ii  librc1     0.12.4+20131230-5

openrc recommends no packages.

openrc suggests no packages.

-- no debconf information

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Reply via email to