[fedmsg] Fix the permissions on the systemd service files

Luke Macken lmacken at fedoraproject.org
Wed Oct 22 17:16:22 UTC 2014


commit 3123fdcfad51ce74f54f7abb75f447e54b63c365
Author: Luke Macken <lmacken at redhat.com>
Date:   Wed Oct 22 11:15:01 2014 -0600

    Fix the permissions on the systemd service files
    
    systemd[1]: Configuration file /usr/lib/systemd/system/fedmsg-hub.service is marked executable. Please remove executable permission bits. Proceeding anyway.

 fedmsg.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 8e7a58b..f138721 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -5,7 +5,7 @@
 
 Name:           fedmsg
 Version:        0.11.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Tools for Fedora Infrastructure real-time messaging
 Group:          Applications/Internet
 License:        LGPLv2+
@@ -181,13 +181,13 @@ PYTHONPATH=$(pwd) python setup.py test
 %{__install} initsys/sysv/fedmsg-gateway.init %{buildroot}%{_sysconfdir}/init.d/fedmsg-gateway
 %else
 %{__mkdir_p} %{buildroot}%{_unitdir}
-%{__install} initsys/systemd/fedmsg-hub.service \
+%{__install} -pm644 initsys/systemd/fedmsg-hub.service \
     %{buildroot}%{_unitdir}/fedmsg-hub.service
-%{__install} initsys/systemd/fedmsg-relay.service \
+%{__install} -pm644 initsys/systemd/fedmsg-relay.service \
     %{buildroot}%{_unitdir}/fedmsg-relay.service
-%{__install} initsys/systemd/fedmsg-irc.service \
+%{__install} -pm644 initsys/systemd/fedmsg-irc.service \
     %{buildroot}%{_unitdir}/fedmsg-irc.service
-%{__install} initsys/systemd/fedmsg-gateway.service \
+%{__install} -pm644 initsys/systemd/fedmsg-gateway.service \
     %{buildroot}%{_unitdir}/fedmsg-gateway.service
 %endif
 
@@ -295,6 +295,9 @@ fi
 %config(noreplace) %{_sysconfdir}/fedmsg.d/gateway.py*
 
 %changelog
+* Wed Oct 22 2014 Luke Macken <lmacken at redhat.com> - 0.11.0-2
+- Fix the permissions on the systemd service files
+
 * Thu Oct 09 2014 Ralph Bean <rbean at redhat.com> - 0.11.0-1
 - Fix harmless error about twisted.words at daemon startup.
 - Optional shortening of links in IRC.


More information about the scm-commits mailing list