Re: About upstart problem in live-initramfs-1.118-2 (Was: A problem in live-initramfs-1.110.7)

2008-03-06 Thread Steven Shiau
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

Re: About upstart problem in live-initramfs-1.118-2 (Was: A problem in live-initramfs-1.110.7)

2008-03-06 Thread Daniel Baumann
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

Re: About upstart problem in live-initramfs-1.118-2 (Was: A problem in live-initramfs-1.110.7)

2008-03-06 Thread Steven Shiau
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 [

Re: About upstart problem in live-initramfs-1.118-2 (Was: A problem in live-initramfs-1.110.7)

2008-03-06 Thread Daniel Baumann
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