Bug#517704: lvm.conf filter specification not honoured
martin f krafft
madduck at debian.org
Sun Mar 1 15:37:18 UTC 2009
Package: lvm2
Version: 2.02.44-2
Severity: normal
Despite the line
filter = [ "a/.*/", "r|/dev/cdrom|", "r|/dev/hd[ab]|" ]
in lvm.conf, vgscan still tries to access /dev/cdrom and /dev/hdb:
piper:~|master|% sudo vgscan #10036
Reading all physical volumes. This may take a while...
/dev/cdrom: open failed: Read-only file system
Attempt to close device '/dev/cdrom' which is not open.
/dev/hdb: open failed: Read-only file system
Attempt to close device '/dev/hdb' which is not open.
It's also kinda stupid that it tried to close the device after
failing to open it.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lvm2 depends on:
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.30-2 The Linux Kernel Device Mapper use
ii libreadline5 5.2-3.1 GNU readline and history libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
Versions of packages lvm2 recommends:
ii dmsetup 2:1.02.30-2 The Linux Kernel Device Mapper use
lvm2 suggests no packages.
-- debconf information:
lvm2/kernel:
lvm2/snapshots:
--
.''`. martin f. krafft <madduck at d.o> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20090301/6b822696/attachment.pgp
More information about the pkg-lvm-maintainers
mailing list