Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338070 Details for
Bug 455458
sys-process/psmisc: fuser hangs if processes have files open on dead remotes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add timeout to fuser command binary "timeout" from coreutils -- fixed
lib_rc_sh_rc-mount-sh_alternative_usr-bin-timeout_0.11.8.patch (text/plain), 519 bytes, created by
Frieder Bürzele
on 2013-02-06 12:18:47 UTC
(
hide
)
Description:
add timeout to fuser command binary "timeout" from coreutils -- fixed
Filename:
MIME Type:
Creator:
Frieder Bürzele
Created:
2013-02-06 12:18:47 UTC
Size:
519 bytes
patch
obsolete
>Use timeout from coreutils >--- a/lib/rc/sh/rc-mount.sh 2013-02-04 15:06:20.492478073 +0100 >+++ b/lib/rc/sh/rc-mount.sh 2013-02-05 11:17:17.013606599 +0100 >@@ -41,7 +41,8 @@ > retry=4 # Effectively TERM, sleep 1, TERM, sleep 1, KILL, sleep 1 > while ! LC_ALL=C $cmd "$mnt" 2>/dev/null; do > if type fuser >/dev/null 2>&1; then >- pids="$(fuser $f_opts "$mnt" 2>/dev/null)" >+ timeout=60 >+ pids="$(timeout -s KILL -k 10 "$timeout" fuser $f_opts "$mnt" 2>/dev/null)" > fi > case " $pids " in > *" $$ "*)
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 455458
:
337998
|
338000
|
338002
| 338070