From 398455d69167d3072a9d2d52a9ba64d0f45ee017 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Wed, 30 Aug 2017 13:36:20 -0500 Subject: [PATCH] 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 --- redhat/frr.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5