All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Paris <eparis@parisplace.org>
To: selinux@tycho.nsa.gov
Subject: superblock_doinit emits a message for every mount
Date: Tue, 19 Dec 2006 12:52:31 -0500	[thread overview]
Message-ID: <1166550751.20187.63.camel@localhost.localdomain> (raw)

So I recently heard a complaint that we emit a message every time a FS
is mounted.  In this case they have lots of autofs mounts happening in
turn gets lots of messages like:

Dec 18 16:32:06 buildrm55 kernel: SELinux: initialized (dev 0:39, type
nfs), uses genfs_contexts

They all come from superblock_doinit in hooks.c.

printk(KERN_INFO "SELinux: initialized (dev %s, type %s), %s\n",
       sb->s_id, sb->s_type->name,
       labeling_behaviors[sbsec->behavior-1]);

which fill their logs.  They wanted to know if we were willing to give a
way to turn such informational messages off.  I can discuss with
them /proc/sys/kernel/printk and configuring syslog to ignore
kernel.info but I wondered if anyone else had any comments or thought
about these particular messages.  Do we need them?  Are they really
anything other than debugging?

-Eric



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2006-12-19 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-19 17:52 Eric Paris [this message]
2006-12-19 18:23 ` superblock_doinit emits a message for every mount Stephen Smalley
2006-12-19 18:34 ` Steve G

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1166550751.20187.63.camel@localhost.localdomain \
    --to=eparis@parisplace.org \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.