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

Follow up on issue #4855 from 2021 re DietPi hanging on shutdown in PXE boot environment #7380

Open
digitalformula opened this issue Feb 4, 2025 · 0 comments

Comments

@digitalformula
Copy link

digitalformula commented Feb 4, 2025

I'm running 9.9.0 on a Raspberry Pi 5 and everything works great except for shutdown. This hangs the entire system (forever) although the following issue seems to describe the problem perfectly: #4855

I haven't tested the steps there yet (will do so tonight) I just tested the solution from that issue and it works (more below) but the issue mentions a PR to change the ordering of various things to get around this issue in the first place. Did that PR happen/get merged at some point? I assume not since the issue is still there. I can confirm shutdown when booted from SD card works as expected.

Issue #4855 mentions creating/editing the following file:

/etc/systemd/system/[email protected]/override.conf - This does not work for me. It actually stops networking from coming up at all. The boot screen shows the IP but it doesn't respond to ICMP ping or any attempt to login. My DHCP server shows that IP as offline.

The issue also mentions to create/edit the following file:

/etc/systemd/system/networking.service.d - This does work for me. Networking comes up and the PXE-booted Pi5 can shutdown without any problem. The contents of this file are as follows:

[Service]
ExecStop=

This is probably more of an FYI than an issue but thought it might be worth logging as an issue in case that PR never got done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant