[Pkg-voip-commits] [asterisk] 06/20: init: restore SE Linux setting on new directories

Frederic Van Espen freshter-guest at moszumanska.debian.org
Sun Feb 23 08:01:35 UTC 2014


This is an automated email from the git hooks/post-receive script.

freshter-guest pushed a commit to branch experimental
in repository asterisk.

commit edab47868bd267a4ba015a0e72d1a92790f660b1
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Tue Dec 10 16:52:51 2013 +0200

    init: restore SE Linux setting on new directories
    
    give correct SE Linux labels to newly created directories.  It won't
    change the result on a non-SE system (Russel Coker).
    
    (cherry picked from commit 46a024404d112f2e9faef5f78a18dc24eb6e95a6)
    
    Conflicts:
    	debian/changelog
---
 debian/asterisk.init | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/asterisk.init b/debian/asterisk.init
index d653ed9..715b4e9 100644
--- a/debian/asterisk.init
+++ b/debian/asterisk.init
@@ -98,6 +98,7 @@ test -x $DAEMON || exit 0
 
 for dir in /var/run/asterisk /var/log/asterisk /var/log/asterisk/cdr-csv /var/log/asterisk/cdr-custom; do
 	[ -d $dir ] || install -d -o $USER -g $GROUP $dir
+	[ -x /sbin/restorecon ] && /sbin/restorecon $dir
 done
 
 set -e

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git



More information about the Pkg-voip-commits mailing list