Debian Bug report logs - #18102
debmake: postinst update-rc.d line should check if init.d script is present

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: phil@hands.com

Date: Wed, 11 Feb 1998 16:33:03 UTC

Severity: normal

Done: Ben Collins <bcollins@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@ctv.es>:
Bug#18102; Package debmake. (full text, mbox, link).


Acknowledgement sent to phil@hands.com:
New bug report received and forwarded. Copy sent to Santiago Vila <sanvila@ctv.es>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: phil@hands.com
To: submit@bugs.debian.org
Subject: debmake: postinst update-rc.d line should check if init.d script is present
Date: 11 Feb 1998 15:03:13 -0000
Package: debmake
Version: 3.5.8

Hi,

It seems that people sometimes remove /etc/init.d/ppp.  When ppp is
subsequently upgraded, the update-rc.d line in ppp's postinst (that was
added by debstd) bombs out because /etc/init.d/ppp is missing, and maikes
the postinst fail.

the line inserted by debmake should check if the /etc/init.d/ppp file exists
before running update-rc.d

Cheers, Phil.

-- System Information
Debian Release: 2.0 (unstable)
Kernel Version: Linux palm 2.0.32 #1 Wed Dec 10 17:24:06 GMT 1997 i486 unknown

Versions of the packages debmake depends on:
dpkg-dev	Version: 1.4.0.20
file	Version: 3.20.1-8
fileutils	Version: 3.16-5
patch	Version: 2.5-1
perl	Version: 5.004.04-4
ed	Version: 0.2-15
gawk	Version: 3.0.3-0.1 (Provides Virtual Package awk)


Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@ctv.es>:
Bug#18102; Package debmake. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joey@kitenet.net>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@ctv.es>. (full text, mbox, link).


Message #10 received at 18102@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joey@kitenet.net>
To: phil@hands.com, 18102@bugs.debian.org
Subject: Re: Bug#18102: debmake: postinst update-rc.d line should check if init.d script is present
Date: Wed, 11 Feb 1998 09:27:41 -0800
phil@hands.com wrote:
> It seems that people sometimes remove /etc/init.d/ppp.  When ppp is
> subsequently upgraded, the update-rc.d line in ppp's postinst (that was
> added by debstd) bombs out because /etc/init.d/ppp is missing, and maikes
> the postinst fail.
> 
> the line inserted by debmake should check if the /etc/init.d/ppp file exists
> before running update-rc.d

I'd say this is hardly a bug in debmake. For one thing, debhelper has the
same problem. For another, there are many, many packages out there that
don't use debmake or debhelper for this task, and run update-rc.d by hand
(ex: apache). 

Perhaps this should be reassigned to update-rc.d, with the idea that it
should exit w/o an error if the conffile is missing?

-- 
see shy jo


Information forwarded to debian-bugs-dist@lists.debian.org, Santiago Vila <sanvila@ctv.es>:
Bug#18102; Package debmake. (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Santiago Vila <sanvila@ctv.es>. (full text, mbox, link).


Message #15 received at 18102@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@unex.es>
To: Joey Hess <joey@kitenet.net>, 18102@bugs.debian.org
Cc: phil@hands.com
Subject: Re: #18102: debmake: postinst update-rc.d line should check if init.d script is present
Date: Wed, 11 Feb 1998 19:02:50 +0100 (CET)
-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 11 Feb 1998, Joey Hess wrote:

> phil@hands.com wrote:
> > It seems that people sometimes remove /etc/init.d/ppp.  When ppp is
> > subsequently upgraded, the update-rc.d line in ppp's postinst (that was
> > added by debstd) bombs out because /etc/init.d/ppp is missing, and maikes
> > the postinst fail.
> > 
> > the line inserted by debmake should check if the /etc/init.d/ppp file exists
> > before running update-rc.d
> 
> I'd say this is hardly a bug in debmake. For one thing, debhelper has the
> same problem. For another, there are many, many packages out there that
> don't use debmake or debhelper for this task, and run update-rc.d by hand
> (ex: apache). 
> 
> Perhaps this should be reassigned to update-rc.d, with the idea that it
> should exit w/o an error if the conffile is missing?

Yes, I'm reassigning this bug to dpkg.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCUAgUBNOHnxCqK7IlOjMLFAQGVaAP4132dj4KekV6ma1XggSKnIdRIoBOSPfax
KY0ZuRvHIYI5wu5Ln9V5hOV9/jkLMrG6m5kGy7Ni5A/CNIo2ArP/uxl/EuBBO6UC
Qt6GFgPsGJ9stDFgZeANhaQAEkc8LHSHQAAxn8zsCOFbhxJUnJtJCoKuKlG3WcC6
V/rq5ZB6qQ==
=KAEH
-----END PGP SIGNATURE-----



Bug reassigned from package `debmake' to `dpkg'. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, ack sent to submitter - they'd better know why ! Request was from Ben Collins <bcollins@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 19 00:05:08 2024; Machine Name: bembo

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.