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

Hostname change on interface causes raspberry os lite to fail on boot #1741

Open
GloriousGloria23 opened this issue Apr 5, 2024 · 5 comments

Comments

@GloriousGloria23
Copy link

Describe the bug
Installed omv on Raspberry os lite. After setup, I changed the hostname in the UI. System went into reboot but got stuck and did not finish. ssh failed to connect.
Even after directly connecting monitor, system was not responsive and screen turned black after initial boot sequence.
Mounted the drive on another linux machine, manually reverting the hostname in the /etc/hostname file solved the issue and system rebooted normally.

To Reproduce

Steps to reproduce the behavior:

  1. Go to omv -> Network -> General -> Hostname
  2. Change Hostname
  3. click Save
  4. automated reboot failed

Expected behavior

successful reboot with new hostname

openmediavault Server (please complete the following information):

Client (please complete the following information):

  • Device: PC
  • OS: Win 11
  • Browser firefox
  • Version 124
@votdev
Copy link
Member

votdev commented Apr 5, 2024

OMV is more or less exactly doing the same like raspi-config.

If the problem is only on Raspi hardware, then it will be hard for me to reproduce and fix it without having such hardware.
In that case the community must provide a fix.

@votdev
Copy link
Member

votdev commented Apr 6, 2024

Can not reproduce this issue. So it seems to me that this problem is specific to your system or Raspi OS based systems in special.

@votdev
Copy link
Member

votdev commented Apr 6, 2024

Where exactly does the system hang? What service is not starting or reports an error?

@GloriousGloria23
Copy link
Author

I wish I knew, the problem is that as soon as it happened I completely lost access to the device. Ping would not respond (and therefore I couldn't SSH into the machine), and hooking it up to a monitor ended up with a blank screen (I tried two different monitor). I tried taking a video to see where it would hang but it went so fast it came out blurry.

Is there a way to find out where it hangs by reading a log file? I can try to reproduce it again on a new SD card sometimes next week (I dare not do it again on my running NAS :D )

@votdev
Copy link
Member

votdev commented Apr 6, 2024

You can use journalctl -b to get the last boot log or use journalctl --since today for the whole day.

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

No branches or pull requests

2 participants