diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-04-20 07:45:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-20 07:45:08 -0400 |
| commit | 83bbdb5e145b84000ceb34ed80873009d1c5ba2c (patch) | |
| tree | a84b65d89c403c64bea418fd8282791f4fced4e4 /redhat | |
| parent | 831a15d3e3352ffe84e3a30144f4fe96f191dd62 (diff) | |
| parent | b5b09eee6df283c120f9db459a61c9cc4828f59d (diff) | |
Merge pull request #11052 from opensourcerouting/fix/log_dir_permissions
packaging: A couple of fixes for /var/log/frr
Diffstat (limited to 'redhat')
| -rw-r--r-- | redhat/frr.spec.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 9756bfbbdd..73c214ea2e 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -432,7 +432,8 @@ popd %install mkdir -p %{buildroot}%{_sysconfdir}/{frr,sysconfig,logrotate.d,pam.d,default} \ - %{buildroot}%{_localstatedir}/log/frr %{buildroot}%{_infodir} + %{buildroot}%{_infodir} +mkdir -m 0755 -p %{buildroot}%{_localstatedir}/log/frr make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install # Remove this file, as it is uninstalled and causes errors when building on RH9 @@ -639,11 +640,11 @@ fi /usr/share/yang/*.yang %if 0%{?frr_user:1} %dir %attr(751,%{frr_user},%{frr_user}) %{configdir} - %dir %attr(750,%{frr_user},%{frr_user}) %{_localstatedir}/log/frr + %dir %attr(755,%{frr_user},%{frr_user}) %{_localstatedir}/log/frr %dir %attr(751,%{frr_user},%{frr_user}) %{rundir} %else %dir %attr(750,root,root) %{configdir} - %dir %attr(750,root,root) %{_localstatedir}/log/frr + %dir %attr(755,root,root) %{_localstatedir}/log/frr %dir %attr(750,root,root) %{rundir} %endif %{_infodir}/frr.info.gz @@ -918,7 +919,7 @@ sed -i 's/ -M rpki//' %{_sysconfdir}/frr/daemons - Add ability to show BGP routes from a particular table version - Add support for for RFC 8050 (MRT add-path) - Add SNMP support for MPLS VPN -- Add `show bgp summary wide` command to show more detailed output +- Add `show bgp summary wide` command to show more detailed output on wide terminals - Add ability for peer-groups to have `ttl-security hops` configured - Add support for conditional Advertisement |
