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

Bug#846256: failure on boot



Package: console-setup
Version: 1.154

On a Debian testing inside virt-manager, console-setup always fails on boot with the following error messages:

Unit console-screen.service could not be found.

● console-setup.service - Set console font and keymap
Loaded: loaded (/lib/systemd/system/console-setup.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2016-11-29 11:28:36 EET; 6h ago
 Main PID: 428 (code=exited, status=1/FAILURE)

ное 29 11:28:36 miranda systemd[1]: Starting Set console font and keymap...
ное 29 11:28:36 miranda console-setup.sh[428]: /bin/setupcon: 866: /bin/setupcon: cannot open /tmp/tmpkbd.xTd9cX: No such file ное 29 11:28:36 miranda systemd[1]: console-setup.service: Main process exited, code=exited, status=1/FAILURE ное 29 11:28:36 miranda systemd[1]: Failed to start Set console font and keymap. ное 29 11:28:36 miranda systemd[1]: console-setup.service: Unit entered failed state. ное 29 11:28:36 miranda systemd[1]: console-setup.service: Failed with result 'exit-code'.

Around line 866 is the following code that fails "gzip -9n <$TMPFILE":

if [ "$savekbdfile" ]; then
    case "$kernel" in
        linux)
tempfile || { echo setupcon: Can not create temporary file >&2; exit 1; }
            {
$installdir/bin/ckbcomp -backspace "$backspace" $acm_option \
                    $rules_option -model "$XKBMODEL" \
                    "$XKBLAYOUT" "$XKBVARIANT" "$XKBOPTIONS" >$TMPFILE \
                    && gzip -9n <$TMPFILE >"$savekbdfile"
            } || exit 1
            ;;
        freebsd)
            $installdir/bin/ckbcomp -freebsd -backspace "$backspace" \
                $acm_option $rules_option -model "$XKBMODEL" \
                "$XKBLAYOUT" "$XKBVARIANT" "$XKBOPTIONS" >"$savekbdfile" \
                || exit 1
            ;;
    esac
fi

I didn't try to investigate further.

Just starting the service later works but on boot it always fails.

Best regards,
Ognyan


Reply to: