Bug 868324 - ecryptfs-migrate home fails when run under sudo
Summary: ecryptfs-migrate home fails when run under sudo
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ecryptfs-utils
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 868298
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-19 14:07 UTC by Martin Wilck
Modified: 2012-10-19 14:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of: 868298
Environment:
Last Closed: 2012-10-19 14:07:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Wilck 2012-10-19 14:07:04 UTC
+++ This bug was initially created as a clone of Bug #868298 +++

Created attachment 630010 [details]
proposed patch

Description of problem:
ecryptfs-migrate-home calls 

setsebool -P use_ecryptfs_home_dirs=1 1>/dev/null 2>&1 ||:

even if that boolean is already set. Setsebool -P is a very costly operation that needs several minutes to run even on new hardware.

Version-Release number of selected component (if applicable):
ecryptfs-utils-100-4.fc17.x86_64

How reproducible:
always

Comment 1 Martin Wilck 2012-10-19 14:07:53 UTC
sorry, editing mistake


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