Bug 962069
| Summary: | Use pid file for checking status | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Ruben Kerkhof <ruben> |
| Component: | shellinabox | Assignee: | Simone Caronni <negativo17> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | negativo17 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-03 10:20:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
shellinabox-2.14-22.git88822c1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/shellinabox-2.14-22.git88822c1.fc19 shellinabox-2.14-22.git88822c1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/shellinabox-2.14-22.git88822c1.fc18 shellinabox-2.14-22.git88822c1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/shellinabox-2.14-22.git88822c1.fc17 shellinabox-2.14-22.git88822c1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/shellinabox-2.14-22.git88822c1.el6 shellinabox-2.14-22.git88822c1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/shellinabox-2.14-22.git88822c1.el5 shellinabox-2.14-22.git88822c1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. shellinabox-2.14-22.git88822c1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. shellinabox-2.14-22.git88822c1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. shellinabox-2.14-22.git88822c1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. shellinabox-2.14-22.git88822c1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: service shellinaboxd stop just stopped my shellinabox processes which were running under supervisor. It shouldn't do that, but use the pidfile to decide which processes to kill. This can be fixed by applying: diff --git a/shellinaboxd.init b/shellinaboxd.init index db7c55e..f62c4aa 100644 --- a/shellinaboxd.init +++ b/shellinaboxd.init @@ -46,7 +46,7 @@ start() { stop() { echo -n $"Stopping $prog: " - killproc $prog + killproc -p /var/run/$prog.pid $prog retval=$? echo [ $retval -eq 0 ] && rm -f $lockfile @@ -68,7 +68,7 @@ force_reload() { rh_status() { # run checks to determine if the service is running or use generic status - status $prog + status -p /var/run/$prog.pid $prog }