Univention Bugzilla – Bug 24090
/etc/localtime sollte kein Symlink sein
Last modified: 2017-07-26 14:59:35 CEST
/etc/localtime sollte kein Symlink sein, der auf /usr/share/zoneinfo/... verweist, da dies ggf. auf einer anderen Partition liegt, die zum Boot-Zeitpunkt noch nicht verfügbar ist. Siehe auch <http://www.redhat.com/archives/rhl-devel-list/2006-April/msg00017.html> Statt dessen sollte die Datei kopiert werden. In /etc/timezone steht der Name, so daß nach einem Update von "tzdata" ggf. aktualisierte TZ-Daten erneut nach /etc/localtime kopiert werden kann. Vgl. "dpkg-reconfigure tzdata" bzw. /var/lib/dpkg/info/tzdata.postinst $ gfind -n /etc/localtime ./univention-installer/scripts/28_postconfigure_config_registry.sh:274:ln -sf /usr/share/zoneinfo/$timezone /etc/localtime ./univention-system-setup/usr/lib/univention-system-setup/scripts/timezone/10timezone:54:ln -sf /usr/share/zoneinfo/$timezone /etc/localtime ./univention-debootstrap/usr/share/debootstrap-ucs3/scripts/ucs3:109: if [ ! -e "$TARGET/etc/localtime" ]; then ./univention-debootstrap/usr/share/debootstrap-ucs3/scripts/ucs3:110: ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime"
This issue has been filed against UCS 2.4. UCS 2.4 is out of maintenance and many UCS components have vastly 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". In this case please provide detailed information on how this issue is affecting you.
r77496 | Bug #24090 USS: Fix /etc/localtime Package: univention-system-setup Version: 10.0.7-23A~4.2.0.201703091004 Branch: ucs_4.2-0 QA: [ -L /etc/localtime ] && fail
(In reply to Philipp Hahn from comment #2) > r77496 | Bug #24090 USS: Fix /etc/localtime OK > QA: [ -L /etc/localtime ] && fail OK
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".