Overview
Request 769966 superseded
- Again use setpriv but now switch to every single owner for clearing
the files of this owner (boo#1159740)
- Introduce a user mktex as replacement for user nobody (boo#1159740)
- Created by WernerFink
- In state superseded
- Supersedes 769055
- Superseded by 770139
- Open review for openSUSE:Factory:Staging:I
instead of multiple packages having code to create a user, you could make use of system-systuser machenism and have one spec file produce a sep package only responibsle for creating the user - the others could then Require (or requires(pre) user(%texusr)
See https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:I/dblatex/standard/x86_64
Seems like an interesting side-effect of this change
Request History
WernerFink created request
- Again use setpriv but now switch to every single owner for clearing
the files of this owner (boo#1159740)
- Introduce a user mktex as replacement for user nobody (boo#1159740)
staging-bot accepted review
Picked "openSUSE:Factory:Staging:I"
factory-auto added opensuse-review-team as a reviewer
Please review sources
staging-bot set openSUSE:Factory:Staging:I as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:I"
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar accepted review
superseded by 770139
%{_bindir}/getent group %{texusr} > /dev/null 2>&1 || %{_sbindir}/useradd -r %{?texuid:-u %texuid} -g %{texgrp} -d %{_fontcache} -s /bin/false %{texusr}
=> I assume you wanted
getent passwd
here -> checking if the user exists and if not, create it (not checking if the group exists and if not, create the user)Indeed, thanks for spotting!