← Back to team overview

ius-coredev team mailing list archive

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

 

Howdy Danny,

Thanks for the bug report!  I actually just fixed this.

https://github.com/iuscommunity-
pkg/httpd24u/commit/50d548a5a56be20f0d7a549b8b8a199f106524f8

I stumbled across the issue this morning from an issue reported on the
package source github repo.

https://github.com/iuscommunity-pkg/httpd24u/issues/3

New builds are in progress.

** Changed in: ius
       Status: New => In Progress

-- 
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:
  In Progress

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


References