| Summary: | service rhnsd * fails when system is not registered | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Jiří Mikulka <jmikulka> |
| Component: | Clients | Assignee: | Jan Pazdziora <jpazdziora> |
| Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.6 | CC: | jpazdziora |
| 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: | 2011-09-08 11:48:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 723481 | ||
According to http://fedoraproject.org/wiki/Packaging:SysVInitScript#Exit_Codes_for_non-Status_Actions the exist status 6 is exactly what we are supposed to return when the program is not configured. Closing as NOTABUG, please reopen if you disagree. |
Description of problem: service rhnsd [whatever] fails with exit code 6 when system is registered (according to systemIdPath=/path/to/systemId in /etc/sysconfig/rhn/up2date) but systemId file (/path/to/systemId) does not exists. Version-Release number of selected component (if applicable): rhnsd-4.7.0-10.el5 How reproducible: always if situation is like described above Steps to Reproduce: 1. register system to Spacewalk (obtain systemId, update /etc/sysconfig/rhn/up2date) 2. brute force unregistering system (remove /path/to/systemId) 3. service rhnsd {start|stop|status|restart|condrestart|reload} exits with 6 Actual results: service rhnsd * exits with 6 Expected results: should return some valuable information (about need to register system, remove not valid /path/to/systemId from /etc/sysconfig/rhn/up2date, ...) Additional info: