Package: lightdm Version: 1.10.2-2 Severity: normal Tags: patch Dear Maintainer,
prevent the warnings in systemd log - maybe it change no functionality, but no warning means no need to argue about this warning - the LP bug should be analyzed and solved. Greetz Alf -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16-3.towo-siduction-amd64 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lightdm depends on: ii adduser 3.113+nmu3 ii dbus 1.8.8-1+b1 ii debconf [debconf-2.0] 1.5.53 ii libc6 2.19-11 ii libgcrypt20 1.6.2-4 ii libglib2.0-0 2.42.0-2 ii libpam-systemd 215-5+b1 ii libpam0g 1.1.8-3.1 ii libxcb1 1.10-3 ii libxdmcp6 1:1.1.1-1 ii lightdm-gtk-greeter [lightdm-greeter] 1.8.5-1 Versions of packages lightdm recommends: ii xserver-xorg 1:7.7+7 Versions of packages lightdm suggests: ii accountsservice 0.6.37-3+b1 ii upower 0.99.1-3 -- Configuration Files: /etc/init.d/lightdm changed [not included] /etc/lightdm/lightdm.conf changed [not included] -- debconf information excluded
diff --git a/debian/changelog b/debian/changelog index bd49e4c..fa3a245 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lightdm (1.10.2-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * prevent the warnings from LP: 1370688 + + -- Alf Gaida <aga...@siduction.org> Sun, 05 Oct 2014 02:44:27 +0200 + lightdm (1.10.2-2) unstable; urgency=medium * debian/patches: diff --git a/debian/lightdm.postinst b/debian/lightdm.postinst index 68f666d..619a945 100644 --- a/debian/lightdm.postinst +++ b/debian/lightdm.postinst @@ -25,6 +25,11 @@ mkdir -p /var/lib/lightdm chown -R lightdm:lightdm /var/lib/lightdm chmod 0750 /var/lib/lightdm +# LP 1370688 - fails to create lightdm-data folder +mkdir -p /var/lib/lightdm-data +chown -R lightdm:lightdm /var/lib/lightdm-data +chmod 0750 /var/lib/lightdm-data + # debconf is not a registry, so we only fiddle with the default file if it # does not exist if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ]; then diff --git a/debian/lightdm.postrm b/debian/lightdm.postrm index 447decc..34c1ebb 100644 --- a/debian/lightdm.postrm +++ b/debian/lightdm.postrm @@ -15,6 +15,12 @@ if [ "$1" = "purge" ] ; then if [ -d /var/lib/lightdm ]; then rm -r /var/lib/lightdm fi + + # LP 1370688 - fails to create lightdm-data folder + if [ -d /var/lib/lightdm ]; then + rm -r /var/lib/lightdm + fi + if [ -d /var/log/lightdm ]; then rm -r /var/log/lightdm fi