Bug 2307373

Summary: weston-remote-access as %config(noreplace)
Product: [Fedora] Fedora Reporter: Pat Riehecky <riehecky>
Component: westonAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: ernunes, negativo17, ngompa13, rhughes, tdawson
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: weston-13.0.3-3.fc42 weston-13.0.3-3.fc40 weston-14.0.0-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-27 15:56:02 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:

Description Pat Riehecky 2024-08-22 19:28:47 UTC
Can the /etc/pam.d/weston-remote-access config be marked as %config(noreplace) so that my customizations remain if I've tweaked the pam stack?

Reproducible: Always

Steps to Reproduce:
1. customize weston-remote-access authentication (pam) for my workflow
2. upgrade weston
3. discover auth is broken
4. re-deplopy pam customizations

Comment 1 Neal Gompa 2024-08-22 23:53:10 UTC
I should just move the pam config to the /usr/share/pam.d location anyway. That way /etc/ overrides work like they should.

Comment 2 Erico Nunes 2024-08-27 14:08:12 UTC
(In reply to Neal Gompa from comment #1)
> I should just move the pam config to the /usr/share/pam.d location anyway.
> That way /etc/ overrides work like they should.

It seems that most packages just keep them in /etc, at least checking on my system there is nothing in /usr/share/pam.d/. The weston meson build puts it in /etc by default and it is also mentioned in the weston-vnc(7) manpage. So I think it should be left in /etc/pam.d/.

Looking at the spec for other packages which install to /etc/pam.d/ I think we should just mark it as %config(noreplace) as suggested.

Comment 3 Neal Gompa 2024-08-27 15:13:20 UTC
People don't know you can put them there now, which is why it's not populated.

Comment 4 Neal Gompa 2024-08-27 15:19:00 UTC
But sure, I'll do that for now and look at changing in Weston 14.

Comment 5 Fedora Update System 2024-08-27 15:52:00 UTC
FEDORA-2024-6d7ac1a092 (weston-13.0.3-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6d7ac1a092

Comment 6 Fedora Update System 2024-08-27 15:56:02 UTC
FEDORA-2024-6d7ac1a092 (weston-13.0.3-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-08-27 16:45:13 UTC
FEDORA-2024-097ca3fa8e (weston-13.0.3-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-097ca3fa8e

Comment 8 Fedora Update System 2024-08-27 16:45:14 UTC
FEDORA-2024-645e98ef39 (weston-13.0.3-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-645e98ef39

Comment 9 Fedora Update System 2024-08-28 02:35:18 UTC
FEDORA-2024-097ca3fa8e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-097ca3fa8e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-097ca3fa8e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-08-28 03:54:41 UTC
FEDORA-2024-645e98ef39 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-645e98ef39`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-645e98ef39

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-09-03 05:50:05 UTC
FEDORA-2024-645e98ef39 (weston-13.0.3-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-09-05 03:00:57 UTC
FEDORA-2024-097ca3fa8e has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-097ca3fa8e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-097ca3fa8e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-09-13 20:44:21 UTC
FEDORA-2024-097ca3fa8e (weston-14.0.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.