[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

stable update for devmapper requested



Dear stable release manager,

The following patch is a fix for a serious problem with the stable
release of devmapper.

devmapper is responsible for the creation of the LVM logical volume
(LV) device nodes.  The default ownership and permissions of these
device nodes are hard-coded in the libdevmapper library.
Historically, these nodes have been root:disk ownership, 0660
permissions.  However, before the release of sarge the maintainer
changed this hard-coded default to root:root, 0600.  This made the
permissions of LV devices different from every other disk block device
on the system, and broke a number of tools.  For example, the Amanda
backup server can no longer back up LV devices, because it uses the
disk group for this purpose.  Not being able to backup your disks is
quite a serious failing.

The patch reverts the change, restoring the root:disk, 0660 ownership
and permissions, allowing tools using group disk to work once more.

This is documented in Bugs #316883, #329409 and #341901.
The Technical Committee's ruling on this is Bug #342455.

Sample packages are at
http://people.debian.org/~rleigh/devmapper-stable/


Regards,
Roger

-- 
Roger Leigh
                Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
diff -urN devmapper-1.01.00.original/debian/changelog devmapper-1.01.00/debian/changelog
--- devmapper-1.01.00.original/debian/changelog	2006-03-10 11:16:50.000000000 +0000
+++ devmapper-1.01.00/debian/changelog	2006-03-10 11:26:17.433959470 +0000
@@ -1,3 +1,13 @@
+devmapper (2:1.01.00-4sarge1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * LVM devices are created with root:disk ownership and 0660 permissions,
+    which are used by all other disk block devices.  This allows backups
+    of LVM logical volumes with tools such as amanda, which run as user
+    backup, a member of the disk group.
+
+ -- Roger Leigh <rleigh@debian.org>  Fri, 10 Mar 2006 11:24:44 +0000
+
 devmapper (2:1.01.00-4) unstable; urgency=low
 
   * Build static libs.
diff -urN devmapper-1.01.00.original/debian/rules devmapper-1.01.00/debian/rules
--- devmapper-1.01.00.original/debian/rules	2006-03-10 11:16:50.000000000 +0000
+++ devmapper-1.01.00/debian/rules	2006-03-10 11:24:33.373373453 +0000
@@ -19,7 +19,10 @@
 		--mandir=\$${prefix}/share/man \
 		--infodir=\$${prefix}/share/info \
 		--libdir=/lib --sbindir=/sbin \
-		--enable-compat                         
+		--enable-compat \
+		--with-device-uid=0 \
+		--with-device-gid=6 \
+		--with-device-mode=0660
 
 build: build-stamp
 build-stamp: config.status

Attachment: pgpyyEACwzx4V.pgp
Description: PGP signature


Reply to: