Freeze break request: /etc/init.d/httpd is not executable
Aurélien Bompard
gauret at free.fr
Fri Sep 6 12:05:45 UTC 2013
Hi there,
This is a trivial fix, on mailman01 the /etc/init.d/httpd script was
copied (hotfix) without setting the executable bit:
$ ls -l /etc/init.d/httpd
-rw-r--r-- 1 root root 3449 5 sept. 16:38 /etc/init.d/httpd
As a result Ansible can't start Apache.
This is my proposed one-liner fix:
--- a/tasks/apache.yml
+++ b/tasks/apache.yml
@@ -21,6 +21,7 @@
# install hash randomization hotfix
- name: hotfix - copy over new httpd init script
copy: src=$files/hotfix/httpd/httpd.init dest=/etc/init.d/httpd
+ owner=root group=root mode=0755
notify:
- restart apache
tags:
Is it OK? Did anything depend on the previous behavior?
Aurélien
--
http://aurelien.bompard.org ~~~~~~ xmpp:aurelien at bompard.org
"Life is what happens to you while you're busy making other plans."
-- John Lennon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130906/c17c068f/attachment.sig>
More information about the infrastructure
mailing list