Bug 1748004
Summary: | SELinux is preventing systemd-machine from 'read' accesses on the directory /var/lib/mock/anaconda-rawhide-x86_64/root. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jiri Konecny <jkonecny> |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 31 | CC: | dwalsh, lvrabec, mgrepl, plautrba, zpytela |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:d014f011e9bf6886bed1409c5eb2afc789d6b8bc41315c7f2eb30a0c3bdc8d27;VARIANT_ID=workstation; | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-12 12:28:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1812955 | ||
Bug Blocks: |
Description
Jiri Konecny
2019-09-02 12:44:25 UTC
I forgot to say that the mock command is run as normal user in a mock group. Also I'm using tmpfs plugin. If you want I can try this without the plugin. Hi Jiri, Yes please, try it without all the plugins and attach please reproducer. Thanks, Lukas. I'm able to reproduce this with parallel running of two mocks with our script for tests. Most probably this is happening when there are two --chroot commands parallel but I wasn't able to create a minimal reproducer yet. I'll try to create the reproducer. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. Jiri, Did you manage to create the reproducer to trigger the issue? Yes, sorry for taking me so long. With a new mock-2.1-1 you can reproduce this by following these steps: 1) Enable tmpfs by creating ~/.config/mock.cfg with line: config_opts['plugin_conf']['tmpfs_enable'] = True 1) mock -r fedora-rawhide-x86_64 --scrub all # to clean everything you may have from before 2) mock -r fedora-rawhide-x86_64 --init # initialize, this will download packages and set caches 3) mock -r fedora-rawhide-x86_64 -i gnome-shell # start downloading any package 4) Press CTRL+C during the repo metadata download or later during the installation To reproduce the error second time it's enough to just go step 3 and 4. This is happening only with tmpfs plugin enabled. This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Not an issue for me anymore. It seems harmless and we are moving most of our use-cases away from mock. Thanks for letting us know. |