Bug 473508 - preupgrade should ensure restorecon is run after upgrade
Summary: preupgrade should ensure restorecon is run after upgrade
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-28 23:35 UTC by Matt Domsch
Modified: 2014-01-21 23:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-20 00:10:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2008-11-28 23:35:56 UTC
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):
1.0.0-1.fc9

Comment 1 Will Woods 2008-11-29 00:51:20 UTC
Everything that happens to the system during the upgrade is anaconda's responsiblity; reassigning.

Comment 2 Daniel Walsh 2008-12-04 21:19:53 UTC
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


Note You need to log in before you can comment on or make changes to this bug.