Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214194 - sys-fs/lvm2-2.02.28-r2 should handle /etc/mtab symlink to /proc/mount
Summary: sys-fs/lvm2-2.02.28-r2 should handle /etc/mtab symlink to /proc/mount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 202058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-22 00:00 UTC by Robert A.
Modified: 2008-06-08 19:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to lvm-stop.sh which makes it ignore the rootfs entry (lvm-stop_procmounts-symlink.patch,492 bytes, patch)
2008-03-22 00:01 UTC, Robert A.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert A. 2008-03-22 00:00:38 UTC
whan shutting down logical volumes the lvm-stop.sh script gets confused by the rootfs entry of /proc/mounts (mount reads from it if /etc/mtab is a symlink to /proc/mounts)
Comment 1 Robert A. 2008-03-22 00:01:39 UTC
Created attachment 146811 [details, diff]
patch to lvm-stop.sh which makes it ignore the rootfs entry
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-03-22 05:44:29 UTC
robert: can you please test this version instead?
mount | awk '{if($3 == "/" && $1 != "rootfs"){print $1}}'
Comment 3 Robert A. 2008-03-22 12:11:55 UTC
(In reply to comment #2)
> robert: can you please test this version instead?
> mount | awk '{if($3 == "/" && $1 != "rootfs"){print $1}}'

Works for me - and it looks prettier to me. (:


Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-08 19:35:35 UTC
Fixed for .37.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-08 19:39:19 UTC
*** Bug 202058 has been marked as a duplicate of this bug. ***