Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438964 - sys-apps/openrc-0.10.5 writes to /lib64/rc/console/
Summary: sys-apps/openrc-0.10.5 writes to /lib64/rc/console/
Status: UNCONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 17:20 UTC by Dennis Schridde
Modified: 2012-10-22 15:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-10-19 17:20:13 UTC
# ll /lib64/rc/console/
total 36
-rw-r--r-- 1 root root 31226 Oct 19 19:13 keymap
-rw-r--r-- 1 root root     1 Oct 19 19:13 unicode
(I detected this, because I use a writeable tmpfs overlay over / that is mounted to /run/rw, which contains the abovementioned directory after booting.)

I assume this should be in /run/openrc instead.

Reproducible: Always
Comment 1 William Hubbs gentoo-dev 2012-10-22 15:24:16 UTC
(In reply to comment #0)
> # ll /lib64/rc/console/
> total 36
> -rw-r--r-- 1 root root 31226 Oct 19 19:13 keymap
> -rw-r--r-- 1 root root     1 Oct 19 19:13 unicode
> (I detected this, because I use a writeable tmpfs overlay over / that is
> mounted to /run/rw, which contains the abovementioned directory after
> booting.)

That is correct. This is done by the consolefont, keymaps and termencoding services. The idea is to save the console settings so we can load them before the sysinit runlevel executes on a reboot. They are loaded by init-early.sh.
 
> I assume this should be in /run/openrc instead.

No, because /run is not preserved across reboots.