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

Bug#269077: serial check

On Wed, Sep 01, 2004 at 01:36:24AM +0200, Wouter Verhelst wrote:
> [...serial check thinks real consoles are serial as well...]
> Hm. I just referenced the code which was already in rootskel, supposing
> it was working OK, but that doesn't seem to be the case. Checking on my
> VME box, however, the /proc/self/fd/* files also link to /dev/console,
> so there is no way this problem could be fixed by slightly modifying the
> check.

The difference is that the original code was called by debian-installer 
and the new code is called in sbin/init, which has a different

Can the following sbin/init code be moved to 

        if [ $TERM_TYPE = "serial" ]; then
                for i in 2 3 4 5; do
                        rm -f /dev/vc/$i

This seems to solve the detection problem for me.

Do you really need to delete the extra vc devices?

Stephen R. Marenka     If life's not fun, you're not doing it right!

Attachment: signature.asc
Description: Digital signature

Reply to: