Ubuntu Pastebin

Paste from debug at Wed, 23 Sep 2015 08:15:37 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -Nru user-setup-1.48ubuntu6/debian/changelog user-setup-1.48ubuntu7/debian/changelog
--- user-setup-1.48ubuntu6/debian/changelog	2015-08-18 07:01:46.000000000 +0200
+++ user-setup-1.48ubuntu7/debian/changelog	2015-09-23 10:14:40.000000000 +0200
@@ -1,3 +1,10 @@
+user-setup (1.48ubuntu7) wily; urgency=medium
+
+  * user-setup-apply: use correct syntax escaping, fix the lightdm
+    configuration to enable autologin on new installations (lp: #1498544)
+
+ -- Sebastien Bacher <seb128@ubuntu.com>  Wed, 23 Sep 2015 10:09:41 +0200
+
 user-setup (1.48ubuntu6) wily; urgency=medium
 
   * Update autologin LightDM confgiguration to used [Seat:*] sections instead of
diff -Nru user-setup-1.48ubuntu6/user-setup-apply user-setup-1.48ubuntu7/user-setup-apply
--- user-setup-1.48ubuntu6/user-setup-apply	2015-08-18 06:59:44.000000000 +0200
+++ user-setup-1.48ubuntu7/user-setup-apply	2015-09-23 10:09:37.000000000 +0200
@@ -331,10 +331,10 @@
 autologin-user=$USER\n\
 autologin-user-timeout=0"
 				if ! grep -qs '^autologin-user' $LightDMCustomFile; then
-					if ! grep -qs '^\[Seat:*\]' $LightDMCustomFile; then
+					if ! grep -qs '^\[Seat:\*\]' $LightDMCustomFile; then
 						echo '[Seat:*]' >> $LightDMCustomFile
 					fi
-					sed -i "s/\[Seat:*\]/\[Seat:*\]\n$AutologinParameters/" $LightDMCustomFile
+					sed -i "s/\[Seat:\*\]/\[Seat:\*\]\n$AutologinParameters/" $LightDMCustomFile
 				#oem config scenario
 				else
 					sed -i "s/^\(\(str  *\)\?autologin-user\)=.*$/\1=$USER/g;" $ROOT/etc/lightdm/lightdm.conf
Download as text