Bug 2482941

Summary: "rpm-ostree upgrade" fails with wireshark-cli's group
Product: [Fedora] Fedora Reporter: Jan E <jeebjp+fedora>
Component: wiresharkAssignee: Michal Ruprich <mruprich>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: alekcejk, fhrdina, huzaifas, lemenkov, mruprich
Target Milestone: ---Keywords: Desktop, Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
system_information_and_rpm-ostreed_log.txt none

Description Jan E 2026-05-28 21:44:01 UTC
`rpm-ostree upgrade` fails with `Txn Upgrade on /org/projectatomic/rpmostree1/fedora failed: While applying overrides for pkg wireshark-cli: Could not find group 'wireshark' in group file` after rebooting into an image with `wireshark` installed.

Reproducible: Always

Steps to Reproduce:
1. Install/boot `rpm-ostree` based distribution (tested on Kinoite specifically, but I expect this to be generic)
2. Install `wireshark` with `rpm-ostree install wireshark`
3. Reboot into this new image with `wireshark` installed
4. Try running `rpm-ostree upgrade`

If 4. succeeds, try adding the `wireshark` group into `/etc/group` from `/usr/lib/group`.
Actual Results:
Failure with
```
Txn Upgrade on /org/projectatomic/rpmostree1/fedora failed: While applying overrides for pkg wireshark-cli: Could not find group 'wireshark' in group file
```

Expected Results:
Success with
```
Txn Upgrade on /org/projectatomic/rpmostree1/fedora successful
```

Additional Information:
```
# grep "wireshark" /usr/lib/group
wireshark:x:959:
```

```
# cat /etc/group
root:x:0:
wheel:x:10:jeeb
jeeb:x:1000:
wireshark:x:959:jeeb
```

Comment 1 Jan E 2026-05-28 21:48:20 UTC
Created attachment 2143244 [details]
system_information_and_rpm-ostreed_log.txt

Comment 2 Jan E 2026-05-31 19:19:33 UTC
After a reboot the state of affairs is still the same, so doing a reboot after modifying local `/etc/group` doesn't change the state of affairs.

All of the following groups get created fine and logged for the new image, but the `wireshark` one is nowhere to be seen and then causes the failure at the end of the process
```
May 31 22:04:35 rpm-ostree[5016]: Creating group 'qemu' with GID 107.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'libvirt' with GID 961.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'qat' with GID 960.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'screen' with GID 84.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'usbmon' with GID 958.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'clevis' with GID 957.
May 31 22:04:35 rpm-ostree[5016]: Creating user 'clevis' (Clevis Decryption Framework unprivileged user) with UID 957 and GID 957.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'dhcpcd' with GID 956.
May 31 22:04:35 rpm-ostree[5016]: Creating user 'dhcpcd' (Minimalistic DHCP client) with UID 956 and GID 956.
May 31 22:04:35 rpm-ostree[5016]: Creating group 'firebird' with GID 955.
May 31 22:04:35 rpm-ostree[5016]: Creating user 'firebird' (n/a) with UID 955 and GID 955.
May 31 22:04:35 rpm-ostree[5016]: Creating user 'qemu' (qemu user) with UID 107 and GID 107.
```

As my base image is now getting rather old due to upgrades failing, I will now do the previously-mentioned-on-forum workaround of uninstalling wireshark, upgrading, and then installing wireshark again.