On Tue, Dec 06, 2005 at 10:27:59PM +0000, Roger Leigh wrote:
tags 316883 + patch
thanks

> These bugs have gone far too long with no fix, and with absolutely no
> justification for the wontfix tag.  They cause real breakage on live
> Debian systems, and not fixing this bug is completely unacceptable.
> Unless this is resolved shortly, I will be referring it to the
> Technical Committee.
> 
> The ownership and permissions of disk block devices on a Debian system
> are root:disk, 0660.  Anything other than that is gratuitously
> different, and will break existing tools that require those settings.

The following patch, using the configure options suggested by Alasdair
Kergon, reverts devmapper to the traditional and correct behaviour.
If there is no response by the weekend, I intend to NMU this.

Additionally, and more seriously, this breakage is also present in
the sarge release, and I would very much like to see this fixed in
sarge-proposed-updates.  The same patch to debian/rules should do
the job.  Would there be any objection to my submitting this fix?


Regards,
Roger


diff -urN devmapper-1.02.02.old/debian/changelog 
devmapper-1.02.02/debian/changelog
--- devmapper-1.02.02.old/debian/changelog      2005-12-07 15:29:04.000000000 
+0000
+++ devmapper-1.02.02/debian/changelog  2005-12-07 15:40:52.152387996 +0000
@@ -1,3 +1,14 @@
+devmapper (2:1.02.02-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * LVM devices are created with root:disk ownership and 0660 permissions,
+    which is 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.
+    (closes: #329409, #316883, #341901).
+
+ -- Roger Leigh <[EMAIL PROTECTED]>  Wed,  7 Dec 2005 15:38:15 +0000
+
 devmapper (2:1.02.02-1) unstable; urgency=low
 
   * New upstram version. 
diff -urN devmapper-1.02.02.old/debian/rules devmapper-1.02.02/debian/rules
--- devmapper-1.02.02.old/debian/rules  2005-12-07 15:29:04.000000000 +0000
+++ devmapper-1.02.02/debian/rules      2005-12-07 15:33:12.924527475 +0000
@@ -29,7 +29,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_DIR)/build-udeb/config.status: DIR = $(BUILD_DIR)/build-udeb
 $(BUILD_DIR)/build-udeb/config.status:


-- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to