[Pkg-scicomp-commits] cpushare/trunk/debian

Sam Hocevar sam at zoy.org
Sun Apr 13 11:41:32 UTC 2008


SVN commit 2401 by sho:

  * debian/cpushare.init:
    + Exit immediately if seccomp is not activated.
    + Create /var/run/cpushare again if it was removed upon reboot.


 M  +1 -0      cpushare/trunk/debian/changelog  
 M  +4 -0      cpushare/trunk/debian/cpushare.init  


--- cpushare/trunk/debian/changelog #2400:2401
@@ -11,6 +11,7 @@
       for bytecode loading.
   * debian/cpushare.init:
     + Exit immediately if seccomp is not activated.
+    + Create /var/run/cpushare again if it was removed upon reboot.
 
   * debian/patches/206_sys_write_argument.diff:
     + New patch to avoid warnings when using sys_write() with constant strings.
--- cpushare/trunk/debian/cpushare.init #2400:2401
@@ -44,6 +44,10 @@
 	    log_end_msg 1
 	    exit 0
 	fi
+	if [ ! -d "/var/run/cpushare" ]; then
+	    mkdir -p /var/run/cpushare
+	    chown cpushare:nogroup /var/run/cpushare
+	fi
 	FAIL=0
 	# Start one instance of the daemon for each .cpu file in /etc/cpushare
 	# and do not complain about already running processes (because the user



More information about the Pkg-scicomp-commits mailing list