Bug 32119 - /etc/pam.d/lightdm gone after updating univention-lightdm 1.0.15-3)
/etc/pam.d/lightdm gone after updating univention-lightdm 1.0.15-3)
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: User logins
unspecified
Other Linux
: P5 normal
: UCC 1.0-errata
Assigned To: Felix Botner
Sönke Schwardt-Krummrich
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-29 17:33 CEST by Felix Botner
Modified: 2013-07-30 10:57 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 Felix Botner univentionstaff 2013-07-29 17:33:32 CEST
univention-lightdm (1.0.15-3) wird eingerichtet ...
Neue Version der Konfigurationsdatei /etc/univention/templates/info/univention-lightdm.info wird installiert ...
File: /etc/lightdm/lightdm.conf
File: /etc/X11/default-display-manager
File: /etc/lightdm/lightdm-gtk-greeter.conf
Multifile: /etc/pam.d/lightdm
+ mkdir -p /var/univention-lightdm/xsessions
+ dpkg-divert --add --rename --divert /var/univention-lightdm/xsessions/openbox.desktop /usr/share/xsessions/openbox.desktop
»Umleitung von /usr/share/xsessions/openbox.desktop zu /var/univention-lightdm/xsessions/openbox.desktop durch univention-lightdm« wird beibehalten
+ dpkg-divert --add --rename --divert /var/univention-lightdm/xsessions/openbox-gnome.desktop /usr/share/xsessions/openbox-gnome.desktop
»Umleitung von /usr/share/xsessions/openbox-gnome.desktop zu /var/univention-lightdm/xsessions/openbox-gnome.desktop durch univention-lightdm« wird beibehalten
+ dpkg-divert --add --rename --divert /var/univention-lightdm/xsessions/openbox-kde.desktop /usr/share/xsessions/openbox-kde.desktop
»Umleitung von /usr/share/xsessions/openbox-kde.desktop zu /var/univention-lightdm/xsessions/openbox-kde.desktop durch univention-lightdm« wird beibehalten
+ dpkg-divert --add --rename --divert /var/univention-lightdm/xsessions/kde-plasma.desktop /usr/share/xsessions/kde-plasma.desktop
»Umleitung von /usr/share/xsessions/kde-plasma.desktop zu /var/univention-lightdm/xsessions/kde-plasma.desktop durch univention-lightdm« wird beibehalten
+ [ ! -L /etc/lightdm/display-setup/010_univention-ucc-setup-multimonitor ]
+ [ configure = configure ]
+ dpkg --compare-versions 1.0.14-2.61.201304021727 lt-nl 1.0.15
+ remove_ucr_template /etc/pam.d/lightdm
+ [ ! -d /etc/univention/templates/removed/ ]
+ wc -l
+ dpkg-divert --list /etc/pam.d/lightdm
+ [ 1 != 0 ]
+ dpkg-divert --remove /etc/pam.d/lightdm
dpkg-divert: Fehler: Keine Übereinstimmung mit Paket
  beim Entfernen von »Umleitung von /etc/pam.d/lightdm durch univention-lightdm«
  »Umleitung von /etc/pam.d/lightdm zu /etc/pam.d/lightdm.debian durch univention-config« gefunden
+ [ -e /etc/pam.d/lightdm ]
+ mv /etc/pam.d/lightdm /etc/univention/templates/removed/
+ [ -e /etc/univention/templates/files//etc/pam.d/lightdm ]
+ basename /etc/pam.d/lightdm
+ date +%Y%m%d_%H%M%S_%N
+ mv /etc/univention/templates/files//etc/pam.d/lightdm /etc/univention/templates/removed/lightdm.template.20130729_171437_834450571
+ univention-config-registry set lightdm/xserver/allowtcp?false
Not updating lightdm/xserver/allowtcp
+ more /etc/pam.d/lightdm
/etc/pam.d/lightdm: Datei oder Verzeichnis nicht gefunden
+ exit 0
Comment 1 Felix Botner univentionstaff 2013-07-29 17:46:35 CEST
removed "remove_ucr_template /etc/pam.d/lightdm" from postinst, instead added "mv /etc/univention/templates/files/etc/pam.d/lightdm /etc/univention/templates/removed/" and "ucr commit /etc/pam.d/lightdm" for this update.

univention-lightdm: 1.0.17.69.201307291737 (ucc-errata)
YAML: 2013-07-29-univention-lightdm.yaml
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-07-30 10:33:25 CEST
(In reply to Felix Botner from comment #1)
> removed "remove_ucr_template /etc/pam.d/lightdm" from postinst, instead
> added "mv /etc/univention/templates/files/etc/pam.d/lightdm
> /etc/univention/templates/removed/" and "ucr commit /etc/pam.d/lightdm" for
> this update.

OK: old template for /etc/pam.d/lightdm is moved to 
    /etc/univention/templates/removed
OK: update 1.0.14 → 1.0.17
OK: update 1.0.15 → 1.0.17
 
> univention-lightdm: 1.0.17.69.201307291737 (ucc-errata)
OK: package is installable and build

> YAML: 2013-07-29-univention-lightdm.yaml
OK: YAML is ok
Comment 3 Moritz Muehlenhoff univentionstaff 2013-07-30 10:57:48 CEST
http://errata.univention.de/ucc/1.0/24.html