[Pkg-xen-changes] r1009 - trunk/xen/debian

Bastian Blank waldi at alioth.debian.org
Sun May 6 16:04:39 UTC 2012


Author: waldi
Date: Sun May  6 16:04:39 2012
New Revision: 1009

Log:
* debian/changelog: Update.
* debian/xen-utils-common.xendomains.init: Create save dir with permission 0700.

Modified:
   trunk/xen/debian/changelog
   trunk/xen/debian/xen-utils-common.xendomains.init

Modified: trunk/xen/debian/changelog
==============================================================================
--- trunk/xen/debian/changelog	Sun May  6 14:11:29 2012	(r1008)
+++ trunk/xen/debian/changelog	Sun May  6 16:04:39 2012	(r1009)
@@ -2,6 +2,7 @@
 
   * Fix generation of architectures for hypervisor packages.
   * Remove information about loop devices, it is incorrect. (closes: #503044)
+  * Create directory for domain images only root readable. (closes: #596048)
 
  -- Bastian Blank <waldi at debian.org>  Sat, 05 May 2012 21:24:18 +0200
 

Modified: trunk/xen/debian/xen-utils-common.xendomains.init
==============================================================================
--- trunk/xen/debian/xen-utils-common.xendomains.init	Sun May  6 14:11:29 2012	(r1008)
+++ trunk/xen/debian/xen-utils-common.xendomains.init	Sun May  6 16:04:39 2012	(r1009)
@@ -156,7 +156,7 @@
 {
   while read id name rest; do
     log_action_begin_msg "Saving Xen domain $name ($id)"
-    mkdir -p "$XENDOMAINS_SAVE"
+    mkdir -m 0700 -p "$XENDOMAINS_SAVE"
     coproc xen save $id $XENDOMAINS_SAVE/$name 2>&1 1>/dev/null
     timeout_coproc "$XENDOMAINS_STOP_MAXWAIT"
     log_action_end_msg $?



More information about the Pkg-xen-changes mailing list