Your message dated Sun, 15 Feb 2009 14:01:15 +0000
with message-id <[email protected]>
and subject line Bug#497849: fixed in nis 3.17-18
has caused the Debian Bug report #497849,
regarding nis: Please remove stop links from rc0 and rc6
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.)
--
497849: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497849
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nis
Version: 3.17
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu intrepid ubuntu-patch
Hi,
For daemons that do not require clean shutdown to perform their
operation it is possible to not explicitly stop the daemon in
runlevels 0 and 6, and let sendsigs take care of stopping the
daemon.
This has been used in Ubuntu for a while to speed up the shutdown
process. The policy has recently been changed to make it compatible
with Debian, and so I am now forwarding you the patch that can
help to bring these benefits in to Debian.
Please consider applying the attached patch.
You will also need a postinst snippet to remove the existing stop
links. This will look something like
# Remove shutdown and reboot links; this init script does not need them.
if dpkg --compare-versions "$2" lt "<version where patch is applied>";
then
rm -f /etc/rc0.d/K18nis /etc/rc6.d/K18nis
fi
I currently putted <version where patch is applied> to nis_3.17-18
You can read more on this subject at
https://wiki.ubuntu.com/Teardown
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html
http://lists.debian.org/debian-devel/2008/07/msg00005.html
diff -Nurp nis-3.17/debian/postinst nis-3.17_patched/debian/postinst
--- nis-3.17/debian/postinst 2008-09-04 21:18:45.000000000 +0200
+++ nis-3.17_patched/debian/postinst 2008-09-04 21:33:31.000000000 +0200
@@ -70,7 +70,7 @@ then
fi
# The user may have decided to remove the init script...
if [ -x /etc/init.d/nis ]; then
- update-rc.d nis defaults 18 >/dev/null 2>&1
+ update-rc.d nis start 18 2 3 4 5 . stop 18 1 . >/dev/null 2>&1
fi
# Convert the old ypserv.conf to the new format.
@@ -91,6 +91,11 @@ db_stop
# The user may have decided to remove the init script...
if [ -x /etc/init.d/nis ]; then
invoke-rc.d nis restart
+
+ # Remove shutdown and reboot links; this init script does not need them.
+ if dpkg --compare-versions "$2" lt "nis_3.17-18"; then
+ rm -f /etc/rc0.d/K18nis /etc/rc6.d/K18nis
+ fi
fi
# /sbin/unix_chkpwd is installed setgid shadow by default; for NIS we need
diff -Nurp nis-3.17/debian/rc.nis nis-3.17_patched/debian/rc.nis
--- nis-3.17/debian/rc.nis 2008-09-04 21:18:45.000000000 +0200
+++ nis-3.17_patched/debian/rc.nis 2008-09-04 21:22:46.000000000 +0200
@@ -7,7 +7,7 @@
# Required-Start: $network $portmap
# Required-Stop: $portmap
# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Default-Stop: 1
# Short-Description: Start NIS client and server daemons.
# Description: Start NIS client and server daemons. NIS is mostly
# used to let several machines in a network share the
--- End Message ---
--- Begin Message ---
Source: nis
Source-Version: 3.17-18
We believe that the bug you reported is fixed in the latest version of
nis, which is due to be installed in the Debian FTP archive:
nis_3.17-18.diff.gz
to pool/main/n/nis/nis_3.17-18.diff.gz
nis_3.17-18.dsc
to pool/main/n/nis/nis_3.17-18.dsc
nis_3.17-18_amd64.deb
to pool/main/n/nis/nis_3.17-18_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mark Brown <[email protected]> (supplier of updated nis package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 14 Feb 2009 13:14:28 +0000
Source: nis
Binary: nis
Architecture: source amd64
Version: 3.17-18
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <[email protected]>
Changed-By: Mark Brown <[email protected]>
Description:
nis - Clients and daemons for the Network Information Services (NIS)
Closes: 117907 497849
Changes:
nis (3.17-18) unstable; urgency=low
.
* Apply patch from Didier Roche <[email protected]> removing the
stop links for the init script, providing improved shutdown times by
avoiding the need to wait for the daemons to exit (closes: #497849).
* Use --no-limit-check by default to allow very long lines in NIS
databases. Thanks to Mattias Wikstrom <[email protected]> for
pointing this out (closes: #117907).
Checksums-Sha1:
36f44e2bfaa0b41190f1628cd471a04c32b26202 1140 nis_3.17-18.dsc
034827c997e95e0c574a01f258fd70fde9bd6d63 40955 nis_3.17-18.diff.gz
bf944615a81b766ef703d549fb90625c152b637d 223700 nis_3.17-18_amd64.deb
Checksums-Sha256:
108a6a57c949dfe5da05c65605c00869ec8232e71d13d09290d642909b679b8b 1140
nis_3.17-18.dsc
54068b21f4572f934c680a8b942d561840bccfa7ec4644620ec094c6a5bfa744 40955
nis_3.17-18.diff.gz
392032925aa0c10bf9812c7dab16e49b467ca6a1ee9c062825e66321f1e3d332 223700
nis_3.17-18_amd64.deb
Files:
b50f54db429e4391904a6d3ae86084d7 1140 net extra nis_3.17-18.dsc
9f57ea50abd2e7d524aee433f24fe00f 40955 net extra nis_3.17-18.diff.gz
168e9382226aac4df511188c6fa352cf 223700 net extra nis_3.17-18_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmW0dUACgkQJ2Vo11xhU62oOgCguptJwmWo/hDa5EUsMv+o0irf
YywAnjGkzCFi/XuZ8xhEjPXzTNEF19Jj
=s84k
-----END PGP SIGNATURE-----
--- End Message ---