SHA256
1
0
forked from pool/system-users

Accepting request 523677 from home:sbrabec:branches:util-linux-1057937

- Add system-user-uuidd.conf (boo#1057937#c3).

OBS-URL: https://build.opensuse.org/request/show/523677
OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=27
This commit is contained in:
Thorsten Kukuk 2017-09-13 09:43:46 +00:00 committed by Git OBS Bridge
parent c66194d537
commit 3de1a0fc5b
3 changed files with 26 additions and 0 deletions

3
system-user-uuidd.conf Normal file
View File

@ -0,0 +1,3 @@
# Type Name ID GECOS [HOME]
g uuidd -
u uuidd - "User for uuidd" /var/run/uuidd

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 12 12:31:55 CEST 2017 - sbrabec@suse.com
- Add system-user-uuidd.conf (boo#1057937#c3).
-------------------------------------------------------------------
Mon Aug 21 08:48:31 CEST 2017 - kukuk@suse.de

View File

@ -37,6 +37,7 @@ Source13: system-user-ftp.conf
Source14: system-user-lp.conf
Source15: system-user-nobody.conf
Source16: system-user-upsd.conf
Source17: system-user-uuidd.conf
BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools
BuildArch: noarch
@ -176,6 +177,15 @@ Requires(pre): group(daemon)
%description -n system-user-upsd
This package provides the system account 'upsd'.
%package -n system-user-uuidd
Summary: System user and group uuidd
#!BuildIgnore: group(daemon)
Group: System/Fhs
Requires(pre): group(daemon)
%{sysusers_requires}
%description -n system-user-uuidd
This package provides the system account and group 'uuidd'.
%prep
%setup -q -c -T
@ -196,6 +206,7 @@ This package provides the system account 'upsd'.
%sysusers_generate_pre %{SOURCE14} lp
%sysusers_generate_pre %{SOURCE15} nobody
%sysusers_generate_pre %{SOURCE16} upsd
%sysusers_generate_pre %{SOURCE17} uuidd
%install
mkdir -p %{buildroot}%{_sysusersdir}
@ -206,6 +217,7 @@ mkdir -p %{buildroot}%{_localstatedir}/cache/man
mkdir -p %{buildroot}%{_localstatedir}/lib/wwwrun
mkdir -p %{buildroot}%{_localstatedir}/spool/clientmqueue
mkdir -p %{buildroot}%{_localstatedir}/spool/lpd
mkdir -p %{buildroot}%{_localstatedir}/run/uuidd
mkdir -p %{buildroot}/srv/ftp
mkdir -p %{buildroot}%{_localstatedir}/lib/nobody
install -m 644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-uucp.conf
@ -223,6 +235,7 @@ install -m 644 %{SOURCE13} %{buildroot}%{_sysusersdir}/system-user-ftp.conf
install -m 644 %{SOURCE14} %{buildroot}%{_sysusersdir}/system-user-lp.conf
install -m 644 %{SOURCE15} %{buildroot}%{_sysusersdir}/system-user-nobody.conf
install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
install -m 644 %{SOURCE17} %{buildroot}%{_sysusersdir}/system-user-uuidd.conf
%pre -n system-user-uucp -f uucp.pre
%pre -n system-user-games -f games.pre
@ -242,6 +255,7 @@ install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
/usr/sbin/usermod -s /bin/bash nobody
%pre -n system-user-upsd -f upsd.pre
%pre -n system-user-uuidd -f uuidd.pre
%files -n system-user-uucp
%defattr(-,root,root)
@ -312,4 +326,8 @@ install -m 644 %{SOURCE16} %{buildroot}%{_sysusersdir}/system-user-upsd.conf
%defattr(-,root,root)
%{_sysusersdir}/system-user-upsd.conf
%files -n system-user-uuidd
%defattr(-,root,root)
%{_sysusersdir}/system-user-uuidd.conf
%changelog