Your message dated Wed, 1 Apr 2009 14:50:40 +0200
with message-id <[email protected]>
and subject line closing
has caused the Debian Bug report #488660,
regarding backuppc: don't stop the daemon in run levels 0 and 6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
488660: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: backuppc
Version: 3.1.0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu intrepid ubuntu-patch
Hi,
There is no need to stop the daemon in run-levels 0 and 6, as
the daemon will be stopped later anyway in the process of
killing all remaining processes. Please see
https://wiki.ubuntu.com/Teardown
for more details.
The following patch is used in Ubuntu to do this, please consider
applying it.
Note that the version number in the postinst change should be updated
to the version in which you first apply this change.
Thanks,
James
diff -u backuppc-3.1.0/debian/rules backuppc-3.1.0/debian/rules
--- backuppc-3.1.0/debian/rules
+++ backuppc-3.1.0/debian/rules
@@ -85,7 +83,7 @@
dh_installexamples debian/examples/*
mv -f debian/backuppc/usr/share/backuppc/doc/*
debian/backuppc/usr/share/doc/backuppc/
dh_installmenu
- dh_installinit
+ dh_installinit -- start 20 2 3 4 5 . stop 20 1 .
dh_installcron
dh_installman backuppc.8
dh_installinfo
diff -u backuppc-3.1.0/debian/backuppc.init
backuppc-3.1.0/debian/backuppc.init
--- backuppc-3.1.0/debian/backuppc.init
+++ backuppc-3.1.0/debian/backuppc.init
@@ -10,7 +10,7 @@
# Should-Start: $local_fs
# Should-Stop: $local_fs
# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Default-Stop: 1
# Short-Description: Launch backuppc server
# Description: Launch backuppc server, a high-performance,
# enterprise-grade system for backing up PCs.
diff -u backuppc-3.1.0/debian/postinst backuppc-3.1.0/debian/postinst
--- backuppc-3.1.0/debian/postinst
+++ backuppc-3.1.0/debian/postinst
@@ -124,6 +124,11 @@
# change the rights of /etc/backuppc so that the CGI can modify the
conf.
chown -R backuppc /etc/backuppc
+ # Remove shutdown and reboot links; this init script does not need
them.
+ if dpkg --compare-versions "$2" lt "2.1.2-5ubuntu3"; then
+ rm -f /etc/rc0.d/K20backuppc /etc/rc6.d/K20backuppc
+ fi
+
;;
abort-upgrade|abort-remove|abort-deconfigure)
--- End Message ---
--- Begin Message ---
Sorry this is not part of the debian policy yet.
--
Ludovic Drolez.
http://www.portethic.com - Tous mes achats sur internet me permettent de
realiser des dons aux ONG de mon choix.
--- End Message ---