Bug 17746 - Thin Client Anmeldung schlägt fehl - UCS 2.3-1
Thin Client Anmeldung schlägt fehl - UCS 2.3-1
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: ZZZ - Trash - Thin Client
UCS 2.3
Other Linux
: P5 critical (vote)
: UCS 2.3-2
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on:
Blocks: 17751 17813
  Show dependency treegraph
 
Reported: 2010-02-24 11:35 CET by Stefan Gohmann
Modified: 2010-05-18 10:00 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2010-02-24 11:35:50 CET
Seit dem Update in unserer Umgebung gibt es ein Problem mit der Thin Client Anmeldung. Ticket #2010022410000566

Problem ist, dass der Befehl
 # prepare to run gdm
 univention-config-registry commit \
         /etc/default/gdm \
         /etc/gdm/Init/Default \
         /etc/pam.d/gdm \
         /etc/pam.d/gdm-autologin  >>/dev/tty8 2>&1
aus dem thin-client-x-base-Init-Skript fehlschlägt. Dadurch fehlt die PAM-Konfiguration.

Ursache könnten die UCS 2.3-1-UCR-Änderungen sein.
Comment 1 Stefan Gohmann univentionstaff 2010-02-24 12:21:50 CET
Ich kann das bei einem Standard Update reproduzieren.
Comment 2 Stefan Gohmann univentionstaff 2010-02-24 14:03:31 CET
Auslöser scheint zu sein, dass /etc/pam.d/gdm-autologin kein Link in die Ramdisk ist, allerdings gdm-autologin.debian:

root@tcmaster:~# ls -la /var/lib/univention-client-root/etc/pam.d/gdm-autologin*
-rw-r--r-- 1 root root 764 24. Feb 13:18 /var/lib/univention-client-root/etc/pam.d/gdm-autologin
lrwxrwxrwx 1 root root  32 24. Feb 11:18 /var/lib/univention-client-root/etc/pam.d/gdm-autologin.debian -> /ramdisk/etc/pam.d/gdm-autologin

Innerhalb des Boot-Vorgangs wird dann versucht per ucr commit die Datei /etc/pam.d/gdm-autologin zu schreiben. Das funktioniert nicht, weil / per NFS Readonly eingebunden wurde.
Comment 3 Stefan Gohmann univentionstaff 2010-02-24 14:05:52 CET
Durch einen Rebuild von univention-thin-client-x-base wurde das Problem behoben.
Comment 4 Stefan Gohmann univentionstaff 2010-02-24 14:13:14 CET
Da das Problem durch ein univention-thin-client-apt dist-upgrade im postinst hervorgerufen wird, betrifft dies vermutlich nur i386-Systeme.
Comment 5 Arvid Requate univentionstaff 2010-02-24 17:19:05 CET
Die update DVDs sind neu gebaut, zwei zusätzliche Pakete sich jetzt dabei:

+/cdrom/ucs-updates/2.3-1/univention-thin-client-x-base_4.0.7-1.93.201002241444_all.deb
+/cdrom/ucs-updates/2.3-1/univention-thin-client-x-base-config_4.0.7-1.93.201002241444_all.deb
Comment 6 Stefan Gohmann univentionstaff 2010-04-23 10:31:18 CEST
fixed, das Paket wurde für UCS 2.3-2 nochmal neu gebaut.
Comment 7 Felix Botner univentionstaff 2010-05-07 09:45:02 CEST
Auf i386 und amd64 sind vor und nach dem Update auf 2.3-2 die Links vorhanden.

ls -la //var/lib/univention-client-root/etc/pam.d/gdm*
lrwxrwxrwx 1 root root  22  8. Feb 12:01 //var/lib/univention-client-root/etc/pam.d/gdm -> /ramdisk/etc/pam.d/gdm
lrwxrwxrwx 1 root root  32  8. Feb 12:01 //var/lib/univention-client-root/etc/pam.d/gdm-autologin -> /ramdisk/etc/pam.d/gdm-autologin
lrwxrwxrwx 1 root root  32 16. Dez 08:50 //var/lib/univention-client-root/etc/pam.d/gdm-autologin.debian -> /ramdisk/etc/pam.d/gdm-autologin
lrwxrwxrwx 1 root root  22 16. Dez 08:50 //var/lib/univention-client-root/etc/pam.d/gdm.debian -> /ramdisk/etc/pam.d/gdm
-rw-r--r-- 1 root root 400  1. Dez 16:04 //var/lib/univention-client-root/etc/pam.d/gdm.debian.dpkg-new

Anmeldung klappt auch.
Comment 8 Stefan Gohmann univentionstaff 2010-05-18 10:00:17 CEST
UCS 2.3-2 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden:
"Clone This Bug".