cupsys: error in logrotate

Bug #26404 reported by Rui Matos
6
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

I'm getting this error on logrotate since last update to cupsys on dapper:

/etc/cron.daily/logrotate:
error: error running shared postrotate script for /var/log/cups/*log
run-parts: /etc/cron.daily/logrotate exited with return code 1

Revision history for this message
Alan Tam (at) wrote :

I can confirm this bug.

sltam@beech:~$ sudo invoke-rc.d cupsys restart
 * Restarting Common Unix Printing System: cupsd
invoke-rc.d: initscript cupsys, action "restart" failed.
sltam@beech:~$ echo $?
1
sltam@beech:~$

This is probably because start-stop daemon --stop failed to really kill cupsd,
hence start-stop-daemon --start has nothing to do, finally returning 1.

I see no reason restart does not simply call stop and then start.

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

This should have been fixed in

cupsys (1.1.99.b1.r4841-1ubuntu8) dapper; urgency=low

  * debian/cupsys.init.d: Remove the hideous killing hacks and just invoke
    start-stop-daemon with the correct arguments.

 -- Martin Pitt <email address hidden> Wed, 11 Jan 2006 19:23:47 +0100

Please complain if you still have this problem with the current dapper packages.

Changed in cupsys:
assignee: debzilla → pitti
status: Unconfirmed → Fix Released
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.