Request History
puzel created request
bnc#680123, bnc#683293
coolo approved review
Builds for repo openSUSE_Factory
Output of check script (non-fatal):
--------------------------------------------------------------
smolt/smolt.spec has a %pre with groupadd and/or useradd
please check if this is ok:
-----------------master-table-entry:--------------------------
-----------------specfile section:----------------------------
%pre
if [ -f %{_sysconfdir}/smolt/uuid -a ! -f %{_sysconfdir}/smolt/hw-uuid ]
then
/bin/mv %{_sysconfdir}/smolt/uuid %{_sysconfdir}/smolt/hw-uuid
/bin/chmod 0644 %{_sysconfdir}/smolt/hw-uuid
/bin/chown root:root %{_sysconfdir}/smolt/hw-uuid
fi
groupadd -r %{name} &>/dev/null || :
useradd -r -s /sbin/nologin -d %{_datadir}/%{name} \
-c 'user for smolt' -g %{name} %{name} &>/dev/null || :
%post
%preun
%stop_on_removal smolt
--------------------------------------------------------------
saschpe accepted request
Accepted submit request 69700 from user coolo
licensedigger accepted review
{"approve": "license and version number unchanged: 1.4.3"}
coolo accepted review
Builds for repo openSUSE_Factory
Output of check script (non-fatal):
--------------------------------------------------------------
smolt/smolt.spec has a %pre with groupadd and/or useradd
please check if this is ok:
-----------------master-table-entry:--------------------------
-----------------specfile section:----------------------------
%pre
if [ -f %{_sysconfdir}/smolt/uuid -a ! -f %{_sysconfdir}/smolt/hw-uuid ]
then
/bin/mv %{_sysconfdir}/smolt/uuid %{_sysconfdir}/smolt/hw-uuid
/bin/chmod 0644 %{_sysconfdir}/smolt/hw-uuid
/bin/chown root:root %{_sysconfdir}/smolt/hw-uuid
fi
groupadd -r %{name} &>/dev/null || :
useradd -r -s /sbin/nologin -d %{_datadir}/%{name} \
-c 'user for smolt' -g %{name} %{name} &>/dev/null || :
%post
%preun
%stop_on_removal smolt
--------------------------------------------------------------