mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 21:50:39 +00:00
redhat: Fix runtime dependency and quaggavty group
1) Fix runtime to depend on initscripts 2) Fix quagga user to get quaggavty group Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
1018422a57
commit
f676b06e48
@ -100,7 +100,7 @@ Requires(preun): /sbin/install-info
|
|||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
BuildRequires: texi2html texinfo autoconf patch libcap-devel groff
|
BuildRequires: texi2html texinfo autoconf patch libcap-devel groff
|
||||||
BuildRequires: readline readline-devel ncurses ncurses-devel
|
BuildRequires: readline readline-devel ncurses ncurses-devel
|
||||||
Requires: ncurses
|
Requires: ncurses initscripts
|
||||||
%if %{with_pam}
|
%if %{with_pam}
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
Requires: pam
|
Requires: pam
|
||||||
@ -284,7 +284,11 @@ if getent passwd %quagga_user >/dev/null ; then : ; else \
|
|||||||
-M -r -s /sbin/nologin -c "Quagga routing suite" \
|
-M -r -s /sbin/nologin -c "Quagga routing suite" \
|
||||||
-d %_localstatedir %quagga_user 2> /dev/null || : ; \
|
-d %_localstatedir %quagga_user 2> /dev/null || : ; \
|
||||||
fi
|
fi
|
||||||
|
%if 0%{?vty_group:1}
|
||||||
|
/usr/sbin/usermod -a -G %vty_group %quagga_user
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# zebra_spec_add_service <service name> <port/proto> <comment>
|
# zebra_spec_add_service <service name> <port/proto> <comment>
|
||||||
|
Loading…
Reference in New Issue
Block a user