Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 583970 Details for
Bug 690404
sys-fs/lvm2-2.02.145-r2 - On shutdown lvm stop fails with message "Line too long (max 255) beginning...."
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for openrc to fix lvm stop issue
lvm2-stop-fix.patch (text/plain), 953 bytes, created by
Norman Back
on 2019-07-21 20:01:31 UTC
(
hide
)
Description:
Patch for openrc to fix lvm stop issue
Filename:
MIME Type:
Creator:
Norman Back
Created:
2019-07-21 20:01:31 UTC
Size:
953 bytes
patch
obsolete
>--- /etc/init.d/lvm-orig 2019-07-21 10:31:39.000000000 +0100 >+++ /etc/init.d/lvm 2019-07-21 19:23:21.703032015 +0100 >@@ -135,9 +135,13 @@ > #still echo stderr for debugging > lvm_commands="#!${lvm_path}\n" > # Extra PV find pass because some devices might not have been available until very recently >- lvm_commands="${lvm_commands}lvchange --config '${config}' --sysinit -a ln ${VGS}\n" >+ for VG in ${VGS} ; do >+ lvm_commands="${lvm_commands}lvchange --config '${config}' --sysinit -a ln ${VG}\n" >+ done > # Now make the nodes >- lvm_commands="${lvm_commands}vgchange --config '${config}' --sysinit -a ln ${VGS}\n" >+ for VG in ${VGS} ; do >+ lvm_commands="${lvm_commands}vgchange --config '${config}' --sysinit -a ln ${VG}\n" >+ done > # Order of this is important, have to work around dash and LVM readline > printf "%b\n" "${lvm_commands}" | $lvm_path /proc/self/fd/0 --config "${config}" >/dev/null > rc=$?
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 690404
:
583970
|
584000