[Pkg-sysvinit-commits] r896 - sysvinit/trunk/debian
Petter Reinholdtsen
pere at costa.debian.org
Sat Sep 9 18:16:45 UTC 2006
Author: pere
Date: 2006-09-09 18:16:44 +0000 (Sat, 09 Sep 2006)
New Revision: 896
Modified:
sysvinit/trunk/debian/NEWS
Log:
* Add new NEWS entry with a better shell fragment for recovering
from the update-rc.d problem. Add script
/usr/share/doc/sysv-rc/update-rc.d-recover to make it easier for
people to recover from problems introduced in versions 2.86.ds1-16
and 2.86.ds1-17.(Closes: #386649)
* Rewrite checkroot.sh to not use lazy umount and a private tmpfs,
and keep the tmpfs mounted on /tmp/ as long as checkroot.sh need
it. It seem that fsck did not like relative device paths.
(Closes: #386347, #386699)
* LSB header updates:
- umountfs should execute before umountroot, not before halt or
reboot.
- umountroot should stop in runlevel 0 and 6, and execute before
halt or reboot.
Modified: sysvinit/trunk/debian/NEWS
===================================================================
--- sysvinit/trunk/debian/NEWS 2006-09-09 18:16:42 UTC (rev 895)
+++ sysvinit/trunk/debian/NEWS 2006-09-09 18:16:44 UTC (rev 896)
@@ -1,9 +1,11 @@
sysvinit (2.86.ds1-19) unstable; urgency=low
The script proposed below is dangerous, as it had a problem with
- removed but not purged packages. For such packages, it could end up
- trying to remove quite a lot of packages. This version check to
- make sure the package is installed before trying to reinstall it:
+ removed but not purged packages. If such packages had files in
+ /etc/init.d/, it could end up trying to remove quite a lot of
+ packages. This version check to make sure the package is installed
+ before trying to reinstall it, as well as making sure the admin is
+ asked for every package.
for p in `dpkg -S /etc/init.d/*|cut -d: -f1|sort -u`; do
if dpkg --get-selections $p | grep -qw install ; then
@@ -12,19 +14,19 @@
fi
done
- It will ask for each package if it should be reinstalled or not. To
- avoid this, add -y as an argument for apt-get. An alternative to
- reinstalling all these packages is to look in /var/log/dpkg.log for
- the packages that was installed and upgraded between sysv-rc version
- 2.86.ds1-16 and version 2.86.ds1-18, and only reinstall these. A
- script to do the update is provided in
+ To avoid the question, add -y as an argument for apt-get. An
+ alternative to reinstalling all these packages is to look in
+ /var/log/dpkg.log for the packages that was installed and upgraded
+ between sysv-rc version 2.86.ds1-16 and version 2.86.ds1-18, and
+ only reinstall these. A script to do this and update the system is
+ provided in
/usr/share/doc/sysv-rc/update-rc.d-recover
Please use it to update your installation if you were upgrading from
one of the broken versions of sysv-rc.
- -- Petter Reinholdtsen <pere at debian.org> Thu, 8 Sep 2006 15:40:50 +0200
+ -- Petter Reinholdtsen <pere at debian.org> Sat, 9 Sep 2006 20:12:47 +0200
sysvinit (2.86.ds1-18) unstable; urgency=low
More information about the Pkg-sysvinit-commits
mailing list