[lightdm/f18] lightdm user home /var/lib/lightdm (instead of /var/log/lightdm)

Rex Dieter rdieter at fedoraproject.org
Tue Oct 8 20:31:09 UTC 2013


commit 43bd8f7baa6fb0d651945160d8c618d40d72e9dd
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Tue Oct 8 15:31:06 2013 -0500

    lightdm user home /var/lib/lightdm (instead of /var/log/lightdm)

 lightdm.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/lightdm.spec b/lightdm.spec
index c7655b0..ca01c5e 100644
--- a/lightdm.spec
+++ b/lightdm.spec
@@ -6,7 +6,7 @@
 Name:    lightdm
 Summary: Lightweight Display Manager
 Version: 1.4.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 
 # library/bindings are LGPLv3, the rest GPLv3+
 License: LGPLv3+ and GPLv3+
@@ -182,7 +182,7 @@ install -m644 -p -D %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/polkit-1/rules.d/light
 %pre
 getent group lightdm >/dev/null || groupadd -r lightdm
 getent passwd lightdm >/dev/null || \
-  /usr/sbin/useradd -g lightdm -M -d /var/log/lightdm -s /sbin/nologin -r lightdm > /dev/null 2>&1
+  /usr/sbin/useradd -g lightdm -M -d /var/lib/lightdm -s /sbin/nologin -r lightdm > /dev/null 2>&1
 ## ignore errors, as we can't disambiguate between lightdm already existed
 ## and couldn't create account with the current adduser.
 exit 0
@@ -255,6 +255,9 @@ exit 0
 
 
 %changelog
+* Tue Oct 08 2013 Rex Dieter <rdieter at fedoraproject.org> 1.4.5-2
+- lightdm user home /var/lib/lightdm (instead of /var/log/lightdm)
+
 * Mon Oct 07 2013 Rex Dieter <rdieter at fedoraproject.org> 1.4.5-1
 - lightdm-1.4.5
 


More information about the scm-commits mailing list