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?
Cheers,
Richard
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
Yes, this is normal and as pointed out already, can be tweaked with
dmesg_restrict.
There was some interest a while back in implementing a logging
namespace, which would solve this cleanly, but it's never been enough
of a priority for anyone to actually do the kernel work for it.
Stéphane
> _______________________________________________
> lxc-users mailing list
> lxc-...@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Stéphane
Thanks to both.
Done; will watch for results :-)
Cheers,
Richard
Well actually there has been a patchset, no? I think it's just that
noone really pushed hard enough for it (or long enough for that matter).
:)
Christian