Bug 2482941 - "rpm-ostree upgrade" fails with wireshark-cli's group
Summary: "rpm-ostree upgrade" fails with wireshark-cli's group
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: wireshark
Version: 44
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Ruprich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-28 21:44 UTC by Jan E
Modified: 2026-05-31 19:19 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
system_information_and_rpm-ostreed_log.txt (8.59 KB, text/plain)
2026-05-28 21:48 UTC, Jan E
no flags Details

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.


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