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

Re: /etc/login.defs created as /etc/login.defs.rpmnew



On Thu, 2010-01-07 at 16:31 +1030, Tim wrote: 
> On Wed, 2010-01-06 at 17:40 +1100, Cameron Simpson wrote:
> > The best approach is usually to identify your own change, make the
> > same change in the .rpmnew file, then mv the .rpmnew file into place.
> 
> What about SELinux issues when you mv instead of create new files?

I conjecture that it's not a problem in this case, as the perms are the
same for the new and old files: 

$ ls -lZ /etc/login.defs*
-rw-r--r--. root root system_u:object_r:etc_t:s0       /etc/login.defs
-rw-r--r--. root root system_u:object_r:etc_t:s0       /etc/login.defs.rpmnew


> 

-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


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