[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

About upstart problem in live-initramfs-1.128-1 (Was: About upstart problem in live-initramfs-1.118-2)

> 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 ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename
>> ${f})
>> 2>\&1|" ${f}
>>                                 done
>>                         fi
>>                 fi
> something's fishy in that 25configure_init anyway.. let me check..
> -- 
> Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:          daniel.baumann at panthera-systems.net
> Internet:       http://people.panthera-systems.net/~daniel-baumann/

I checked live-initramfs 1.128.1 in sid, looks like this problem is not fixed. 
When you merge casper 1.129 or later, could you please check casper/scripts/casper-bottom/25configure_init, you will see it's "exec", not "spawn" for the upstart programs (/root/etc/event.d/tty*), like:
if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ];
      for f in /root/etc/event.d/tty*; do
        sed -i -e "s|^exec.*|exec /bin/login -f $USERNAME </dev/$(basename $f) > /dev/$(basename $f) 2>\&1|" $f

As I mentioned in the previous mail, /root/etc/event.d/tty* are only for upstart, and if you modify this, i.e. replace "spawn" with "exe", IMHO, it won't affect Debian, and it will work for Ubuntu.  Will you think about to modify this ?
Thanks in advance.

Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A

Reply to: