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

Toshio Kuratomi a.badger at gmail.com
Fri Sep 6 14:59:29 UTC 2013


On Fri, Sep 06, 2013 at 02:05:45PM +0200, Aurélien Bompard wrote:
> 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?
>
+1

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20130906/cc6a3649/attachment.sig>


More information about the infrastructure mailing list