Bug 11203 - stap-server should not use /etc/rc.d/init.d/functions
Summary: stap-server should not use /etc/rc.d/init.d/functions
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: runtime (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Dave Brolley
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 11:12 UTC by Eugeniy Meshcheryakov
Modified: 2011-01-11 16:14 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugeniy Meshcheryakov 2010-01-21 11:12:03 UTC
stap-server and systemtap init script include /etc/rc.d/init.d/functions . This
file does not exist in all Linux distributions (for example Debian). I don't
know what does that file contain, but name looks similar to /lib/lsb/init-functions.
Comment 1 Dave Brolley 2010-01-21 16:58:31 UTC
(In reply to comment #0)
> I don't
> know what does that file contain, but name looks similar to
/lib/lsb/init-functions.

I suspect you're right. It contains initscript helper functions like 'success'
and 'failure'.
Comment 2 Dave Brolley 2011-01-10 22:40:41 UTC
commit 5ac7fee

Default functions are now provided in stap-server when /etc/rc.d/init.d/functions does not exist.
Comment 3 Dave Brolley 2011-01-11 16:14:07 UTC
commit 52244d5

Default functions are now also provided for initscript/systemtap.