r598 - in lvm2/trunk/debian: . patches

Bastian Blank waldi at alioth.debian.org
Tue Jul 15 18:02:07 UTC 2008


Author: waldi
Date: Tue Jul 15 18:02:06 2008
New Revision: 598

Log:
* debian/changelog: Update.
* debian/patches/permissions.patch: Force permissions of /dev/$vgname to 0755.
* debian/patches/series: Add new patch.


Added:
   lvm2/trunk/debian/patches/permissions.patch
Modified:
   lvm2/trunk/debian/changelog
   lvm2/trunk/debian/patches/series

Modified: lvm2/trunk/debian/changelog
==============================================================================
--- lvm2/trunk/debian/changelog	(original)
+++ lvm2/trunk/debian/changelog	Tue Jul 15 18:02:06 2008
@@ -1,6 +1,8 @@
 lvm2 (2.02.39-1) UNRELEASED; urgency=low
 
   * New upstream version.
+  * Make /dev/$vgname readable by anyone, it is not private data as
+    /dev/mapper is already readable.
 
  -- Bastian Blank <waldi at debian.org>  Sun, 06 Jul 2008 14:49:16 +0200
 

Added: lvm2/trunk/debian/patches/permissions.patch
==============================================================================
--- (empty file)
+++ lvm2/trunk/debian/patches/permissions.patch	Tue Jul 15 18:02:06 2008
@@ -0,0 +1,12 @@
+--- a/lib/activate/fs.c
++++ b/lib/activate/fs.c
+@@ -46,6 +46,9 @@
+ 		return 0;
+ 	}
+ 
++	if (chmod(vg_path, 0755))
++		log_sys_very_verbose("chmod", vg_path);
++
+ 	return 1;
+ }
+ 

Modified: lvm2/trunk/debian/patches/series
==============================================================================
--- lvm2/trunk/debian/patches/series	(original)
+++ lvm2/trunk/debian/patches/series	Tue Jul 15 18:02:06 2008
@@ -3,3 +3,4 @@
 drop-realtime.patch
 config.patch
 force-modprobe.patch
+permissions.patch



More information about the pkg-lvm-commits mailing list