Bug 1878874

Summary: Failed to start Load/Save RF Kill Switch Status on Red Hat Edge 8.3 Beta
Product: Red Hat Enterprise Linux 8 Reporter: nicolasoliver03
Component: initscriptsAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: initscripts-maint-list, lnykryn, msekleta, systemd-maint-list
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: initscripts-10.00.10-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:56:07 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 nicolasoliver03 2020-09-14 18:10:28 UTC
Description of problem:

Failed to start Load/Save RF Kill Switch Status on Red Hat Edge 8.3 Beta

The systemd-rfkill.service fails with the following error message:

$ journalctl -u systemd-rfkill
-- Logs begin at Mon 2020-09-14 10:23:06 PDT, end at Mon 2020-09-14 11:07:48 PDT. --
Sep 14 10:23:19 fitlet-3.mshome.net systemd[1]: Starting Load/Save RF Kill Switch Status...
Sep 14 10:23:19 fitlet-3.mshome.net systemd[1102]: systemd-rfkill.service: Failed to set up special execution directory in /var/lib: Read-only file system
Sep 14 10:23:19 fitlet-3.mshome.net systemd[1102]: systemd-rfkill.service: Failed at step STATE_DIRECTORY spawning /usr/lib/systemd/systemd-rfkill: Read-only file system
Sep 14 10:23:19 fitlet-3.mshome.net systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
Sep 14 10:23:19 fitlet-3.mshome.net systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
Sep 14 10:23:19 fitlet-3.mshome.net systemd[1]: Failed to start Load/Save RF Kill Switch Status.

Version-Release number of selected component (if applicable):

[test@fitlet-3 ~]$ rpm -qa systemd
systemd-239-36.el8.x86_64

[test@fitlet-3 ~]$ rpm -qa systemd*      
systemd-libs-239-36.el8.x86_64
systemd-pam-239-36.el8.x86_64
systemd-udev-239-36.el8.x86_64
systemd-239-36.el8.x86_64

How reproducible:

Install Red Hat 8.3 Edge blueprint
The rfkill service fails by default

Steps to Reproduce:
1. Install Red Hat 8.3 Edge blueprint
2. Check the state of the systemd-rfkill service
3.

Actual results:

systemd-rfkill service fails because of the read only file system

Expected results:

systemd-rfkill service should work

Additional info:

Comment 1 Michal Sekletar 2020-09-21 13:12:28 UTC
Issues related to r/o filesystem use-cases are handled by initscripts.

Comment 2 Lukáš Nykrýn 2020-09-24 11:50:52 UTC
We should add /var/lib/systemd/rfkill/ to rwtab

Comment 3 Jan Macku 2020-09-25 06:18:04 UTC
Upstream PR: https://github.com/fedora-sysv/initscripts/pull/345

Comment 15 errata-xmlrpc 2021-05-18 14:56:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (initscripts bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1624