Bug 1487007
| Summary: | incorrect syntax in /etc/init.d/cobblerd cause error shown in message log | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | BetaBoy <hkbetaboy> |
| Component: | Installation | Assignee: | Jan Dobes <jdobes> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.6 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | cobbler20-2.0.11-71 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-20 12:30:53 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1564160 | ||
In next Spacewalk 2.8 release is there going to be systemd service file but fixing init.d file anyway, cobbler.git(release20): 78f29a11af24338eee6a485c7e7c6bc08d023020 Moving ON_QA Spacewalk 2.8 has been released. https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes28 |
Description of problem: Routine browsing through the message logs find these error lines: Aug 31 10:54:49 server1 systemd: [/run/systemd/generator.late/cobblerd.service:11] Failed to add dependency on network,.service, ignoring: Invalid argument Aug 31 10:54:49 server1 systemd: [/run/systemd/generator.late/cobblerd.service:12] Failed to add dependency on xinetd,.service, ignoring: Invalid argument and "systemctl status cobblerd.service" also showing red lines about these error. Further checking found that it is caused by /etc/init.d/cobblerd. Here is the fix I've applied to clear this error: # diff cobblerd.orig cobblerd 10c10 < # Required-Start: network, xinetd, httpd --- > # Required-Start: network xinetd httpd Could you help to fix this in the repo package? Thanks Version-Release number of selected component (if applicable): The cobbler is install from spacewalk repo by dependency: # rpm -q cobbler20 cobbler20-2.0.11-62.el7.noarch It is a new spacewalk 2.6 installation (RPM/YUM method).