Re: acpid.socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-12-18 at 16:08 -0800, Justin Mattock wrote:
> Hello im wanting to know if there is somebody else who has experienced
> this problem; when in enforcing mode from /etc/selinux/config. A
> system reboot then reports 
> a unable to connect to socket acpid.socket permissions denied. I've
> noticed the label gives me system_u:object_r:tmpfs_t then after
> restorecon acpid.socket I receive
> system_u:object_r:apmd_run_run_t .
> Any info would be helpful,

Is /var/run a tmpfs mount on your system?

That would explain why it defaults to tmpfs_t.  You'd need to mount it
with a rootcontext= mount option or restorecon it after mounting to give
it the correct type.

In Fedora, there is a similar issue with the tmpfs mount for /dev, since
it is initially populated before policy is loaded, so they do a
restorecon -R /dev from rc.sysinit.  You might have to do that
for /var/run too.  Has to occur _after_ you've loaded policy, of course.

-- 
Stephen Smalley
National Security Agency


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

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux