[Pkg-kbd-devel] Bug#750631: [bug #750631] kbd does not set settings

Benjamin Drung benjamin.drung at profitbricks.com
Fri Aug 22 13:09:29 UTC 2014


Hi,

I also stumbled over this bug when testing Jessie Beta 1 (which uses
systemd). Extending /etc/init.d/kbd with debug information showed that
following part of the setup function causes it to exit:

    if [ ! $CONSOLE_TYPE = "serial" ]; then
        readlink /proc/self/fd/0 | grep -q -e /dev/vc -e '/dev/tty[^p]' -e /dev/console
        if [ $? -eq 0 ]; then
            VT="yes"
        fi
    fi
    [ $VT = "no" ] && return

$(readlink /proc/self/fd/0) returns "/dev/null". Therefore VT stays at
"no" and the kbd init script exits before setting anything.

How should it be fixed?

-- 
Benjamin Drung
System Developer

ProfitBricks GmbH - The IaaS-Company
Greifswalder Str. 207
D - 10405 Berlin

Mail: benjamin.drung at profitbricks.com
Fax:  +49 30 577 008 598
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
Geschäftsführer: Andreas Gauger, Achim Weiss.



More information about the Pkg-kbd-devel mailing list