[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363066: marked as done (lintian: false positive duplicate-updaterc.d-calls-in-postinst)



Your message dated Mon, 17 Apr 2006 09:30:55 -0700
with message-id <87d5fgupts.fsf@windlord.stanford.edu>
and subject line Bug#363066: lintian: false positive duplicate-updaterc.d-calls-in-postinst
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lintian
Version: 1.23.16
Severity: normal

Lintian complains with this message:
E: bind9: duplicate-updaterc.d-calls-in-postinst bind9

So bind 9 is listed on this page:
http://lintian.debian.org/reports/Tduplicate-updaterc.d-calls-in-postinst.html

But, I see only one call to update-rc.d in bind9-9.3.2/debian/postinst.
http://ftp.debian.org/debian/pool/main/b/bind9/bind9_9.3.2-2.diff.gz



--- End Message ---
--- Begin Message ---
Bart Martens <bartm@knars.be> writes:

> Package: lintian
> Version: 1.23.16
> Severity: normal

> Lintian complains with this message:
> E: bind9: duplicate-updaterc.d-calls-in-postinst bind9

> So bind 9 is listed on this page:
> http://lintian.debian.org/reports/Tduplicate-updaterc.d-calls-in-postinst.html

> But, I see only one call to update-rc.d in bind9-9.3.2/debian/postinst.
> http://ftp.debian.org/debian/pool/main/b/bind9/bind9_9.3.2-2.diff.gz

This is an error in the binary package, not the source package.  If you
download the binary package with:

    aptitude download bind9

and extract the control files with:

    dpkg -e bind9_1%3a9.3.2-2_i386.deb bind9

you'll see in bind9/postinst that there are two invocations:

[...]
|     if [ -x /etc/init.d/bind9 ]; then
|         update-rc.d bind9 defaults 15 85 >/dev/null
|     fi
| 
| fi
| 
| 
| # Automatically added by dh_installinit
| if [ -x "/etc/init.d/bind9" ]; then
|         update-rc.d bind9 defaults 15 85 >/dev/null
|         if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
[...]

The second one was added, per the comment, by dh_installinit.  If you're
using dh_installinit, the postinst in the package should not also run
update-rc.d.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

--- End Message ---

Reply to: