-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read-only /sysroot remount racing with other systemd units #488
Comments
Thanks for the report. Those are possibly systemd issues and likely related to your specific hardware. It would be good to get the journal entries for those failed units. |
For reference, the |
[core@localhost ~]$ journalctl -f -u systemd-backlight@backlight:acpi_video0.service
-- Logs begin at Wed 2020-05-20 04:01:11 UTC. --
May 20 04:01:26 localhost systemd[925]: systemd-backlight@backlight:acpi_video0.service: Failed at step STATE_DIRECTORY spawning /usr/lib/systemd/systemd-backlight: Read-only file system
May 20 04:01:26 localhost systemd[1]: systemd-backlight@backlight:acpi_video0.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 04:01:26 localhost systemd[1]: systemd-backlight@backlight:acpi_video0.service: Failed with result 'exit-code'.
May 20 04:01:26 localhost systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
-- Reboot --
May 20 16:26:03 localhost systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
May 20 16:26:03 localhost systemd[725]: systemd-backlight@backlight:acpi_video0.service: Failed to set up special execution directory in /var/lib: Read-only file system
May 20 16:26:03 localhost systemd[725]: systemd-backlight@backlight:acpi_video0.service: Failed at step STATE_DIRECTORY spawning /usr/lib/systemd/systemd-backlight: Read-only file system
May 20 16:26:03 localhost systemd[1]: systemd-backlight@backlight:acpi_video0.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-backlight@backlight:acpi_video0.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
[core@localhost ~]$ journalctl -f -u systemd-backlight@backlight:intel_backlight.service
-- Logs begin at Wed 2020-05-20 04:01:11 UTC. --
May 20 04:01:26 localhost systemd[927]: systemd-backlight@backlight:intel_backlight.service: Failed at step STATE_DIRECTORY spawning /usr/lib/systemd/systemd-backlight: Read-only file system
May 20 04:01:26 localhost systemd[1]: systemd-backlight@backlight:intel_backlight.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 04:01:26 localhost systemd[1]: systemd-backlight@backlight:intel_backlight.service: Failed with result 'exit-code'.
May 20 04:01:26 localhost systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:intel_backlight.
-- Reboot --
May 20 16:26:03 localhost systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
May 20 16:26:03 localhost systemd[726]: systemd-backlight@backlight:intel_backlight.service: Failed to set up special execution directory in /var/lib: Read-only file system
May 20 16:26:03 localhost systemd[726]: systemd-backlight@backlight:intel_backlight.service: Failed at step STATE_DIRECTORY spawning /usr/lib/systemd/systemd-backlight: Read-only file system
May 20 16:26:03 localhost systemd[1]: systemd-backlight@backlight:intel_backlight.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-backlight@backlight:intel_backlight.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:intel_backlight.
^C
[core@localhost ~]$ journalctl -f -u systemd-rfkill.service
-- Logs begin at Wed 2020-05-20 04:01:11 UTC. --
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: Starting Load/Save RF Kill Switch Status...
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Start request repeated too quickly.
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
^C
[core@localhost ~]$ journalctl -f -u systemd-rfkill.socket
-- Logs begin at Wed 2020-05-20 04:01:11 UTC. --
May 20 04:01:26 localhost systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
May 20 04:01:26 localhost systemd[1]: systemd-rfkill.socket: Failed with result 'service-start-limit-hit'.
-- Reboot --
May 20 16:26:03 localhost systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.socket: Failed with result 'service-start-limit-hit'.
^C
[core@localhost ~]$ Will automatically update to the new release once it becomes available. |
Ahhh yeah, this may be from the sysroot ro work (ostreedev/ostree#1767). Probably another instance of ostreedev/ostree#2104? |
Though I guess in this case, it's because it's running before the |
OK yes there's clearly a race between
basically we need to move this to the initramfs, there's no other sane fix. |
coreos/fedora-coreos-config#413 will back this out for now. |
[core@localhost faucet]$ journalctl -b 0 -u systemd-rfkill.service -u var.mount
-- Logs begin at Wed 2020-05-20 04:01:11 UTC, end at Wed 2020-05-20 17:52:16 UTC. --
May 20 16:26:03 localhost systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.
May 20 16:26:03 localhost systemd[1]: Mounting /var...
May 20 16:26:03 localhost systemd[1]: Mounted /var.
May 20 16:26:03 localhost systemd[1]: Starting Load/Save RF Kill Switch Status...
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: Starting Load/Save RF Kill Switch Status...
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: Starting Load/Save RF Kill Switch Status...
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: Starting Load/Save RF Kill Switch Status...
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: Starting Load/Save RF Kill Switch Status...
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Main process exited, code=exited, status=238/STATE_DIRECTORY
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status.
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Start request repeated too quickly.
May 20 16:26:03 localhost systemd[1]: systemd-rfkill.service: Failed with result 'exit-code'.
May 20 16:26:03 localhost systemd[1]: Failed to start Load/Save RF Kill Switch Status. |
We're hitting issues with the read-only remounts racing with various services coming up. Let's neuter it for now until we rework how it works. See: coreos/fedora-coreos-tracker#488
We're hitting issues with the read-only remounts racing with various services coming up. Let's neuter it for now until we rework how it works. See: coreos/fedora-coreos-tracker#488
Which includes a patch to backport sysroot.readonly neutering: coreos/fedora-coreos-tracker#488 ostreedev/ostree#2108
Which includes a patch to backport sysroot.readonly neutering: coreos/fedora-coreos-tracker#488 ostreedev/ostree#2108
Which includes a patch to backport sysroot.readonly neutering: coreos/fedora-coreos-tracker#488 ostreedev/ostree#2108
Which includes a patch to backport sysroot.readonly neutering: coreos/fedora-coreos-tracker#488 ostreedev/ostree#2108
Which includes a patch to backport sysroot.readonly neutering: coreos/fedora-coreos-tracker#488 ostreedev/ostree#2108
Which includes a patch to backport sysroot.readonly neutering: coreos/fedora-coreos-tracker#488 ostreedev/ostree#2108
I think #483 is another instance of this issue. |
The change to correct this problem landed in coreos/fedora-coreos-config#416. The fix for this went into testing stream release |
The fix for this went into stable stream release |
Install FCOS on Lenovo T410 laptop. I did not see the below errors in late February release when I installed the same via Bootable ISO image
The text was updated successfully, but these errors were encountered: