Univention Bugzilla – Bug 52123
Remove univention-check-printers
Last modified: 2021-05-25 15:59:55 CEST
Checking the liveness of USB printers are not supported anymore out-of-the-box with UCS-5.
Bug #52123: Remove univention-check-printers
Shouldn't we remove the cronjob file /etc/cron.d/univention-check-printers? OK: removal git:0d92367518882a0c14ed9c2662c7bf5b4a825dcf OK: changelog I added the package to check.sh:update_check_old_packages in git:0d9236751888
The packages were still part of the repositories: Removing: /var/univention/buildsystem2/apt/ucs_5.0-0/all/univention-check-printers_13.0.0-1A~5.0.0.202006052156_all.deb Removing: /var/univention/buildsystem2/apt/ucs_5.0-0/source/univention-check-printers_13.0.0-1A~5.0.0.202006052156.tar.gz Removing: /var/univention/buildsystem2/apt/ucs_5.0-0/source/univention-check-printers_13.0.0-1A~5.0.0.202006052156.dsc
(In reply to Florian Best from comment #2) > Shouldn't we remove the cronjob file /etc/cron.d/univention-check-printers? This happens on "apt purge" only.
(In reply to Philipp Hahn from comment #4) > (In reply to Florian Best from comment #2) > > Shouldn't we remove the cronjob file /etc/cron.d/univention-check-printers? > > This happens on "apt purge" only. Then we should purge the package in the preup.sh.
(In reply to Florian Best from comment #5) > Then we should purge the package in the preup.sh. This is the Admins decision, not yours!
(In reply to Philipp Hahn from comment #6) > (In reply to Florian Best from comment #5) > > Then we should purge the package in the preup.sh. > > This is the Admins decision, not yours! My intention here is: I want to prevent that our support team gets tickets about admins being spammed with emails from cron that say /usr/sbin/univention-check-printers doesn't exists. Well, looking into the cronjob tells me there is a check for existence of the binary: `@%@cups/checkprinters/cron@%@ root if [ -x /usr/sbin/univention-check-printers ]; then /usr/sbin/univention-check-printers; fi` How will admins get informed about the packages being removed and that they should purge it? Should we at least add the information to the changelog for every removed package?
OK: removal OK: changelog entry OK: package removed automatically during upgrade via Conflicts entry: rc univention-check-printers 11.0.0-1A~4.3.0.201712120023 all UCS - USB printer monitoring OK: leftover cronjob doesn't break anything
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".