Red Hat Bugzilla – Bug 473508
preupgrade should ensure restorecon is run after upgrade
Last modified: 2014-01-21 18:07:13 EST
Description of problem:
preupgrade does not cause restorecon to be run after upgrade. Following an upgrade from F9 to F10, I was unable to ssh into the system because ~/.ssh was labeled incorrectly, though it was labeled correctly for F9's selinux policy.
preupgrade should somehow ensure restorecon is run after upgrade. This may be touching /.autorelabel or doing the relabel towards the end of anaconda.
Version-Release number of selected component (if applicable):
Everything that happens to the system during the upgrade is anaconda's responsiblity; reassigning.
This was caused by a bug in selinux-policy, It should not have required a relabel.
Adding a relabel would take too long.
The label is now correct in selinux-policy-3.5.13-31