More avc denies

Richard Hally rhally at mindspring.com
Tue May 11 18:38:41 UTC 2004


Thomas Molina wrote:

> 
> On Mon, 10 May 2004, Tim Waugh wrote:
> 
> 
>>On Mon, May 10, 2004 at 04:04:04PM +0200, Leonard den Ottolander wrote:
>>
>>
>>>Had to move in the /etc/security/selinux/policies because they were
>>>created as .rpmnews.
>>
>>You had policy-sources installed as well?  I think it's expected
>>behaviour in that case (policy-sources' %post scriptlet generates them
>>from source).
> 
> 
> I must be having a senior moment because I looked in the above directory 
> and managed to confuse myself.  If the rpmnew files are the newer files, 
> why do they have the older date/time?  Here is my ls:
> 
> [root at dad selinux]# ls -la
> total 43600
> drwxr-xr-x  3 root root    4096 May  8 19:35 .
> drwxr-xr-x  4 root root    4096 May  8 19:35 ..
> -rw-r--r--  1 root root   86792 May  8 19:35 file_contexts
> -rw-r--r--  1 root root   88017 Apr 28 22:04 file_contexts.rpmnew
> -rw-r--r--  1 root root 7383775 May  8 19:35 policy.15
> -rw-r--r--  1 root root 7383775 May  7 11:24 policy.15.rpmnew
> -rw-r--r--  1 root root 7385512 May  8 19:35 policy.16
> -rw-r--r--  1 root root 7385512 May  7 11:24 policy.16.rpmnew
> -rw-r--r--  1 root root 7385824 May  8 19:35 policy.17
> -rw-r--r--  1 root root 7385824 May  7 11:24 policy.17.rpmnew
> drwx------  3 root root    4096 May  7 11:24 src
> 

When the policy rpm is installed(or updated) it puts the .rpmnew files 
in place. (the date is from when they were built on the build system). 
Then the policy-source package is installed and the files (policy.n and 
file_contexts) are built as part of the install(or update).

  I always delete the .rpmnew file.

HTH
Richard Hally




More information about the fedora-selinux-list mailing list