No more autologin in live CD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: casper
Similarly to bug #500786, the custom.conf file is messed up again without \n interpretation:
[daemon]
AutomaticLoginE
The issue is in 15autologin:
printf '[daemon]\n%s' "$AutologinPara
changed in 1.212:
* 15autologin: Use printf rather than echo -e, since its behaviour is
portable across shells.
The first \n is interpreted contrary to those in $AutologinParam
---------------
casper (1.213) UNRELEASED; urgency=low
* 15autologin: revert to echo -e as printf doesn't interpret \n in
'%s' string.
Changed in casper (Ubuntu): | |
status: | New → Triaged |
From IRC:
Sorry about the breakage. However, I *really* don't like using echo -e; it has a habit of producing weird side-effects later when things are run under a shell you didn't expect. How about this trick to ensure that the same syntax is acceptable in either case?
sed -i "\$s/\$ /\n$AutologinPa rameters/ " >> $GDMCustomFile