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 --- set

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 d

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

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

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 : > > > > 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 temporary f

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

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

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 : > 2011/4/2 Anton Zinoviev : >>> 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/ca