Bug 868324 - ecryptfs-migrate home fails when run under sudo
ecryptfs-migrate home fails when run under sudo
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: ecryptfs-utils (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Michal Hlavinka
Fedora Extras Quality Assurance
:
Depends On: 868298
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-19 10:07 EDT by Martin Wilck
Modified: 2012-10-19 10:07 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 868298
Environment:
Last Closed: 2012-10-19 10:07:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Wilck 2012-10-19 10:07:04 EDT
+++ 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 10:07:53 EDT
sorry, editing mistake

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