wrappers/initscript.in | 1 + 1 file changed, 1 insertion(+)
New commits: commit d32deaacd704534197b7b9a3f9b8ffec2a150e8a Author: Nathan Kinder nkinder@redhat.com Date: Tue Nov 8 10:16:20 2011 -0800
Bug 752155 - Use restorecon after creating init script lock file
We need to call restorecon to ensure that the proper selinux context is set on the init script lock file after the init script creates it.
diff --git a/wrappers/initscript.in b/wrappers/initscript.in index 7632749..da5f6bb 100644 --- a/wrappers/initscript.in +++ b/wrappers/initscript.in @@ -261,6 +261,7 @@ start() { done if [ $successes -ge 1 ]; then touch $lockfile + [ -x /sbin/restorecon ] && /sbin/restorecon $lockfile fi if [ $errors -ge 1 ]; then echo " *** Warning: $errors instance(s) failed to start"
389-commits@lists.fedoraproject.org