`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 ```
Created attachment 2143244 [details] system_information_and_rpm-ostreed_log.txt
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.