Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Unable to install udisks2 in Fedora IoT 31 Version-Release number of selected component (if applicable): Latest version provided by Fedora IoT packages How reproducible: rpm-ostree install udisks2 Steps to Reproduce: 1. rpm-ostree install udisks2 Actual results: error: Running %post for udisks2: Executing bwrap(/bin/sh): Child process killed by signal 1; run `journalctl -t 'rpm-ostree(udisks2.post)'` for more information Expected results: udisk2 is installed after a systemctl reboot Additional info: Works in Fedora Workstation and Server, only reproducible in IoT [root@fedora-iot-1 ~]# rpm-ostree install udisks2 Checking out tree 09f333e... done Enabled rpm-md repositories: fedora-modular updates-testing fedora updates-testing-modular updates-modular updates rpm-md repo 'fedora-modular' (cached); generated: 2019-09-17T21:34:28Z Updating metadata for 'updates-testing'... done rpm-md repo 'updates-testing'; generated: 2019-09-19T01:38:55Z rpm-md repo 'fedora' (cached); generated: 2019-09-18T09:10:08Z Updating metadata for 'updates-testing-modular'... done rpm-md repo 'updates-testing-modular'; generated: 2019-09-19T04:01:22Z Updating metadata for 'updates-modular'... done rpm-md repo 'updates-modular'; generated: 2018-02-20T19:18:14Z Updating metadata for 'updates'... done rpm-md repo 'updates'; generated: 2018-02-20T19:18:14Z Importing rpm-md... done Resolving dependencies... done Will download: 49 packages (20.7 MB) Downloading from 'updates-testing'... done Downloading from 'updates-testing-modular'... done Downloading from 'fedora'... done Importing packages... done Checking out packages... done Running pre scripts... done Running post scripts... done error: Running %post for udisks2: Executing bwrap(/bin/sh): Child process killed by signal 1; run `journalctl -t 'rpm-ostree(udisks2.post)'` for more information
Created attachment 1617282 [details] output of journalctl -t 'rpm-ostree(udisks2.post)'
We trigger udev to reload newly installed udev rules. According to the attached log file the environment looks too limited and udev might not work properly itself. Probably caused by ostree, reassigning. Running storage management tools inside of containers (or limited environments some other way) is a very bad idea generally. The only thing we can do is to ignore return codes from udevadm calls, but the problem with udev still stands.
rpm-ostree performs offline updates, which means that scriptlets are not run directly on the live host. See more info on this in https://bugzilla.redhat.com/show_bug.cgi?id=1352154 (esp. https://bugzilla.redhat.com/show_bug.cgi?id=1352154#c6). I've opened a patch which gets this working: https://src.fedoraproject.org/rpms/udisks2/pull-request/3 Going to re-assign this to udisks2; we can re-assign it to rpm-ostree if needed following discussions.
FEDORA-2019-febb2b29ae has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-febb2b29ae
udisks2-2.8.4-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-febb2b29ae
udisks2-2.8.4-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.