On Wed, Dec 07, 2005 at 03:55:28PM +0000, Roger Leigh wrote: > On Tue, Dec 06, 2005 at 10:27:59PM +0000, Roger Leigh wrote: > > > 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. > > 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?
This is the patch for stable. I would appreciate anyone who has a stable system trying it out, since I only have a stable chroot to check it builds OK. Thanks. diff -urN devmapper-1.01.00.old/debian/changelog devmapper-1.01.00/debian/changelog --- devmapper-1.01.00.old/debian/changelog 2005-12-07 16:05:25.000000000 +0000 +++ devmapper-1.01.00/debian/changelog 2005-12-07 16:09:48.581393503 +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 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. + + -- Roger Leigh <[EMAIL PROTECTED]> Wed, 7 Dec 2005 16:08:57 +0000 + devmapper (2:1.01.00-4) unstable; urgency=low * Build static libs. diff -urN devmapper-1.01.00.old/debian/rules devmapper-1.01.00/debian/rules --- devmapper-1.01.00.old/debian/rules 2005-12-07 16:05:25.000000000 +0000 +++ devmapper-1.01.00/debian/rules 2005-12-07 16:07:10.192240351 +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 Many thanks, Roger -- 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.
signature.asc
Description: Digital signature