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

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

 



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

Attachment: pgpCFtgpZOjgK.pgp
Description: PGP 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