ALT Linux Bugzilla
– Attachment 6395 Details for
Bug 31336
"Запуск скрипта не удался: destination filesystem remount error"
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
хак для объезда проблемы
install2-remount-functions.diff (text/plain), 952 bytes, created by
Michael Shigorin
on 2015-10-07 16:24:06 MSK
(
hide
)
Description:
хак для объезда проблемы
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2015-10-07 16:24:06 MSK
Size:
952 bytes
patch
obsolete
>--- install2-remount-functions.orig 2014-06-11 02:20:54.000000000 +0400 >+++ install2-remount-functions 2015-09-18 05:56:29.031966873 +0300 >@@ -28,7 +28,7 @@ > start_lvm && > start_luks && > mount_chroot \ >- ) >& /tmp/remount.log || return $? >+ ) >& /tmp/remount.log > } > > # avoid automatic rpm shell.req dependency >@@ -90,6 +90,8 @@ > grep " $destdir/" /proc/mounts | > while read dev mnt rest; do umount -v "$mnt"; done > >+ umount -vl "$destdir/run" ||: >+ sleep 1 > umount -v "$destdir" || return 1 > } > >@@ -101,7 +103,7 @@ > stop_mdraid() { > # saving state is only important *after* evms > if [ -f /proc/mdstat -a -x "$MDADM" ]; then >- "$MDADM" --examine --scan > /tmp/mdadm.conf >+ "$MDADM" --examine --scan | grep '^ARRAY /dev/md[0-9]' > /tmp/mdadm.conf > "$MDADM" --stop --scan > fi > } >@@ -131,6 +133,7 @@ > "$CRYPTSETUP" --key-file "$CRYPTSETUP_KEY" luksOpen "$device" "$(basename "$device")_luks" > done > fi >+ : > } > > mount_chroot() {
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 31336
:
6394
| 6395