Bug#620491: [PATCH] setupcon always fails on boot - readonly /tmp
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 directory.
Thanks, I didn't know /lib/init/rw can be used.
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 file in /tmp.