Bug 1895614
Summary: | SELinux restorecon in %post fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> |
Component: | radicale | Assignee: | Peter Bieringer <pb> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | jorti, opensource, pb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | radicale-3.0.6-13.fc32 radicale-3.0.6-13.fc33 radicale-3.0.6-13.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-17 01:13:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Christian Stadelmann
2020-11-07 18:34:47 UTC
After I manually `mkdir /var/log/radicale`, the %post step does not fail any more: 2020-11-07T19:39:01+0100 INFO SELinux semodule store for radicale3 (targeted) SELinux semodule store for radicale3 (minimum) SELinux semodule store for radicale3 (mls) SKIPPED - policy not installed SELinux adjustments for radicale3 port tcp/5232 already done SELinux fixfiles for: radicale3 SELinux restorecon for: /var/log/radicale 2020-11-07T19:39:01+0100 SUBDEBUG Reinstalled: radicale3-3.0.6-11.fc33.noarch Should /var/log/radicale be a folder or a file? Which access permission is expected? Which user/group should be the owner? Or should this %post script be executed only if the folder is present? /var/log/radicale is obsolete in major version 3: - No longer package /var/log/radicale and the logrotate config for major version 3 (logs only to stdout/stderr now) but I forgot to remove that from the SELinux file context definition Please try fixed intermediate build for f33 https://koji.fedoraproject.org/koji/taskinfo?taskID=55132192 FEDORA-2020-5ad3abc09a has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5ad3abc09a had overseen relabel in post, also fixed now, see https://koji.fedoraproject.org/koji/buildinfo?buildID=1639503 FEDORA-2020-b5c3310553 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b5c3310553 FEDORA-EPEL-2020-a01b544713 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-a01b544713 FEDORA-2020-b5c3310553 has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-b5c3310553` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b5c3310553 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2020-a01b544713 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-a01b544713 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-5ad3abc09a has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5ad3abc09a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5ad3abc09a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-b5c3310553 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-5ad3abc09a has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2020-a01b544713 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |