Version: systemtap-initscript-0.9.7-5.el5 Description of problem: 1) Few commands are probably missing a linebreak, so they don't look very well when used. At least a space would look better. # service systemtap start Starting systemtap:Compiling one ...done Starting one ...done # service systemtap cleanup Cleaning up systemtap:Removing caches # service systemtap compile Compiling systemtap:Updating caches 2) Compile command output doesn't make sense: 'compiling systemtap' is not true, 'compiling systemtap scripts' is. 3) status command doesn't print any output when run with no scripts in script.d. Something like 'No systemtap scripts present' would be nice to have. # service systemtap status # 4) restart command should work like 'start' when everything is stopped, but it does not: # service systemtap status one is stopped # service systemtap restart Starting systemtap: [WARNING] # service systemtap status one is stopped 5) -y (say 'yes' to all querys) doesn't work. Other options seem to work fine. # service systemtap cleanup -y getopt: invalid option -- y Usage: systemtap {start|stop|restart|status|compile|cleanup} [option] Options: -c configfile : specify config file -r kernelrelease: specify kernel release version -R : recursively dependency checking -y : answer yes for all questions. script(s) : specify systemtap scripts # service systemtap compile -y getopt: invalid option -- y Usage: systemtap {start|stop|restart|status|compile|cleanup} [option] Options: -c configfile : specify config file -r kernelrelease: specify kernel release version -R : recursively dependency checking -y : answer yes for all questions. script(s) : specify systemtap scripts
Thank you for reporting! (In reply to comment #0) > 1) Few commands are probably missing a linebreak, so they don't look very well > when used. At least a space would look better. OK, I'll add a space. > 2) Compile command output doesn't make sense: 'compiling systemtap' is not > true, 'compiling systemtap scripts' is. Sure, and I'd like to change stop command message too. > 3) status command doesn't print any output when run with no scripts in > script.d. Something like 'No systemtap scripts present' would be nice to have. OK. > 4) restart command should work like 'start' when everything is stopped, but it > does not: OK. > 5) -y (say 'yes' to all querys) doesn't work. Other options seem to work fine. Ah, that's a bug. I'll fix it.
Fixed in systemtap upstream. http://sources.redhat.com/git/gitweb.cgi?p=systemtap.git;a=commit;h=98a1242d112575a8e65258f17611dd01c84fc45b
systemtap-1.1 in rhel5.5 includes the above commit.