From: Matthew Smith Date: Wed, 30 Aug 2017 18:36:20 +0000 (-0500) Subject: redhat: Set permissions on systemd service file X-Git-Tag: frr-4.0-dev~357^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=398455d69167d3072a9d2d52a9ba64d0f45ee017;p=mirror%2Ffrr.git redhat: Set permissions on systemd service file Systemd on CentOS 7.3 logs a warning about the execute bit being set every time the frr service file is invoked by systemctl. Modify the spec file to explicitly set the permissions to 644. Signed-off-by: Matthew Smith --- diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index cc0632b562..ea8a312364 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -326,7 +326,7 @@ rm -f %{buildroot}%{_libdir}/frr/modules/*.la # install /etc sources %if "%{initsystem}" == "systemd" mkdir -p %{buildroot}%{_unitdir} -install %{zeb_rh_src}/frr.service \ +install -m644 %{zeb_rh_src}/frr.service \ %{buildroot}%{_unitdir}/frr.service install %{zeb_rh_src}/frr.init \ %{buildroot}%{_sbindir}/frr