Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 219674

Summary: lvm init script give error on baselayout-2
Product: Gentoo Linux Reporter: Alexander Weber <web.alexander>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Weber 2008-04-28 22:10:36 UTC
Baselayout-2 lvm init-script give error on stop. On shutdown the error is to fast to see. With /etc/init.d/lvm stop i can see the error.

Reproducible: Always

Steps to Reproduce:
 /etc/init.d/lvm stop
lvm              | * WARNING: you are stopping a boot service
lvm              | * Caching service dependencies ...                     [ ok ]
lvm              | * Shutting down the Logical Volume Manager
lvm              | *   Shutting Down logical volume: /dev/vg-myspace/lv-backup  ...                                                                       [ ok ]
lvm              | *   Shutting Down logical volume: /dev/vg-myspace/lv-private1  ...                                                                     [ ok ]
lvm              | *   Shutting Down logical volume: /dev/vg-myspace/lv-private2  ...                                                                     [ ok ]
lvm              | *   Shutting Down logical volume: /dev/vg-myspace/lv-private3  ...                                                                     [ ok ]
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 50: [: rootfs: binary operator expected
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 52: [: too many arguments
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 50: [: rootfs: binary operator expected
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 52: [: too many arguments
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 50: [: rootfs: binary operator expected
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 52: [: too many arguments
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 50: [: rootfs: binary operator expected
lvm              |/lib/rcscripts/addons/lvm-stop.sh: line 52: [: too many arguments
lvm              | * Finished Shutting down the Logical Volume Manager



My fstab does not contain any "rootfs", but "mount" give me one.
rootfs on / type rootfs (rw)
/dev/mapper/vg--myspace-lv--root on / type ext3 (rw,noatime,data=ordered)
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-04-28 23:02:07 UTC
Re-emerge lvm. Somehow you have an out of date lvm. This has been fixed for several lvm versions.