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

Bug#536552: console-setup: /bin/setupcon: line 319: /etc/console-setup/cached.kmap.gz: Read-only file system



On Sat, Jul 11, 2009 at 12:40:27PM +0930, Arthur Marsh wrote:
> 
> I noticed the following on the boot log:
> 
> Setting preliminary keymap.../bin/setupcon: line 319:
> /etc/console-setup/cached.kmap.gz: Read-only file system

Thats a bit strange.  Line 319 is surrounded by the followin 'if' statement:

if ..... && [ -d /usr/share/X11/xkb]; then
    # line 319
fi

The test for /usr/share/X11/xkb is in order to assure that /usr is 
mounted.  And when /usr is mounted the access to /etc is not read-only.

Have you intentionaly made /etc read only?  

> Is this any kind of a problem?

Not realy.  Because console-setup is unable to store information in 
cached.kmap.gz it has to compute the keymap twice on every boot.  This 
will slow down the boot process by few seconds.  Another (small?) 
problem will occur when fsck requires manual interraction during the 
boot and /usr is not part of the root file system.  In this case 
console-setup will be unable to compute the proper keymap so it will 
have to use cached.kmap.gz.  But I suppose that cached.kmap.gz contains 
your real keymap unless you have experimented with strange keyboards. :)

Anton Zinoviev



Reply to: