0

Shutdown is taking about 6-7 minutes. Especially: A stop job is running for ccpd.service 5 min 6s what should I do?

5

2 Answers 2

1

ccpd = Canon Printer Daemon for CUPS

On a system with Linux MINT 18 (based on Ubuntu 16.4 LTS) and a Canon LBP7210C network printer, I did this for a faster timeout to take precedence.

Edit the override.conf file

$ sudo systemctl edit ccpd.service

and enter

[Service]
TimeoutStopSec=10

to set the timeout to 10 seconds. Save and exit.
This change will prevail between each shutdown.

To check the modified timeout value, run

$ systemctl show ccpd.service -p TimeoutStopUSec
TimeoutStopUSec=10s

The same method was used in this post https://askubuntu.com/a/810237 for a different service.

Note: Each service has a timeout and its there for a reason. Changing the timeout for a network printer seems OK. For other services (eg: disk drives) the effect of changing a preset value must be carefully considered.

0

Seems like an old bug as reported here: (a stop job is running for login service)

There are lots of solutions discussed but this worked for the OP:

systemctl isolate multi-users.target

reboot

Edit - Just read the commented link posted under question here. It appears more accurate and if so comment below this answer so I can delete it. Thank you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .