Bug 2046458 - setroubleshoot-server update fails in preinstall script trying to `useradd` on a group that already exists
Summary: setroubleshoot-server update fails in preinstall script trying to `useradd` o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-26 18:00 UTC by Nate Graham
Modified: 2022-02-17 03:14 UTC (History)
5 users (show)

Fixed In Version: setroubleshoot-3.3.28-3.fc35
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-17 03:14:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nate Graham 2022-01-26 18:00:47 UTC
$ sudo dnf upgrade

Dependencies resolved.
====================================================================================================
 Package                         Architecture     Version                   Repository         Size
====================================================================================================
Upgrading:
 setroubleshoot-server           x86_64           3.3.27-2.fc35             updates           317 k

Transaction Summary
====================================================================================================
Upgrade  1 Package

Total download size: 317 k
Is this ok [y/N]: y
Downloading Packages:
setroubleshoot-server-3.3.27-2.fc35.x86_64.rpm                      359 kB/s | 317 kB     00:00    
----------------------------------------------------------------------------------------------------
Total                                                               196 kB/s | 317 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                            1/1 
  Running scriptlet: setroubleshoot-server-3.3.27-2.fc35.x86_64                                 1/2 
useradd: group setroubleshoot exists - if you want to add this user to that group, use -g.
error: %prein(setroubleshoot-server-3.3.27-2.fc35.x86_64) scriptlet failed, exit status 9

Error in PREIN scriptlet in rpm package setroubleshoot-server
  Verifying        : setroubleshoot-server-3.3.27-2.fc35.x86_64                                 1/2 
  Verifying        : setroubleshoot-server-3.3.26-5.fc35.x86_64                                 2/2 

Failed:
  setroubleshoot-server-3.3.26-5.fc35.x86_64       setroubleshoot-server-3.3.27-2.fc35.x86_64      

Error: Transaction failed

Comment 1 Fedora Update System 2022-02-09 12:00:22 UTC
FEDORA-2022-611d8856d5 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-611d8856d5

Comment 2 Fedora Update System 2022-02-10 02:56:46 UTC
FEDORA-2022-611d8856d5 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-611d8856d5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-611d8856d5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-02-17 03:14:44 UTC
FEDORA-2022-611d8856d5 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.