-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-10.2
-
fapolicyd-1.4.1-1.el10
-
No
-
Low
-
1
-
rhel-security-selinux
-
ssg_security
-
11
-
1
-
QE ack
-
False
-
False
-
-
No
-
Red Hat Enterprise Linux
-
SELINUX 251119: 15
-
-
Pass
-
Automated
-
Unspecified Release Note Type - Unknown
-
None
What were you trying to do that didn't work?
When /etc/fapolicyd/fapolicyd.conf last line isn't EOL terminated, fapolicyd skips the line, as seen in the journal:
[...] fapolicyd[1562]: Skipping line 21 in /etc/fapolicyd/fapolicyd.conf: too long
What is the impact of this issue to you?
Potential misconfiguration
Please provide the package NVR for which the bug is seen:
fapolicyd-1.3.2-100.el9
How reproducible is this bug?:
Always
Steps to reproduce
- Delete some line
# sed -i "/^integrity/d" /etc/fapolicyd/fapolicyd.conf - Add last line without EOL
# echo -n "integrity = sha256" >> /etc/fapolicyd/fapolicyd.conf - Start the service
Expected results
No warning and value integrity = sha256 taken into account.
Actual results
Warning + fapolicyd not enabling integrity checking:
[...] fapolicyd[1977]: Skipping line 21 in /etc/fapolicyd/fapolicyd.conf: too long
[...] fapolicyd[1978]: fapolicyd integrity is 0
- clones
-
RHEL-65625 fapolicyd skips last line of configuration file when it's not ending with a newline
-
- Release Pending
-
- links to
-
RHBA-2025:155643
fapolicyd update