Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160319 Details for
Bug 239779
lvm2-monitor initscript produces invalid VG errors
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
lvm2-mon-initscript-workaround.patch
lvm2-mon-initscript-workaround.patch (text/plain), 1.00 KB, created by
Petr Rockai
on 2007-07-31 13:40:01 UTC
(
hide
)
Description:
lvm2-mon-initscript-workaround.patch
Filename:
MIME Type:
Creator:
Petr Rockai
Created:
2007-07-31 13:40:01 UTC
Size:
1.00 KB
patch
obsolete
>--- LVM2.2.02.26.old/scripts/lvm2_monitoring_init_rhel4 2007-03-16 18:15:36.000000000 +0100 >+++ LVM2.2.02.26/scripts/lvm2_monitoring_init_rhel4 2007-07-03 19:05:06.000000000 +0200 >@@ -27,11 +27,17 @@ > VGCHANGE="/usr/sbin/vgchange" > WARN=1 > >+getvgs() { >+ # TODO workaround, need fix warning messages to always use stderr >+ vgs --noheadings -o name 2> /dev/null | grep -v '^[ \t]*WARNING:' | \ >+ grep -v '^[ \t]*Volume Groups with the clustered attribute will be inaccessible.' >+} >+ > start() > { > ret=0 > # TODO do we want to separate out already active groups only? >- VGS=`vgs --noheadings -o name` >+ VGS=`getvgs` > for vg in $VGS > do > action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y $vg || ret=$? >@@ -49,7 +55,7 @@ stop() > echo "Not stopping monitoring, this is a dangerous operation. Please use force-stop to override." > return 1 > fi >- VGS=`vgs --noheadings -o name` >+ VGS=`getvgs` > for vg in $VGS > do > action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n $vg || ret=$?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239779
: 160319