svscan (the upstart job) doesn't stop on shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
daemontools (Ubuntu) |
Fix Released
|
Undecided
|
Neil Wilson |
Bug Description
Binary package hint: daemontools
My system never manages clean unmounts of / (resulting in permanent fsck's on reboot). I spawned a shell from /etc/init.
By replacing in /etc/init/
start on runlevel [123456]
stop on shutdown
with
start on runlevel [2345]
stop on runlevel [^2345]
the leftover processes go away. svscan.conf seems to be the only upstart job to use the stanza "stop on shutdown", or request to be started in levels 1 and 6.
My normal runlevel is 2.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: daemontools 1:0.76-3ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
NonfreeKernelMo
Architecture: i386
Date: Fri Oct 22 18:47:00 2010
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: daemontools
Related branches
Changed in daemontools (Ubuntu): | |
assignee: | nobody → Neil Wilson (neil-aldur) |
tags: | added: patch |
I have a fixed version in my PPA,
https:/ /launchpad. net/~danmbox/ +archive/ ppa/
Attaching debdiff against that version. This is a trivial change, but from what I can see Ubuntu is very selectively maintained, and providing a patch makes it slightly more likely that a maintainer will act.
Again, please note that this bug breaks shutdown, leading to unclean filesystems, fsck and thus possibly an increased chance of data corruption.