-
Notifications
You must be signed in to change notification settings - Fork 2
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
mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. #346
Comments
I am running into this and cant gain access to that forum even create and activating account. Any update? |
Aside from seeing the message? Does it cause any issues? As far as I know, if there is no RTC, systemd uses the time of when its current version was released and notices that drop in services were modified after that. I may be wrong, but I think it's a harmless message and is a problem with systemd rather than any modification we've made. |
@XECDesign it's persisting through reboots. I am forced to manually login after a reboot and mount instead of expecting fstab to work. |
Does running |
Still happening as of October 2024, even after performing In my case it happens every time I do |
The source code for mount shows that that message is printed when /etc/fstab is newer than /run/systemd/systemd-units-load. It seems the latter gets created during early boot when the proper system time hasn't been set yet, and so its modification time will be set to some arbitrary time that is likely before the modification time of /etc/fstab. A workaround might be to |
Ahh, good find! So I guess this is actually a
That won't work if the Pi doesn't have an internet connection.
This seems like a plausible suggestion. I'm not familiar with systemd myself, but maybe one of the other Raspberry Pi engineers will be able to have a look next year (most of us are now off for Christmas). |
Yes, systemd-units-load is created when systemd starts loading units, and since fake-hwclock is one of those units, it will start after that file is created. Perhaps an additional Raspberry Pi specific service that starts after fake-hwclock could either Also for the official prebuilt images, it might be sufficient to |
Sounds like a reasonable suggestion.
Urgh, that sounds like a horrible suggestion 🤢 🤣 Also, that "solution" would break as soon as somebody edits |
Problem still exists at Dec 2024. |
Using: image_2023-09-22-raspios-bookworm-arm64-lite.img
pi@raspberrypi:~ $ sudo mount /dev/mmcblk0p1 /mnt
mount: (hint) your fstab has been modified, but systemd still uses
the old version; use 'systemctl daemon-reload' to reload.
'systemctl daemon-reload' resolves the problem until the next reboot.
For additional info, see: https://forums.raspberrypi.com/viewtopic.php?p=2140308
The text was updated successfully, but these errors were encountered: