Bug 2144502

Summary: something changes /var/lib/fprint access mode
Product: [Fedora] Fedora Reporter: Sandro Bonazzola <sbonazzo>
Component: fprintdAssignee: Benjamin Berg <benjamin-fedora>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: benjamin-fedora, bnocera
Target Milestone: ---Flags: sbonazzo: needinfo? (benjamin-fedora)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Sandro Bonazzola 2022-11-21 13:56:02 UTC
Description of problem:

Configuring a fresh Fedora 37 instance and checked the result with:

$ sudo oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_standard --report report.html  /usr/share/xml/scap/ssg/content/ssg-fedora-ds.xml

detected permissions changes on fprintd. Manual check also show it:

# rpm -qV fprintd
.M.......    /var/lib/fprint

# rpm -qlv fprintd|grep /var/lib
drwxr-xr-x    2 root     root                        0 Jul 21 05:50 /var/lib/fprint

# ls -ld /var/lib/fprint
drwx------. 1 root root 0 21 lug 05.50 /var/lib/fprint


Applying the proposed fix `rpm --restore fprintd` work for a while, then something changes again the permissions on the directory.
If the required permissions are `drwx------` I think the fprintd packaging should be corrected accordingly.
If soomething is changing the permissions there without being supposed to, it should be identified and fixed for not doing it.

Version-Release number of selected component (if applicable):
# rpm -qv fprintd
fprintd-1.94.2-3.fc37.x86_64

Comment 1 Fedora Admin user for bugzilla script actions 2023-01-10 12:17:42 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2023-01-11 00:17:08 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Sandro Bonazzola 2023-05-03 13:01:56 UTC
Seems related to bug #2069297 , according to https://bugzilla.redhat.com/show_bug.cgi?id=2069297#c4 it's fixedin fc39.

Benjamin, Bastien can you please confirm?