Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Packages leaving obsolete init.d scripts behind (http://www.linux-archive.org/debian-development/34669-packages-leaving-obsolete-init-d-scripts-behind.html)

Petter Reinholdtsen 01-11-2008 10:39 AM

Packages leaving obsolete init.d scripts behind
 
While working on dependency based boot sequencing, I came across
obsolete init.d scripts that contained bad or incorrect dependency
information. The scripts used to be part of a package, but has been
removed. But because the package did not include code to properly
remove the conffile, the init.d script was left behind. Here are some
examples from my sid chroot:

% dpkg-query -W -f='${Conffiles}
' | grep /etc/init.d | grep obsolete
/etc/init.d/loadcpufreq 5cf8c5572d789beaf18d79fc52f95665 obsolete
/etc/init.d/discover 14e9395f8e9e02697ed829530a6c8c87 obsolete
/etc/init.d/makedev 6db71bb7f1c016cadf07b947e2c0c943 obsolete
/etc/init.d/mplayer a6c67e6132f7b9be6fd1b1d19b76946f obsolete
/etc/init.d/pcmcia f53890eb3d87d18693b5b76f553daece obsolete
/etc/init.d/sudo 3ea7480674a8288c36fbac9ef3b26632 obsolete
%

All of these are left behind because of bugs in packages. I urge
every package maintainer to have a look at
<URL:http://wiki.debian.org/DpkgConffileHandling>, and make sure to
remove conffiles properly when they are dropped from a package.

Happy hacking,
--
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Holger Levsen 01-12-2008 01:36 AM

Packages leaving obsolete init.d scripts behind
 
Hi Petter,

On Friday 11 January 2008 12:39, Petter Reinholdtsen wrote:
> Here are some examples from my sid chroot:

Did you file bugs?


regards,
Holger (writing this offline..)

Petter Reinholdtsen 01-12-2008 04:19 PM

Packages leaving obsolete init.d scripts behind
 
[Holger Levsen]
> Did you file bugs?

I believe I reported (or checked that there was a report) for each of
the ones I found, but am not sure, as my current focus is on the boot
system, and I do not want to be sidetracked from that work.

Happy hacking,
--
Petter Reinholdtsen


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 12:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.