Univention Bugzilla – Bug 51618
Add service restart option after policy based update
Last modified: 2020-09-09 13:42:02 CEST
Usually when updates are performed based on a policy schedule no services are restarted. But this can cause issues i.e. for samba when trying to load modules at a later stage: =================================== ldb: module version mismatch in ../../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.5.7 module_version=1.5.8 ldb: failed to initialise module /usr/lib/x86_64-linux-gnu/samba/ldb/acl.so : Unavailable =================================== which causes a loss on Samba functionality and needs a manual restart of Samba. I would suggest so add an option to the update policies to optionally restart affected services (as most of the time updates are scheduled for night time).
Where did you see that error / in which context? The affected debian package should definitely restart services in the postinst if required. (In reply to Christian Völker from comment #0) > Usually when updates are performed based on a policy schedule no services > are restarted. I am not completely sure what you mean - if packages are updated, the postinst will be run, and services get restarted. There is nothing in UCS policies that prevents this