Actions
Bug #6783
closedBug #6737: Make all techniques compatible with systemd changes
generic_process_check_bootstart in initial promises is not compatible with systemd
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
After installing a server on CentOS7 :
R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check apache process@@None@@2015-06-23 09:59:48+00:00##root@#The apache process is already running 2015-06-23T09:59:49+0000 error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/commands/'/sbin/chkconfig --list httpd | grep -q on'[0]: Finished command related to promiser '/sbin/chkconfig --list httpd | grep -q on' -- an error occurred, returned 1 2015-06-23T09:59:49+0000 notice: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/commands/'/sbin/chkconfig httpd on'[0]: Q: ".../chkconfig http": Note: Forwarding request to 'systemctl enable httpd.service'. R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check apache boot script@@None@@2015-06-23 09:59:48+00:00##root@#apache has been set to start on boot 2015-06-23T09:59:49+0000 error: /default/root_component_check/methods/'any'[0]: Method 'generic_process_check_bootstart' failed in some repairs [...] R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check postgresql process@@None@@2015-06-23 09:59:48+00:00##root@#The postgresql process is already running 2015-06-23T09:59:50+0000 error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/commands/'/sbin/chkconfig --list postgresql | grep -q on'[0]: Finished command related to promiser '/sbin/chkconfig --list postgresql | grep -q on' -- an error occurred, returned 1 2015-06-23T09:59:50+0000 notice: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/commands/'/sbin/chkconfig postgresql on'[0]: Q: ".../chkconfig post": Note: Forwarding request to 'systemctl enable postgresql.service'. R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check postgresql boot script@@None@@2015-06-23 09:59:48+00:00##root@#postgresql has been set to start on boot 2015-06-23T09:59:50+0000 error: /default/root_component_check/methods/'any'[0]: Method 'generic_process_check_bootstart' failed in some repairs
because
# /sbin/chkconfig --list httpd | grep -q on Note: This output shows SysV services only and does not include native systemd services. SysV configuration data might be overridden by native systemd configuration. If you want to list systemd services use 'systemctl list-unit-files'. To see services enabled on particular target use 'systemctl list-dependencies [target]'.
Actions