Overview

Request 588119 superseded

No description set
Loading...

Jan Engelhardt's avatar

Why does a library need shadow?


Yan Gao's avatar
author source maintainer

This sub-package creates the user and group commonly required by multiple cluster components/sub-packages.


Dominique Leuenberger's avatar
%pre -n libpacemaker3
getent group %{gname} >/dev/null || groupadd -r %{gname} -g 189
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nologin -c "cluster user" %{uname}
exit 0

But that means Requires: shadow is wrong: it only guarantees shadow to be present at the end of the transaction, but not explicitly at the point the pre script is running

You will need Requires(pre): shadow for this

Request History
Yan Gao's avatar

yan_gao created request


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


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:J as a staging project

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


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:J


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar declined review

Requires: shadow is wrong in this context. As you want to ensure shadow is installed at the time the pre script is running, you need Requires(pre): shadow.


Dominique Leuenberger's avatar

dimstar declined request

Requires: shadow is wrong in this context. As you want to ensure shadow is installed at the time the pre script is running, you need Requires(pre): shadow.


Yan Gao's avatar

yan_gao superseded request

superseded by 602488

openSUSE Build Service is sponsored by