Skip to content
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

boot.mount occasionally times out on boot #30386

Closed
DaanDeMeyer opened this issue Dec 8, 2023 · 4 comments
Closed

boot.mount occasionally times out on boot #30386

DaanDeMeyer opened this issue Dec 8, 2023 · 4 comments
Labels
bug 🐛 Programming errors, that need preferential fixing not-our-bug pid1 regression ⚠️ A bug in something that used to work correctly and broke through some recent commit
Milestone

Comments

@DaanDeMeyer
Copy link
Contributor

systemd version the issue has been seen with

v255

Used distribution

Arch Linux

Linux kernel version used

6.6.4.arch1-1

CPU architectures issue was seen on

x86_64

Component

systemd

Expected behaviour you didn't see

boot.mount automount mounts succesfully

Unexpected behaviour you saw

boot..mount occasionally times out during boot. Debug logs don't say anything useful, just that we've forked off mount and after that nothing.

Steps to reproduce the problem

git clone https://github.com/systemd/mkosi
cd mkosi
MKOSI_TEST_DISTRIBUTION=arch pytest tests/test_boot.py::test_boot[disk] -m "integration" -svx --tb=no

Additional program output to the terminal or log subsystem illustrating the issue

Mounting EFI System Partition Automount...
boot.mount: Mounting timed out. Terminating.
boot.mount: Mount process exited, code=killed, status=15/TERM
boot.mount: Failed with result 'timeout'.
[FAILED] Failed to mount EFI System Partition Automount.
See 'systemctl status boot.mount' for details.
[   96.746717] bootctl[351]: Couldn't find EFI system partition, skipping.
@DaanDeMeyer DaanDeMeyer added the bug 🐛 Programming errors, that need preferential fixing label Dec 8, 2023
@github-actions github-actions bot added the pid1 label Dec 8, 2023
@DaanDeMeyer DaanDeMeyer added the regression ⚠️ A bug in something that used to work correctly and broke through some recent commit label Dec 8, 2023
@bluca
Copy link
Member

bluca commented Dec 8, 2023

Reminds me of: #29682

@YHNdnzj YHNdnzj added this to the v256 milestone Dec 8, 2023
@DaanDeMeyer
Copy link
Contributor Author

This is caused by systemd.default_standard_output=journal+console which means the previous fix doesn't work as we still lock the tty. We need to figure out the actual deadlock to fix this case.

@DaanDeMeyer
Copy link
Contributor Author

Should be fixed by legionus/kbd#105

@DaanDeMeyer
Copy link
Contributor Author

Fix was merged. If you encounter this and need a quick workaround, add a dropin for systemd-vconsole-setup.service with the following contents:

[Service]
WorkingDirectory=/usr/share/empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing not-our-bug pid1 regression ⚠️ A bug in something that used to work correctly and broke through some recent commit
Development

No branches or pull requests

3 participants