management/univention-join/debian/univention-join.postinst if [ "$1" = configure -a -n "$2" ] && dpkg --compare-versions "$2" lt 0.7; then res=`find /etc/univention/ssl/ -group root` if [ -n "$res" ]; then find /etc/univention/ssl/ -group root | xargs chown root."DC Backup Hosts" >/dev/null 2>&1 fi fi if [ "$1" = configure -a -n "$2" ] && dpkg --compare-versions "$2" lt 2.0.19-1; then if [ -e "/etc/ldap-backup.secret" ]; then chmod 640 /etc/ldap-backup.secret chgrp "DC Backup Hosts" /etc/ldap-backup.secret || true fi fi if [ "$1" = "configure" -a -n "$2" ] && dpkg --compare-versions "$2" lt 4.0.4-1; then for secret_file in "/etc/ldap.secret" "/etc/ldap-backup.secret" "/etc/machine.secret" "/etc/backup-join.secret" "/etc/slave-join.secret"; do ## remove EOL if test -e "$secret_file"; then tmp_ldap_secret_file="${secret_file}.dpkg-tmp" cp -a "$secret_file" "$tmp_ldap_secret_file" echo -n "$(cat "$secret_file")" > "$tmp_ldap_secret_file" && mv "$tmp_ldap_secret_file" "$secret_file" fi done fi
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
That code is still there. But there also is lots of other code in our Debian maintainer scipts now, which should be removed.
374d472f5752fae9d9e250999b6981ccc87f87ab
OK: removal of dead code OK: changelog entry
UCS 5.0-3 has been released. https://docs.software-univention.de/release-notes/5.0-3/en/ If this error occurs again, please clone this bug.