Research
.
Skip Search Box

SELinux Mailing List

RE: wrong context for ntpd.pid

From: Richard Simpson <richard.simpson_at_wgint.com>
Date: Thu, 28 Oct 2004 16:11:45 -0600


> -----Original Message-----
> From: Thomas Bleher [mailto:bleher@informatik.uni-muenchen.de]
...
> Add the following line to /etc/init.d/ntpd directly after the chown:
> [ -e /sbin/restorecon ] && /sbin/restorecon /var/run/ntpd.pid
>
> This should be all that is needed.
>

I filed a bug report on this problem:
http://bugs.gentoo.org/show_bug.cgi?id=69288 They chose to fix it by revising the init script to not create the pid file in the first place. If the daemon creates the file it should be in the correct context. I will test it tonight.

Thanks for the help,
Richard.

--
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.
Received on Thu 28 Oct 2004 - 18:09:15 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service