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

Bug#620491: [PATCH] setupcon always fails on boot - readonly /tmp



2011/4/2 Anton Zinoviev <anton@lml.bas.bg>:
>> This is related to init.d/keyboard-setup, and the "Setting preliminary
>> keymap ... failed" message is displayed on every boot.
>
> Yes.  The script /etc/init.d/console-setup will compile a keyboard
> layout in /etc/console-setup/cached-*.kmap.gz.  The next time the
> machine reboots, /etc/init.d/keyboard-setup will find the precompiled
> layout and there will be no need to create a temporary file.
>
> Anton Zinoviev
>
>

Ah, now i see the cause: on my machine, both [ "$cached" -ot
"$CONFIG2" ] and [ "$CONFIG2" -ot "$cached" ] are false since both
files were modified the same time during an update. One of the -ot
comparisons should be reversed and negated instead.

-- 
Jindrich Makovicka



Reply to: