| Summary: | =sys-fs/lvm2-2.02.97-r1: /etc/init.d/lvm-monitoring fails with updated /sbin/vgs command output | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | G.Wolfe Woodbury <redwolfe> |
| Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | agk, cardoe |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I expect same problem is still valid for >=sys-fs/lvm2-2.02.99-r1 ? (In reply to Samuli Suominen from comment #1) > I expect same problem is still valid for >=sys-fs/lvm2-2.02.99-r1 ? 2.02.100 is in tree. Can you test it? I don't get this problem on .105 |
a recent update to /sbin/lvm (as /sbin/vgs) now outputs the string " lvm: " on the front of every line of output. This breaks the /etc/init.d/lvm-monitoring script and prevents lvm-monitoring from being recorded as "running" Reproducible: Always Actual Results: vgs --noheading -o name produces " lvm: onyxvg01" rather than " onyxvg01" Expected Results: the prepending of " lvm: " is a recent change There is another bugz entry about lvm-monitoring pending that obviates this error, but in the meantime: VGSLIST=`$VGS --noheadings -o name | sed 's/ lvm: //' 2> /dev/null` ^^^^^^^^^^^^^^^^^^^ works to remove the problematical string