- ensure fax group id == fax user id
This commit is contained in:
parent
9b3a7fc929
commit
d9b1c74a4f
11
radvd.spec
11
radvd.spec
@ -5,7 +5,7 @@
|
||||
Summary: A Router Advertisement daemon
|
||||
Name: radvd
|
||||
Version: 1.6
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# The code includes the advertising clause, so it's GPL-incompatible
|
||||
License: BSD with advertising
|
||||
Group: System Environment/Daemons
|
||||
@ -74,8 +74,10 @@ if [ $1 = 0 ]; then
|
||||
fi
|
||||
|
||||
%pre
|
||||
|
||||
/usr/sbin/useradd -c "radvd user" -r -M -s /sbin/nologin -u %{RADVD_UID} -d / radvd 2>/dev/null || :
|
||||
getent group radvd >/dev/null || groupadd -g %RADVD_UID -r radvd
|
||||
getent passwd radvd >/dev/null || \
|
||||
useradd -r -u %RADVD_UID -g radvd -d / -s /sbin/nologin -c "radvd user" radvd
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
@ -90,6 +92,9 @@ fi
|
||||
%{_sbindir}/radvdump
|
||||
|
||||
%changelog
|
||||
* Fri May 21 2010 Jiri Skala <jskala@redhat.com> - 1.6-2
|
||||
- ensure fax group id == fax user id
|
||||
|
||||
* Mon Mar 29 2010 Jiri Skala <jskala@redhat.com> - 1.6-1
|
||||
- update to latest upstream version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user