[ecryptfs-utils/f18] fix typo in restorecon path (#865839)
Michal Hlavinka
mhlavink at fedoraproject.org
Thu Oct 18 15:11:49 UTC 2012
commit c0f212155b3a133c5718b06992c50a26bcf128c0
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Thu Oct 18 17:11:40 2012 +0200
fix typo in restorecon path (#865839)
ecryptfs-utils-99-selinux.patch | 2 +-
ecryptfs-utils.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ecryptfs-utils-99-selinux.patch b/ecryptfs-utils-99-selinux.patch
index 2c3bc19..07f945f 100644
--- a/ecryptfs-utils-99-selinux.patch
+++ b/ecryptfs-utils-99-selinux.patch
@@ -14,7 +14,7 @@ diff -up ecryptfs-utils-99/src/utils/ecryptfs-migrate-home.selinux ecryptfs-util
info "Encrypted home has been set up, encrypting files now...this may take a while."
# Show progress, but on stderr, in case the user wants to filter that out
+ semanage fcontext -a -e /home /home/.ecryptfs >/dev/null 2>&1 ||:
-+ restorecon -R $HOME/.ecrypfs/$USER >/dev/null 2>&1 ||:
++ restorecon -R $HOME/.ecryptfs/$USER >/dev/null 2>&1 ||:
rsync -aP "$orig/" "$USER_HOME/" 1>&2
umount "$USER_HOME/"
echo
diff --git a/ecryptfs-utils.spec b/ecryptfs-utils.spec
index 58d8488..e903523 100644
--- a/ecryptfs-utils.spec
+++ b/ecryptfs-utils.spec
@@ -5,7 +5,7 @@
Name: ecryptfs-utils
Version: 100
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: The eCryptfs mount helper and support libraries
Group: System Environment/Base
License: GPLv2+
@@ -262,6 +262,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/ecryptfs-utils/_libecryptfs.so
%changelog
+* Thu Oct 18 2012 Michal Hlavinka <mhlavink at redhat.com> - 100-4
+- fix typo in restorecon path (#865839)
+
* Thu Sep 27 2012 Michal Hlavinka <mhlavink at redhat.com> - 100-3
- do not crash in pam module when non-existent user name is used (#859766)
More information about the scm-commits
mailing list