Project

General

Profile

Actions

Bug #6783

closed

Bug #6737: Make all techniques compatible with systemd changes

generic_process_check_bootstart in initial promises is not compatible with systemd

Added by Alexis Mousset almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
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 #1

Updated by Alexis Mousset almost 9 years ago

  • Parent task set to #6737
Actions #2

Updated by Alexis Mousset almost 9 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset almost 9 years ago

  • Status changed from In progress to New
  • Assignee deleted (Alexis Mousset)
Actions #4

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 3.0.7 to 3.0.8
Actions #5

Updated by Alexis Mousset almost 9 years ago

  • Status changed from New to Rejected

generic_process_check_bootstart has been removed from initial-promises in #6833.

Closing.

Actions

Also available in: Atom PDF