Bug 2185876

Summary: gssproxy postinstall scripts should not add content in /var
Product: [Fedora] Fedora Reporter: Massimo Gollo <massi.gollo>
Component: gssproxyAssignee: Simo Sorce <ssorce>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: abokovoy, gdeschner, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-15 12:07:18 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 Massimo Gollo 2023-04-11 13:30:02 UTC
Description of problem:

Packages should not leave content in /var at installation time as content in /var is dedicated for variable files. See FHS2.3: https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.pdf
However, unbound package ships content in /var


How reproducible:
Make a containerfile from fedora-coreos:stable. Install cockpit-machine package (it has deps including unbound) and build image

Steps to Reproduce:
1. make Containerfile (see additional info)
2. podman build --tag localhost:fcos-extended -f ./Containerfile .

Actual results:
podman logs: 

+ ostree container commit
.. omitted .. 
Found file: "var/lib/gssproxy/default.sock"
error: Found content in var
Error: error building at STEP "RUN set -x; PACKAGES_INSTALL="cockpit-podman cockpit-machines cockpit-networkmanager cockpit-storaged cockpit-system cockpit-ostree cockpit-bridge";     rpm-ostree install $PACKAGES_INSTALL && ostree container commit": error while running runtime: exit status 1

Expected results:

Successfully build image


Additional info:

- Containerfile 

FROM quay.io/fedora/fedora-coreos:stable

RUN set -x; PACKAGES="cockpit-podman cockpit-machines cockpit-networkmanager cockpit-storaged cockpit-system cockpit-ostree cockpit-bridge"; \
         rpm-ostree install $PACKAGES && ostree container commit

Comment 1 Aoife Moloney 2023-11-23 01:39:21 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
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
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 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 Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Aoife Moloney 2024-01-15 12:07:18 UTC
Fedora Linux 37 entered end-of-life (EOL) status on 2023-12-05.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.