Overview

Request 532417 superseded

- sysusers2shadow.sh: Exit if one of the useradd/groupadd/usermod
call fails: the resulting system is quite undefined if this
should happen.
- sysusers-generate-pre: exit the pre script with the exit code
of sysusers2shadow.sh.


Dominique Leuenberger's avatar

Grmbl".. Even though this change would be correct, we get ourselves into even more trouble - as while building sysuser-tools, sysuser-tools is not in the buildroot and thus the script itself is missing...

We could workaround this by enhancing the generated pre script, and acceptimg to skip if .buildenv exists but no /usr/sbin/sysuser2shadow... The resulting buildroot would be the same as before, with the difference that this very package could be built


Dominique Leuenberger's avatar

Needs some more thought to get it right


Dominique Leuenberger's avatar
-echo "exit 0"
+echo "exit $?"

Thinking about this - this is wrong: $? needs to be escaped (or the 'echo command' will already replace it with the output of the previous 'echo' - hence '0' again

Request History
Marcus Meissner's avatar

msmeissn created request

- sysusers2shadow.sh: Exit if one of the useradd/groupadd/usermod
call fails: the resulting system is quite undefined if this
should happen.
- sysusers-generate-pre: exit the pre script with the exit code
of sysusers2shadow.sh.


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:A as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:A"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked openSUSE:Factory:Staging:A


Dominique Leuenberger's avatar

dimstar_suse accepted review

Removing from openSUSE:Factory:Staging:A, re-evaluation needed


Dominique Leuenberger's avatar

dimstar_suse added factory-staging as a reviewer

Requesting new staging review


Factory Repo Checker's avatar

factory-repo-checker superseded request

superseded by 533650

openSUSE Build Service is sponsored by