Debian Bug report logs -
#495552
nvidia-kernel-common: Please remove stop links from rc0 and rc6
Reported by: "Didier Roche" <didrocks@ubuntu-fr.org>
Date: Mon, 18 Aug 2008 13:45:01 UTC
Severity: wishlist
Tags: patch
Found in version nvidia-kernel-common/20051028+1+nmu2
Fixed in version nvidia-kernel-common/20080825+1
Done: Randall Donald <rdonald@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#495552; Package nvidia-kernel-common.
(full text, mbox, link).
Acknowledgement sent to "Didier Roche" <didrocks@ubuntu-fr.org>:
New Bug report received and forwarded. Copy sent to Randall Donald <rdonald@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: nvidia-kernel-common
Version: 20051028+1+nmu2
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
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/K20nvidia-kernel /etc/rc6.d/K20nvidia-kernel
fi
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
Thanks,
Didier
Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#495552; Package nvidia-kernel-common.
(full text, mbox, link).
Acknowledgement sent to "Didier Roche" <didrocks@ubuntu-fr.org>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>.
(full text, mbox, link).
Message #10 received at 495552@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Better with the patch, isn't it? :)
Sorry for the inconvenience.
[nvidia-kernel-common-20051028+1ubuntu9.patch (text/x-diff, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#495552; Package nvidia-kernel-common.
(full text, mbox, link).
Acknowledgement sent to Randall Donald <randy@khensu.org>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>.
(full text, mbox, link).
Message #15 received at 495552@bugs.debian.org (full text, mbox, reply):
On Mon, 2008-08-18 at 15:41 +0200, Didier Roche wrote:
> Package: nvidia-kernel-common
> Version: 20051028+1+nmu2
> Severity: wishlist
> Tags: patch
> User: ubuntu-devel@lists.ubuntu.com
> Usertags: origin-ubuntu intrepid ubuntu-patch
>
> 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.
>
So how is this applicable in nvidia-kernel-common where there is no
daemon to stop and calling the script with stop does nothing?
>
--
--------------------------------------------
Randall Donald randy@khensu.org
http://www.khensu.org rdonald@debian.org
Programmer/Debian Developer GnuPG: 6C27DEAB
--------------------------------------------
Information forwarded to debian-bugs-dist@lists.debian.org, Randall Donald <rdonald@debian.org>:
Bug#495552; Package nvidia-kernel-common.
(full text, mbox, link).
Acknowledgement sent to "Didier Roche" <didrocks@ubuntu-fr.org>:
Extra info received and forwarded to list. Copy sent to Randall Donald <rdonald@debian.org>.
(full text, mbox, link).
Message #20 received at 495552@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
> So how is this applicable in nvidia-kernel-common where there is no
> daemon to stop and calling the script with stop does nothing?
>
>
It saves the effort of calling the script if it does nothing.
I can see in /etc/init.d/rc that "# Debian Policy §9.3.1 requires .sh
scripts in runlevel S to be sourced".
So runlevel 1 corresponds to runlevel S in Debian et derivatives (stop me
and shout if this is not the case!)
So, the file is normally source, but we can also avoid to do that for
nothing.
[Message part 2 (text/html, inline)]
Reply sent to Randall Donald <rdonald@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to "Didier Roche" <didrocks@ubuntu-fr.org>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #25 received at 495552-close@bugs.debian.org (full text, mbox, reply):
Source: nvidia-kernel-common
Source-Version: 20080825+1
We believe that the bug you reported is fixed in the latest version of
nvidia-kernel-common, which is due to be installed in the Debian FTP archive:
nvidia-kernel-common_20080825+1.dsc
to pool/contrib/n/nvidia-kernel-common/nvidia-kernel-common_20080825+1.dsc
nvidia-kernel-common_20080825+1.tar.gz
to pool/contrib/n/nvidia-kernel-common/nvidia-kernel-common_20080825+1.tar.gz
nvidia-kernel-common_20080825+1_all.deb
to pool/contrib/n/nvidia-kernel-common/nvidia-kernel-common_20080825+1_all.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 495552@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Randall Donald <rdonald@debian.org> (supplier of updated nvidia-kernel-common 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 01 Sep 2008 11:22:34 -0700
Source: nvidia-kernel-common
Binary: nvidia-kernel-common
Architecture: source all
Version: 20080825+1
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Changed-By: Randall Donald <rdonald@debian.org>
Description:
nvidia-kernel-common - NVIDIA binary kernel module common files
Closes: 400202 495548 495552
Changes:
nvidia-kernel-common (20080825+1) unstable; urgency=medium
.
* Change maintainer.
* Remove Recommends. (closes: #400202)
* Apply stop links patch. (closes: #495552, #495548)
Checksums-Sha1:
a1f5671ee7e909f687bd220dc605c913d45f5f88 848 nvidia-kernel-common_20080825+1.dsc
fab570ecd3b3e7c5990b333f309d344d9418f84f 3277 nvidia-kernel-common_20080825+1.tar.gz
fa55e4a85392dc5f8f7c378b87f1eb21f3a5b00c 4088 nvidia-kernel-common_20080825+1_all.deb
Checksums-Sha256:
57a10626a3a05798fcaf75beb19d0284c136a545eb7ff8a8ffb3cc0fc3c46f19 848 nvidia-kernel-common_20080825+1.dsc
2e1bb939ae6209ac3a50d03f0ee5c0fc7b90aa8bc4e227ede72632171d67bf6d 3277 nvidia-kernel-common_20080825+1.tar.gz
aef9d0a728d990d965fbcc1c42943929fabdd2f50893adc1338c5eb60cee35b2 4088 nvidia-kernel-common_20080825+1_all.deb
Files:
9a04b0128b96671f3402338a2a497936 848 contrib/x11 optional nvidia-kernel-common_20080825+1.dsc
99e053f1cd035ca4e64b153c831e5bd3 3277 contrib/x11 optional nvidia-kernel-common_20080825+1.tar.gz
9822040243641393bccc55f895e663e3 4088 contrib/x11 optional nvidia-kernel-common_20080825+1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFIvDMwU+6HYGwn3qsRAvyKAJ9H3LFBIE7Qa6PFUs1znuPi6uHviwCgnTQH
MNhxWAf4r7ftYtY3n+Q2dto=
=fqQu
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 10 Nov 2008 07:29:35 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 07:23:51 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.