Package: runit
Version: 2.1.1-6
Severity: important
1. Install git-daemon-run (version 1:1.7.2.3-2.1).
2. dpkg --purge git-daemon-run.
Then a second or two later, "ps ax | grep runsvdir" tells me
(linewrapping added):
runsvdir -P /etc/service log: \
rning: unable to open supervise/stat.new: file does not exist
runsv git-daemon: warning: unable to open supervise/stat.new: file does
not exist
runsv git-daemon: warning: unable to open supervise/pid.new: file does
not exist
runsv git-daemon: warning: unable to open log/supervise/pid.new: file
does not exist
runsv git-daemon: warning: unable to open log/supervise/pid.new: file
does not exist
and I get the following output from prerm and postrm:
Service git-daemon removed, the service daemon received the TERM and
CONT signals.
fail: git-daemon: unable to change to service directory: file does not
exist
Removing user `gitlog' ...
Warning: group `nogroup' has no more members.
userdel: user gitlog is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel gitlog' returned error code 8.
Exiting.
If I instead do
2. dpkg --remove git-daemon-run
3. dpkg --purge git-daemon-run
(giving "update-service --remove" time to finish) then the output is
instead
Service git-daemon removed, the service daemon received the TERM and
CONT signals.
fail: git-daemon: unable to change to service directory: file does not
exist
Removing user `gitlog' ...
Warning: group `nogroup' has no more members.
Done.
which seems relatively successful.
Ideas? For reference, git-daemon-run.prerm does
update-service --remove /etc/sv/git-daemon
and git-daemon-run.postrm purge does, approximately
sv force-stop git-daemon
rm -rf /etc/sv/git-daemon/supervise /etc/sv/git-daemon/log/supervise
rm -rf /var/lib/supervise/git-daemon /var/lib/supervise/git-daemon.log
for i in '@*' current config lock state
do
rm -f /var/log/git-daemon/$i
done
rmdir /var/log/git-daemon
getent passwd gitlog && exec deluser -f gitlog
Perhaps update-service should be made synchronous?
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]