All of lore.kernel.org
 help / color / mirror / Atom feed
From: Unix Admin <unix@cobalt-financial.com>
To: selinux@tycho.nsa.gov
Subject: Re: Kernel woes  (summary)
Date: Mon, 17 Oct 2005 11:37:03 +0000	[thread overview]
Message-ID: <43538CDF.9030208@cobalt-financial.com> (raw)
In-Reply-To: <4353B628.6090801@redhat.com>

Daniel J Walsh wrote:

> restorecon  /dev/log
>
> should fix this.  But how did it happen?  Are you using udev?
>
> Dan
>
restorecon didn't work.

Oct 17 10:40:31 odin kernel: post_create:  setxattr failed, rc=28 
(dev=sda1 ino=8339468)
Oct 17 10:40:31 odin kernel: audit(1129560031.871:0): avc:  denied  { 
connectto } for  pid=3823 comm=httpd path=/dev/log 
scontext=root:system_r:httpd_t tcontext=user_u:system_r:unconfined_t 
tclass=unix_stream_socket

I removed mod_security rules to minimize any potential security errors. 
Checked my permissions for the apache directory, still no dice. Rebooted 
forced fsck (reboot -F) ...

Checked disk space and I notice two volumes were not mounted so I 
mounted them, removed unecessary files
and voila. Got it working. Thanks to Stephen Smalley at the National 
Security Agency for pointing out simple error numbers ;)

--
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:[~2005-10-17 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17 10:16 Kernel woes Unix Admin
2005-10-17 14:33 ` Daniel J Walsh
2005-10-17 11:37   ` Unix Admin [this message]
2005-10-17 14:45 ` Stephen Smalley

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=43538CDF.9030208@cobalt-financial.com \
    --to=unix@cobalt-financial.com \
    --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.