[SCM] live-debconfig branch, debian-next,	updated. debian/4.0_a2-1-11-g5f53060
    Daniel Baumann 
    daniel at debian.org
       
    Thu Aug 16 13:22:59 UTC 2012
    
    
  
The following commit has been merged in the debian-next branch:
commit 5f53060a8da0fa79c62ea73b3b1f713b27003201
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Aug 16 15:22:57 2012 +0200
    Making file operations in selinux script atomic.
diff --git a/scripts/debconfig/0100-selinux b/scripts/debconfig/0100-selinux
index 680b18c..29059d0 100755
--- a/scripts/debconfig/0100-selinux
+++ b/scripts/debconfig/0100-selinux
@@ -60,6 +60,7 @@ case "${_SELINUX_ENABLE}" in
 
 	false)
 		mkdir -p /selinux
-		echo 0 > /selinux/enforce
+		echo 0 > /selinux/enforce.tmp
+		mv /selinux/enforce.tmp /selinux/enforce
 		;;
 esac
-- 
live-debconfig
    
    
More information about the debian-live-changes
mailing list