Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381178 Details for
Bug 482830
sys-block/tgt-1.0.24-r1 - init.d script always claims tgtd isn't running
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tgtd init patch
tgtd.init.patch (text/plain), 527 bytes, created by
Erik Mackdanz
on 2014-07-20 22:54:21 UTC
(
hide
)
Description:
tgtd init patch
Filename:
MIME Type:
Creator:
Erik Mackdanz
Created:
2014-07-20 22:54:21 UTC
Size:
527 bytes
patch
obsolete
>--- /usr/portage/sys-block/tgt/files/tgtd-1.0.24.initd 2012-03-14 10:07:11.000000000 +0000 >+++ /usr/portage/sys-block/tgt/files/tgtd-1.0.24.initd 2014-07-20 22:40:01.530002472 +0000 >@@ -116,9 +116,8 @@ > } > > status() { >- # Don't name this script "tgtd"... >- TGTD_PROC=$(ps -C tgtd | grep -c tgtd) >- if [ "$TGTD_PROC" -eq 2 ] ; then >+ TGTD_PROC=$(pidof -c -o $$ -o %PPID tgtd) >+ if [ -n "$TGTD_PROC" ] ; then > echo "tgtd is running. Run 'tgt-admin -s' to see detailed target info." > else > echo "tgtd is NOT running."
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 482830
: 381178