Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104055 Details for
Bug 156766
Shutdown/Reboot does not work with sys-apps/baselayout-1.13.0_alpha7-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Work without error?
x (text/plain), 860 bytes, created by
Roy Marples (RETIRED)
on 2006-12-14 11:20:06 UTC
(
hide
)
Description:
Work without error?
Filename:
MIME Type:
Creator:
Roy Marples (RETIRED)
Created:
2006-12-14 11:20:06 UTC
Size:
860 bytes
patch
obsolete
>Index: halt.sh >=================================================================== >--- halt.sh (revision 2421) >+++ halt.sh (working copy) >@@ -106,6 +106,11 @@ > continue > fi > >+ # If we're using the mount (probably /usr) then don't unmount us >+ if [[ " $(fuser -m "${x}" 2>/dev/null) " == *" $$ "* ]] ; then >+ continue >+ fi >+ > if ! umount "${x}" &>/dev/null; then > # Kill processes still using this mount > /bin/fuser -s -k -9 -m "${x}" >@@ -156,9 +161,13 @@ > > for x in $(awk '{print $2}' /proc/mounts | sort -ur) ; do > x=${x//\\040/ } >- if [[ -n $(echo "${x}" | egrep "${RC_NO_UMOUNTS}") ]] ; then >+ >+ # Do not umount these ... will be different depending on value of CDBOOT >+ if [[ ${x} != "/" \ >+ && -n $(echo "${x}" | egrep "${RC_NO_UMOUNTS}") ]] ; then > continue > fi >+ > if [[ ${cmd} == "u" ]]; then > umount -n -r "${x}" > else
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 156766
:
104045
|
104047
|
104054
| 104055