Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19883 - Improvements to the svc_status() function within /sbin/runscript.sh
Summary: Improvements to the svc_status() function within /sbin/runscript.sh
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 10:31 UTC by Marc Jauvin
Modified: 2005-11-27 10:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new svc_status() function for /sbin/runscript.sh (svc_status.txt,826 bytes, text/plain)
2003-04-24 10:34 UTC, Marc Jauvin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Jauvin 2003-04-24 10:31:13 UTC
Those changes allow runscript.sh to find out if a process is still alive.
(${svcdir}/started/${myservice} is NOT enough)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marc Jauvin 2003-04-24 10:34:55 UTC
Created attachment 11072 [details]
new svc_status() function for /sbin/runscript.sh
Comment 2 Marc Jauvin 2003-04-24 10:37:01 UTC
The attachment is formated with tabwidth=4 (vim), so it looks like shit on the web form...
Comment 3 Marc Jauvin 2003-04-25 09:11:35 UTC
Hmmm, seems this does not work well after all; the services where the daemon name is different than the service name are not handled properly.

--marc
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-26 15:56:56 UTC
The idea looks nice.  I though have to get the daemon code revamped and finised
before I can get something like this going.
Comment 5 SpanKY gentoo-dev 2005-11-27 10:09:13 UTC
the service code has undergone a lot of improvements in baselayout 1.12.x and
newer ... please file a new bug with a new patch if they are not satisfactory