Subject: policy-sources upgrade error

Phil Schaffner Philip.R.Schaffner at NASA.gov
Tue Apr 27 14:11:34 UTC 2004


On Mon, 2004-04-26 at 14:34, Phil Schaffner wrote:
> On Sun, 2004-04-25 at 15:32, t l wrote:
> > I've already bugzilla'ed this one:
> > 
> >      http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121685
> > 
> > I "fixed" this by:
> >     1. using the ".rpmnew" files in /etc/security/selinux, that is,
> > "mv file_contexts.rpmnew file_contexts", "mv policy.15.rpmnew
> > policy.15", "mv policy.16.rpmnew policy.16" and "mv policy.17.rpmnew
> > policy.17"
> >     2.  (the above should work for a "unmodified policy site" since
> > the policy rpm installs the .rpmnew files).
> >     3. reboot in single user mode
> >     4. run "fixfiles relabel"
> >     5. reboot multi user.
> 
> Noticed I had the same situation with .rpmnew files, so did the above
> followed by "fixfiles relabel" in a text-console (init 3) login, not
> single user, (selinux enabled but in permissive mode).  Got the
> following:
> 
> Cleaning out /tmp
> /usr/sbin/setfiles:  read 1442 specifications
> /usr/sbin/setfiles:  invalid context system_u:object_r:usbtty_device_t on line number 212
> 
> Will try again after a reboot to single user before reporting, but this
> looks like a different bug.

Reboot (which I did not do before trying "fixfiles relabel" above) and
"fixfiles relabel" in single user mode as recommended by t l did away
with the error message, but seems there must be a way to handle updating
the policy without the reboot and single user kludge.






More information about the fedora-test-list mailing list