Bug 2144502 - something changes /var/lib/fprint access mode [NEEDINFO]
Summary: something changes /var/lib/fprint access mode
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: fprintd
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Benjamin Berg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-21 13:56 UTC by Sandro Bonazzola
Modified: 2023-06-30 08:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:
sbonazzo: needinfo? (benjamin-fedora)


Attachments (Terms of Use)

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?


Note You need to log in before you can comment on or make changes to this bug.