Red Hat Bugzilla – Bug 971881
Shutting down Swift services trough initscripts doesn't add a newline
Last modified: 2016-04-26 14:04:15 EDT
+++ This bug was initially created as a clone of Bug #927423 +++
It would be nice if it was more explicit which command does a soft and which does a hard shutdown. Maybe add some note about it in the help message?
Also, I'm not getting a newline, so the output gets mangled up. This does not happen with the 'restart' command, for example.
[root@server ~]# service openstack-swift-proxy shutdown
[root@server ~]# ack-swift-proxy: [ OK ]
Created attachment 764792 [details]
I'm not sure about the help message. It is virtually unknown for
init scripts to include anything in the help message other than
a list of commands.
The missing newline was my bug, fix is attached for review.
I reviewed the patch, it adds an empty line at the end of the output to fix output (code review only, not verified).
It does not address the hard vs. soft shutdown issue though.
For that if you want, please file an 'improvement' bug.
So, what exactly is the [needinfo] question?
This is fixed in RHOS 3 1.8.0-7, verified in RHOS 4 1.9.1-1.