Bug#316883: lvm2: creates device nodes as root:root 600, breaking amanda

Bastian Blank Bastian Blank <waldi@debian.org>, 316883@bugs.debian.org
Tue, 5 Jul 2005 09:53:42 +0200

Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 316883 wishlist
tags 316883 wontfix

On Mon, Jul 04, 2005 at 04:55:11PM +0200, Marc Haber wrote:
> unlike lvm10 (which created LV device nodes as root:disk 660), lvm2
> creates its device nodes as root:root 600:

lvm2 creates no devices, this is done by libdevmapper.

> brw-------   1 root root 253,  1 Jul  4 11:32 vg0-usr
> This precludes amanda backups from happening.

Write access to disks is nearly as good as root. Get the CAP_DAC_READ
capability, which is designed for backup purposes.

> Please deliver lvm2 in a way that makes the LV device nodes readable
> by group disk. If this can be done, please tell me how to change my
> local configuration to make backup possible again.

Use udev if you need special modes.


Killing is stupid; useless!
		-- McCoy, "A Private Little War", stardate 4211.8

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (GNU/Linux)