cupsys-driver-gimpprint attempts /etc/init.d/cupsys reload

Bug #8783 reported by Daniel Robitaille
4
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

At least one package in universe (cupsys-driver-gimpprint) needs
/etc/init.d/cupsys to accept the option "reload". Currently only "restart" and
"force-reload" are acceptable options.

For the package cupsys-driver-gimpprint, both dpkg's postinst and postrm scripts
try to use the option reload with cupsys
(/etc/init.d/cupsys reload). This actually can prevent cupsys-driver-gimpprint
from being properly installed or properly removed.

Revision history for this message
Matt Zimmerman (mdz) wrote :

This is a bug in cupsys-driver-gimpprint, which should use "force-reload" rather
than "reload". This is a universe package, but since the bug was triggered by a
change we made to cupsys, and the fix is completely trivial, it deserves to be
fixed anyway.

Revision history for this message
Martin Pitt (pitti) wrote :

Created an attachment (id=324)
interdiff to solve this bug

Revision history for this message
Matt Zimmerman (mdz) wrote :

Approved for upload

Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in:
 gimp-print (4.2.6-5ubuntu1) warty; urgency=low
 .
   * debian/cupsys-driver-gimpprint.postinst: restart cups with 'force-reload'
     instead of 'reload' since the latter is not accepted any more (Warty bug
     #8783)

Argh, I just saw that I forgot to document that the postrm also uses
force-reload. Well, not such a big deal, I think.

I also submitted a Debian bug report about this (#274820).

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.