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

2011-04-03 Thread Jindřich Makovička
2011/4/2 Jindřich Makovička makov...@gmail.com: 2011/4/2 Anton Zinoviev an...@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

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

2011-04-02 Thread Jindřich Makovička
Package: console-setup Version: 1.72 Currently, setupcon always fails during early booting, because it tries to create a temporary file in /tmp, which is still read-only. The attached patch modifies it so it tries both /tmp and /lib/init/rw as a temporary directory. -- Jindrich Makovicka ---

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

2011-04-02 Thread Anton Zinoviev
On Sat, Apr 02, 2011 at 11:57:06AM +0200, Jindřich Makovička wrote: Currently, setupcon always fails during early booting, because it tries to create a temporary file in /tmp, which is still read-only. The attached patch modifies it so it tries both /tmp and /lib/init/rw as a temporary

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

2011-04-02 Thread Jindřich Makovička
2011/4/2 Anton Zinoviev an...@lml.bas.bg: On Sat, Apr 02, 2011 at 11:57:06AM +0200, Jindřich Makovička wrote: Currently, setupcon always fails during early booting, because it tries to create a temporary file in /tmp, which is still read-only. The attached patch modifies it so it tries both

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

2011-04-02 Thread Anton Zinoviev
On Sat, Apr 02, 2011 at 06:41:57PM +0200, Jindřich Makovička wrote: 2011/4/2 Anton Zinoviev an...@lml.bas.bg: I think usually setupcon will not fail because in /etc/init.d/console-setup it is used with --save option.  The next time the machine reboots there will be no need to create a

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

2011-04-02 Thread Jindřich Makovička
2011/4/2 Anton Zinoviev an...@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