Bug 1219540 - [Build 20240202] RMT Server uninstallable - missing user provides
Summary: [Build 20240202] RMT Server uninstallable - missing user provides
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: SCC Bugs
QA Contact: E-mail List
URL: https://openqa.opensuse.org/tests/391...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-04 06:54 UTC by Dominique Leuenberger
Modified: 2024-07-08 11:00 UTC (History)
2 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2024-02-04 06:54:37 UTC
## Observation

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-yast2_ncurses@64bit fails in
[yast2_rmt](https://openqa.opensuse.org/tests/3914067/modules/yast2_rmt/steps/4)

## Test suite description
Maintainer: qsf-y Test for yast2 UI, ncurses only. Running on created gnome images which provides both text console for ncurses UI tests as well as the gnome environment for the GUI tests.
riafarov set TIMEOUT_SCALE to improve stability of the test.


## Reproducible

Fails since (at least) Build [20221123](https://openqa.opensuse.org/tests/2899189)


## Expected result

Last good: (unknown) (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=yast2_ncurses&version=Tumbleweed)
Comment 1 Stefan Hundhammer 2024-02-05 09:06:11 UTC
The underlying problem is in the 'rmt-server' package (see https://openqa.opensuse.org/tests/3914067#step/yast2_rmt/4) which is maintained by the SCC team:

osc maintainer -e rmt-server
Defined in package: systemsmanagement:SCC:RMT/rmt-server 
  bugowner of rmt-server : 
   scc-bugs@suse.de

  maintainer of rmt-server : 
   scc-bugs@suse.de, -

Defined in project:  systemsmanagement:SCC:RMT
  bugowner of rmt-server : 
   scc-bugs@suse.de

  maintainer of rmt-server : 
   -, -

Defined in project:  systemsmanagement:SCC
  bugowner of rmt-server : 
   scc-bugs@suse.de

  maintainer of rmt-server : 
   fmccarthy@suse.com, moio@suse.com, scc-bugs@suse.de, -, -

Defined in project:  systemsmanagement
  bugowner of rmt-server : 
   -

  maintainer of rmt-server : 
   lrupp@suse.com, anicka@suse.com, ohering@suse.com, trenn@suse.com, duwe@suse.com, kkaempf@suse.com, jfehlig@suse.com, chris@computersalat.de, boris@steki.net, rsalevsky@suse.com, thomasbechtold@jpberlin.de, opensuse_buildservice@ojkastl.de, -


And yast2-rmt is also maintained by the SCC team.
Comment 2 Felix Schnizlein 2024-02-05 12:36:11 UTC
Thanks for letting us now. We will adapt the spec file to add the provides line for the RMT user and group.

Tracked here: https://trello.com/c/8gJvbiDf/3184-cootw-2024w6

cheers,

Felix
Comment 4 OBSbugzilla Bot 2024-03-07 17:35:08 UTC
This is an autogenerated message for OBS integration:
This bug (1219540) was mentioned in
https://build.opensuse.org/request/show/1156024 Factory / rmt-server
Comment 6 Dominique Leuenberger 2024-03-14 11:57:41 UTC
(In reply to OBSbugzilla Bot from comment #4)
> This is an autogenerated message for OBS integration:
> This bug (1219540) was mentioned in
> https://build.opensuse.org/request/show/1156024 Factory / rmt-server

=> FIXED
Comment 8 Maintenance Automation 2024-03-22 12:30:59 UTC
SUSE-RU-2024:0955-1: An update that contains one feature and has six fixes can now be installed.

Category: recommended (moderate)
Bug References: 1215176, 1216389, 1218775, 1219153, 1219540, 1221223
Jira References: PED-3734
Maintenance Incident: [SUSE:Maintenance:32977](https://smelt.suse.de/incident/32977/)
Sources used:
openSUSE Leap 15.5 (src):
 rmt-server-2.15-150500.3.9.2
Public Cloud Module 15-SP5 (src):
 rmt-server-2.15-150500.3.9.2
Server Applications Module 15-SP5 (src):
 rmt-server-2.15-150500.3.9.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 Maintenance Automation 2024-03-22 12:31:01 UTC
SUSE-RU-2024:0954-1: An update that contains one feature and has six fixes can now be installed.

Category: recommended (moderate)
Bug References: 1215176, 1216389, 1218775, 1219153, 1219540, 1221223
Jira References: PED-3734
Maintenance Incident: [SUSE:Maintenance:32978](https://smelt.suse.de/incident/32978/)
Sources used:
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src):
 rmt-server-2.15-150200.3.38.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src):
 rmt-server-2.15-150200.3.38.1
Public Cloud Module 15-SP2 (src):
 rmt-server-2.15-150200.3.38.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src):
 rmt-server-2.15-150200.3.38.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 10 Maintenance Automation 2024-03-22 12:31:02 UTC
SUSE-RU-2024:0953-1: An update that contains one feature and has six fixes can now be installed.

Category: recommended (moderate)
Bug References: 1215176, 1216389, 1218775, 1219153, 1219540, 1221223
Jira References: PED-3734
Maintenance Incident: [SUSE:Maintenance:32979](https://smelt.suse.de/incident/32979/)
Sources used:
openSUSE Leap 15.3 (src):
 rmt-server-2.15-150300.3.30.1
Public Cloud Module 15-SP3 (src):
 rmt-server-2.15-150300.3.30.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src):
 rmt-server-2.15-150300.3.30.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src):
 rmt-server-2.15-150300.3.30.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src):
 rmt-server-2.15-150300.3.30.1
SUSE Enterprise Storage 7.1 (src):
 rmt-server-2.15-150300.3.30.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 11 Maintenance Automation 2024-03-22 12:31:06 UTC
SUSE-RU-2024:0952-1: An update that contains one feature and has six fixes can now be installed.

Category: recommended (moderate)
Bug References: 1215176, 1216389, 1218775, 1219153, 1219540, 1221223
Jira References: PED-3734
Maintenance Incident: [SUSE:Maintenance:32980](https://smelt.suse.de/incident/32980/)
Sources used:
openSUSE Leap 15.4 (src):
 rmt-server-2.15-150400.3.18.2
Public Cloud Module 15-SP4 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Manager Proxy 4.3 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Manager Retail Branch Server 4.3 (src):
 rmt-server-2.15-150400.3.18.2
SUSE Manager Server 4.3 (src):
 rmt-server-2.15-150400.3.18.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.