← Back to team overview

ius-coredev team mailing list archive

[Bug 1446268] [NEW] httpd24u for RHEL6/CentOS6 incorrectly invokes systemd

 

Public bug reported:

The script /usr/sbin/apachectl incorrectly calls /usr/bin/systemctl for
starting and stopping the httpd service. systemd is not normally
installed on RHEL6 or CentOS6, and it is not listed as a package
dependency.

Example:

# service httpd graceful
/usr/sbin/apachectl: line 116: /usr/bin/systemctl: No such file or directory

The current workaround is to include an option parameter before the
action parameter, but this triggers a (harmless) warning:

# apachectl -k graceful
Passing arguments to httpd using apachectl is no longer supported.
You can only start/stop/restart httpd using this script.
If you want to pass extra arguments to httpd, edit the
/etc/sysconfig/httpd config file.

** Affects: ius
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1446268

Title:
  httpd24u for RHEL6/CentOS6 incorrectly invokes systemd

Status in IUS Community Project:
  New

Bug description:
  The script /usr/sbin/apachectl incorrectly calls /usr/bin/systemctl
  for starting and stopping the httpd service. systemd is not normally
  installed on RHEL6 or CentOS6, and it is not listed as a package
  dependency.

  Example:

  # service httpd graceful
  /usr/sbin/apachectl: line 116: /usr/bin/systemctl: No such file or directory

  The current workaround is to include an option parameter before the
  action parameter, but this triggers a (harmless) warning:

  # apachectl -k graceful
  Passing arguments to httpd using apachectl is no longer supported.
  You can only start/stop/restart httpd using this script.
  If you want to pass extra arguments to httpd, edit the
  /etc/sysconfig/httpd config file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1446268/+subscriptions


Follow ups

References