Univention Bugzilla – Bug 32453
Nagios unjoin script
Last modified: 2022-06-27 17:49:00 CEST
An unjoin script for the nagios server component is missing.
Unjoin script has been added. svn 45160: univention-nagios (7.0.2-1)
please run the unjoin script if the package is removed (not purged) univention-nagios-server.postrm: if [ "$1" = "purge" ] ; then call_unjoinscript 28univention-nagios-server.uinst fi
28univention-nagios-server.uinst: "join_script_remove_script_from_status_file" has to be "joinscript_remove_script_from_status_file"
univention-nagios (7.0.3-2) unstable; urgency=low * call unjoin script when removing, not puring (Bug #32453) svn 45448
(In reply to Felix Botner from comment #3) > 28univention-nagios-server.uinst: > > "join_script_remove_script_from_status_file" has to be > "joinscript_remove_script_from_status_file"
(In reply to Felix Botner from comment #5) > (In reply to Felix Botner from comment #3) > > 28univention-nagios-server.uinst: > > > > "join_script_remove_script_from_status_file" has to be > > "joinscript_remove_script_from_status_file" Right, I've corrected this.
please add a nagios service to the host in the join script ucs_addServiceToLocalhost "NAGIOS" "$@" and remove the service in the unoin script ucs_removeServiceFromLocalhost "NAGIOS" "$@" || die and delete objects in the ldap (udm groups/group remove ...) only if the service in unused in the domain if ucs_isServiceUnused "$SERVICE" "$@" then ... udm remove ... fi
univention-nagios (7.0.5-1) unstable; urgency=low * append NAGIOS service to local host in join script * remove NAGIOS service from local host in unjoin script * only delte Nagios admins group when NAGIOS service is completly remove from domain (Bug #32453) svn 45560
please remove the unjoin script from /usr/lib/univention-install/ in the postinst, like if [ "$1" = "configure" ]; then uinst=/usr/lib/univention-install/04univention-samba4.uinst [ -e "$uinst" ] && rm "$uinst" fi
(In reply to Felix Botner from comment #9) > please remove the unjoin script from /usr/lib/univention-install/ in the > postinst, like > > if [ "$1" = "configure" ]; then > uinst=/usr/lib/univention-install/04univention-samba4.uinst > [ -e "$uinst" ] && rm "$uinst" > fi Adapted.
OK
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".