Univention Bugzilla – Bug 36697
No connection to LDAP server causes image to be always mounted read-writeable
Last modified: 2023-06-28 10:33:38 CEST
This should be backported to UCC 1.0, but keep Bug #35363 in mind +++ This bug was initially created as a clone of Bug #31683 +++ The initramfs script ucc mounts the image RO or RW depending on several options. To get the correct setting it calls the script get_boot_mount_option.sh. This script checks the LDAP for a value, then the local ucr config, and returns 'RW' if nothing is configured otherwise. The script however is executed with 'bash -e'. When trying to determine the LDAP value (by calling univention-ucc-boot-option) and the LDAP server cannot be reached (Because it is down, or because the local network is down, ...), univention-ucc-boot-option exits with an error value, which causes the shellscript to terminate immediately. get_boot_mount_option.sh should not be started with bash -e.
As discussed, we don't plan to backport this to UCC 1.0