lintian reports errors in postrm because of upstart dh_installinit behavior

Bug #1030195 reported by Clint Byrum
60
This bug affects 14 people
Affects Status Importance Assigned to Milestone
lintian (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

dh_installinit adds an update-rc.d remove in postinst to make sure old init.d scripts converted to upstart jobs are disabled from starting.

Lintian wants update-rc.d in postinst to be matched by update-rc.d in postrm, but this is bogus because it is a *remove* in postinst, so no add is necessary in postrm.

$ lintian cinder-api_2012.2~f1~20120503.2-0ubuntu1_all.deb:
E: cinder-api: postrm-does-not-call-updaterc.d-for-init.d-script etc/init.d/cinder-api
$ lintian cinder-common_2012.2~f1~20120503.2-0ubuntu1_all.deb:
$ lintian cinder-scheduler_2012.2~f1~20120503.2-0ubuntu1_all.deb:
E: cinder-scheduler: postrm-does-not-call-updaterc.d-for-init.d-script etc/init.d/cinder-scheduler
$ lintian cinder-volume_2012.2~f1~20120503.2-0ubuntu1_all.deb:
E: cinder-volume: postrm-does-not-call-updaterc.d-for-init.d-script etc/init.d/cinder-volume

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============================-====================-====================-====================================================================
ii lintian 2.5.10 all Debian package checker

Changed in lintian (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lintian (Ubuntu):
status: New → Confirmed
James Page (james-page)
summary: - lintian reports errors in postinst because of upstart dh_installinit
+ lintian reports errors in postrm because of upstart dh_installinit
behavior
Revision history for this message
lamby (lamby) wrote :

Is this still reproducible in the latest lintian? :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.