Daniel,
This bug still exists in live-initramfs-1.118.2.
The substitution in /scripts/live-bottom/25configure_init will cause
created ubuntu live won't be able to login automatically in the console.
In a normal upstart, /dev/event.d/tty1 is like:
---
...
respawn
exec /sbin/getty 38400
Steven Shiau wrote:
Therefore the substitution for respawn in 25configure_init in
live-initramfs-1.118-2 is:
sed -i -e s|^respawn.*|respawn /bin/login -f ${USERNAME}
/dev/$(basename ${f}) /dev/$(basename ${f}) 2\1| ${f}
It should be modified as:
sed -i -e s|^exec.*|exec /bin/login -f
Daniel,
Please forgive my ignorance. I thought /etc/event.d/tty* is only for
upstart ? Since I can not find any /etc/event.d/tty* in my lenny box.
If it's only for upstart, both debian and ubuntu should use the same
files, right ? Therefore in 25configure_init,
-
if [
Steven Shiau wrote:
if [ /root/etc/event.d/tty* != $(echo /root/etc/event.d/tty*) ]
then
for f in /root/etc/event.d/tty*
do
sed -i -e s|^exec.*|exec
/bin/login -f
4 matches
Mail list logo