Subject: policy-sources upgrade error
Philip.R.Schaffner at NASA.gov
Mon Apr 26 18:34:19 UTC 2004
On Sun, 2004-04-25 at 15:32, t l wrote:
> I've already bugzilla'ed this one:
> 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
> 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
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.
> I've occasionally run into the situation where "fixfiles" hangs. I've
> previously bugzilla'ed this. I just reboot single user, redo the
> "fixfiles" and it usually completes.
> I'm not really certain of the status of the files in
> /etc/security/selinux/src/.... so I guess we need to wait for the
> fixed rpm.
> Hope this helps.
More information about the test