Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: ntpd drift.TEMP file: msg#00193

Subject: Re: ntpd drift.TEMP file
On Sun, 23 Jan 2005 14:30:30 -0500 (EST),
mroselinux@xxxxxxxxxxxxxxxxxxxx <mroselinux@xxxxxxxxxxxxxxxxxxxx>
wrote:
> I have just built an FC3 samba server using the K12LTSP iso's and am
> getting the following messages on the log.
> 
> Jan 21 01:55:14 admin ntpd[9988]: can't open /etc/ntp/drift.TEMP:
> Permission denied
> Jan 21 01:55:14 admin kernel: audit(1106290514.375:0): avc:  denied  {
> write } for  pid=9988 exe=/usr/sbin/ntpd name=ntp dev=hda3 ino=3392705
> scontext=root:system_r:ntpd_t tcontext=system_u:object_r:etc_t tclass=dir
> 
> With SELinux enabled, the drift file could not be created.  In permissive
> mode, the drift file is properly created and updated.  What have I done
> wrong?
> 
> [root@admin ntp]# ls -dZ .
> drwxr-xr-x  ntp      ntp      system_u:object_r:etc_t
>  [root@admin ntp]# ls -lZ drift
> -rw-r--r--  ntp      ntp      root:object_r:etc_t              drift
> 
version of ntp?  

Mine (ntp-4.2.0.a.20040617-6) places the drift file in /var/lib/ntp.
/var/lib/ntp seems appropriately labeled ntp_drift_t.

tom

-- 
Tom London



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe