ALT Linux Bugzilla
– Attachment 811 Details for
Bug 6526
halt does not deactivate LVM
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
patch from Genix
lvmstop.patch (text/plain), 500 bytes, created by
Nick S. Grechukh
on 2005-04-14 15:43:49 MSD
(
hide
)
Description:
patch from Genix
Filename:
MIME Type:
Creator:
Nick S. Grechukh
Created:
2005-04-14 15:43:49 MSD
Size:
500 bytes
patch
obsolete
>--- halt.orig 2004-03-04 17:28:34 +0300 >+++ halt 2005-04-14 09:34:09 +0400 >@@ -126,6 +126,14 @@ > > action "Unmounting proc filesystem:" umount -n /proc > >+# Deactivate LVM groups >+VGCHANGE=/sbin/vgchange >+if [ -x "$VGCHANGE" -a -s /etc/lvmtab ]; then >+ action "Attempting to deactivate LVM" "$VGCHANGE" -an >+ message="The system is halted" >+ command=/sbin/poweroff >+fi >+ > # See if this is a powerfail situation. > UPSCTL=/etc/apcupsd/apccontrol > if [ -x "$UPSCTL" -a -f /etc/apcupsd/powerfail ]; then
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 6526
: 811