Bug 868298

Summary: ecryptfs-migrate-home shouldn't call setsebool unconditionally
Product: [Fedora] Fedora Reporter: Martin Wilck <martin.wilck>
Component: ecryptfs-utilsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: esandeen, mhlavink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ecryptfs-utils-100-5.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 868324 (view as bug list) Environment:
Last Closed: 2012-11-15 02:36:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 868324    
Attachments:
Description Flags
proposed patch none

Description Martin Wilck 2012-10-19 12:47:47 UTC
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 Fedora Update System 2012-10-30 13:18:13 UTC
ecryptfs-utils-101-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ecryptfs-utils-101-1.fc18

Comment 2 Fedora Update System 2012-10-30 13:18:35 UTC
ecryptfs-utils-101-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ecryptfs-utils-101-1.fc17

Comment 3 Fedora Update System 2012-10-30 13:18:49 UTC
ecryptfs-utils-101-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ecryptfs-utils-101-1.fc16

Comment 4 Fedora Update System 2012-10-30 20:13:05 UTC
Package ecryptfs-utils-101-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ecryptfs-utils-101-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17238/ecryptfs-utils-101-1.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-15 02:36:55 UTC
ecryptfs-utils-101-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-11-15 02:40:57 UTC
ecryptfs-utils-101-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.