[lxc-users] kernel messages appear in containers?

Tomasz Chmielewski mangoo at wpkg.org
Sun Feb 3 02:54:03 UTC 2019


On 2019-02-03 11:51, Richard Hector wrote:
> Hi all,
> 
> I've noticed that some log messages that really belong to the host 
> (like
> those from monthly RAID checks, for example) can appear in arbitrary
> containers instead - so they're spread all over the place.
> 
> Is that normal/fixable?

I'd say it's a "normal, bad default".

You can fix it by adding this to your sysctl config file:

kernel.dmesg_restrict         = 1



Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list