[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#898745: cups-daemon: cups.service spamming log and journal



tags 898745 upstream
thanks


On Tue 15 May 2018 at 17:31:58 +0200, Yves-Alexis Perez wrote:

> Package: cups-daemon
> Version: 2.2.7-3
> Severity: important
> 
> Hi,
> 
> cups.service seems to spam the syslog and journal with the following
> lines *every minute*:
> 
> May 10 19:06:30 scapa systemd[1]: cups.service: Service hold-off time over, scheduling restart.
> May 10 19:06:30 scapa systemd[1]: cups.service: Scheduled restart job, restart counter is at 428.
> May 10 19:06:30 scapa systemd[1]: Stopped CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Closed CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Stopping CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Listening on CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Stopped CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Stopping CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Started CUPS Scheduler.
> May 10 19:06:30 scapa systemd[1]: Started CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: cups.service: Service hold-off time over, scheduling restart.
> May 10 19:07:31 scapa systemd[1]: cups.service: Scheduled restart job, restart counter is at 429.
> May 10 19:07:31 scapa systemd[1]: Stopped CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Stopped CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Stopping CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Started CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Closed CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Stopping CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Listening on CUPS Scheduler.
> May 10 19:07:31 scapa systemd[1]: Started CUPS Scheduler.
> 
> The cups service seems to be running normally, although I'd prefer
> having it *not* running and only listening on the socket:
> 
> ● cups.service - CUPS Scheduler
>    Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
>    Active: active (running) since Tue 2018-05-15 17:30:40 CEST; 20s ago
>      Docs: man:cupsd(8)
>  Main PID: 15235 (cupsd)
>     Tasks: 1 (limit: 4915)
>    Memory: 2.3M
>    CGroup: /system.slice/cups.service
>            └─15235 /usr/sbin/cupsd -l
> 
> May 15 17:30:40 scapa systemd[1]: Started CUPS Scheduler.

Hello Yves-Alexis. Thank you for your report.

This is probably Issue #5297:

https://github.com/apple/cups/pull/5297

Try replacing "Restart=always" with "Restart=on-failure" in cups.service.

Regards,

Brian.


Reply to: