Univention Bugzilla – Bug 44088
service cups start does not check/create printers
Last modified: 2017-04-04 18:29:02 CEST
The old init script checked /var/cache/univention-printserver for scripts and executed them. This has been used as a kind of failover for the cups listener if the cups server has been stopped. The listener then created script in var/cache/univention-printserver to e.g. create printer and the next time cups has been started, the printer was created. This is no longer supported in the new cups systemd service (but would be easy to add as ExecPost ...)
Added ExecStartPost=-/usr/lib/univention-printserver/univention-cups-init to /lib/systemd/system/cups.service (cups patch) Added /usr/lib/univention-printserver/univention-cups-init to univention-printserver (this script checks the /var/cache/univention-printserver dir)
Yes, it works again.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".