]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
* debian/lightdm.postrm:
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 26 Aug 2015 08:42:02 +0000 (09:42 +0100)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 26 Aug 2015 08:42:02 +0000 (09:42 +0100)
  - Don't remove the lightdm user/group on package removal. This fails if the
    user is still in use and leaves the risk of another user being created
    with the same UID. (LP: #924224)

debian/changelog
debian/lightdm.postrm

index 88c07186982dec9396bbc96309f0ea1ac60ef54a..6c302bdda3ea632135ebb834a47e51b19ef292fa 100644 (file)
@@ -1,3 +1,12 @@
+lightdm (1.15.3-0ubuntu3) wily; urgency=medium
+
+  * debian/lightdm.postrm:
+    - Don't remove the lightdm user/group on package removal. This fails if the
+      user is still in use and leaves the risk of another user being created
+      with the same UID. (LP: #924224)
+
+ -- Robert Ancell <robert.ancell@canonical.com>  Wed, 26 Aug 2015 09:35:56 +0100
+
 lightdm (1.15.3-0ubuntu2) wily; urgency=medium
 
   * debian/lightdm.lightdm-greeter.pam:
index d640376bdc06e9dc91cbe1d8ba74865fcc377efe..b3eca03b602942000e7b0eea599677a98cdd2055 100644 (file)
@@ -23,21 +23,6 @@ if [ "$1" = "purge" ] ; then
                 rm -r /var/run/lightdm/authority
         fi
 
-        if getent passwd lightdm >/dev/null; then
-                if [ -x /usr/sbin/deluser ]; then
-                        deluser --system lightdm
-                fi
-        fi
-
-        if getent group lightdm >/dev/null; then
-                if [ -x /usr/sbin/delgroup ]; then
-                        delgroup --system lightdm
-                fi
-        fi
-
-        # we cannot use the --remove-home option when we delete the user above
-        # because it will refuse to remove things in /var, so clean it up this
-        # way
         if [ -d /var/lib/lightdm ]; then
                 rm -r /var/lib/lightdm
         fi