[Bug 1030195] [NEW] lintian reports errors in postinst because of upstart dh_installinit behavior

Clint Byrum clint at fewbar.com
Sat Jul 28 01:05:16 UTC 2012


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
Foundations Bugs, which is subscribed to lintian in Ubuntu.
https://bugs.launchpad.net/bugs/1030195

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

Status in “lintian” package in Ubuntu:
  New

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

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




More information about the foundations-bugs mailing list