Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489926 - openrc-11.8: [lxc] dmesg kernel buffer reads fail
Summary: openrc-11.8: [lxc] dmesg kernel buffer reads fail
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 01:11 UTC by Walter
Modified: 2014-01-02 20:32 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 Walter 2013-10-31 01:11:58 UTC
I just built a new LXC container using lxc-gentoo and received an error starting up due to lack of CAP_SYSLOG.

Since CAP_SYSLOG makes little sense to provide to many containers, it might be worth detecting a lack of CAP_SYSLOG before attempting to run the dmesg portion of the init scripts or outright disabling any attempts to read dmesg when running under LXC.

Log follows...

INIT: version 2.88 booting

   OpenRC 0.11.8 is starting up Gentoo Linux (x86_64) [LXC]

 * /proc is already mounted
 * /run/openrc: creating directory
 * /run/lock: creating directory
 * Caching service dependencies ...
 [ ok ]
 * Creating user login records ...
 [ ok ]
 * Cleaning /var/run ...
 [ ok ]
 * Wiping /tmp directory ...
 [ ok ]
dmesg: read kernel buffer failed: Operation not permitted
Comment 1 Walter 2014-01-02 20:32:49 UTC
Doesn't occur on recent builds. Can now be ignored.