Bug 1219529

Summary: [Build 20240202] gnuhealth_install: no provider for group(tryton)
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Axel Braun <axel.braun>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: guillaume.gardet
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/3913702/modules/gnuhealth_install/steps/12
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2024-02-04 01:29:41 UTC
## Observation

Gnuhealth is currently uninstallable.
The introduction of rpm 4.19 resulted in this error

Any package that declares special owner on files get an automatic dependency on the respective user/group.

If said user/group are generated by means of Stausees.d, the provides are automatically added by rpm.

In case the user is manually created using add user/add group in a pre script, the capability needs to be manually advertised using
provides: user(username)
Provides: group(group name)

Preferably the packages are converted to sysusers to generate the user, but manually adding the provides is a valid stop-measure.



openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-gnuhealth@64bit fails in
[gnuhealth_install](https://openqa.opensuse.org/tests/3913702/modules/gnuhealth_install/steps/12)

## Test suite description
Maintainer: community packages
Test scenario for gnuhealth software stack.

* 2020-11-17: Temporarily added `QEMUCPU=host` needed to prevent openCV crashes within the SUT, see [boo#1178453](https://bugzilla.opensuse.org/show_bug.cgi?id=1178453) but I removed it again to not hide the product issue.
* 2021-03-12: Added `QEMUCPU=host` again as there was no better solution found so far.


## Reproducible

Fails since (at least) Build [20240202](https://openqa.opensuse.org/tests/3913702) (current job)


## Expected result

Last good: [20240201](https://openqa.opensuse.org/tests/3910595) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=gnuhealth&version=Tumbleweed)
Comment 1 Axel Braun 2024-02-07 21:09:25 UTC
SR #1144210 has fixed this issue, please check