Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13609 - klogd opens /boot/System.map if /boot mounted [inconvenient, confusing]
Summary: klogd opens /boot/System.map if /boot mounted [inconvenient, confusing]
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-09 18:01 UTC by D Wollmann
Modified: 2003-05-08 22:22 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 D Wollmann 2003-01-09 18:01:24 UTC
klogd(8) looks for System.map at startup so that it can map locations to
symbols. According to the man page, the paths searched are:

/boot/System.map
/System.map
/usr/src/linux/System.map

(I have not checked the source to verify the paths or the search order.)

If the user mounts /boot for whatever reason, then changes runlevel or otherwise
restarts klogd, klogd will open /boot/System.map. This file remains open while
klogd is running, preventing the user from umounting /boot until klogd is stopped.

Since Gentoo recommends against automounting /boot, we might want to consider
patching klogd so that it ignores /boot/System.map by default.

I copy /usr/src/linux/System.map to /System.map when I build a new kernel, since
klogd doesn't seem to look on /usr/src/linux for System.map when it starts.
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-08 22:22:14 UTC
this doesn't seem to be a potential issue that warrants any sort of change.