Re: noisy selinux messages on tmpfs mount.

Dominick Grift
2015-01-09T21:01:09Z

On Fri, 2015-01-09 at 15:55 -0500, Paul Moore wrote:
> On Friday, January 09, 2015 02:13:29 PM Dave Jones wrote:
> > On Fri, Jan 09, 2015 at 08:06:49AM -0500, Stephen Smalley wrote:
> > > We already reduced that message to KERN_DEBUG. Is that not sufficient?
> >
> > That doesn't really help with the flooding of dmesg, so no.
> > I should also note that it's not just logging in that creates a new
> > session, it also seems to be getting triggered by cron jobs, or
> > whatever the systemd replacement is.
>
> I wonder if this is cron/systemd/whatever creating a new namespace and
> mounting a new tmpfs in the namespace? If yes, I wonder if we could limit the
> messages to the initial namespace ... ?
>

It is systemd logind creating sessions (e.g. creating /run/user/$UID and
mounting a tmpfs on it)