Public bug reported:

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

** Affects: lintian (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1030195

Title:
  lintian reports errors in postinst because of upstart dh_installinit
  behavior

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/1030195/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to