Freeze break request: /etc/init.d/httpd is not executable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx
"Life is what happens to you while you're busy making other plans."
  -- John Lennon


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux