Your message dated Wed, 7 Jan 2015 11:26:35 +0100
with message-id <[email protected]>
and subject line seems to be fixed in 2.02.111-2
has caused the Debian Bug report #719117,
regarding lvm2: Fsadm uses an incorrect regex to search for mounted fs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
719117: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719117
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lvm2
Version: 2.02.98-4
Severity: normal

Hi,

I was trying to resize a filesystem with lvresize, which uses fsadm, and I kept
being asked to umount another filesystem. Using strace I could see that fsadm
is running grep with an incorrect regex:

[pid  4343] execve("/bin/grep", ["grep", "^/dev/mapper/joeylvm-var", 
"/proc/mounts"], [/* 21 vars */]) = 0

I was trying to resize /dev/mapper/joeylvm-var, but /dev/mapper/joeylvm-var2 
was mounted, and that grep command was matching.

Thanks.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lvm2 depends on:
ii  dmsetup                   2:1.02.77-4
ii  initscripts               2.88dsf-43
ii  libc6                     2.17-92
ii  libdevmapper-event1.02.1  2:1.02.77-4
ii  libdevmapper1.02.1        2:1.02.77-4
ii  libreadline5              5.2+dfsg-2
ii  libudev0                  175-7.2
ii  lsb-base                  4.1+Debian12

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
notfound 719117 2.02.111-2
stop

hello,

i've just checked this with lvm2 2.02.111-2, and found the following
line in strace:

[pid 30431] execve("/bin/grep", ["grep", "^/dev/mapper/hephaistos-boot[ \\t]", 
"/proc/mounts"], [/* 21 vars */]) = 0

it was probably fixed in 2.02.96 ("Fix fsadm parsing of /proc/mounts
files (don't check for substrings)") and just not linked to this bug
report.

i'm therefore closing this bug.

best regards
chrysn

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to