RPi-Distro / repo

Issue tracking for the archive.raspberrypi.com repo
38 stars 1 forks source link

mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. #346

Open reraikes opened 1 year ago

reraikes commented 1 year ago

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

mgroff2 commented 3 months ago

I am running into this and cant gain access to that forum even create and activating account. Any update?

XECDesign commented 3 months ago

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.

mgroff2 commented 3 months ago

@XECDesign it's persisting through reboots. I am forced to manually login after a reboot and mount instead of expecting fstab to work.

XECDesign commented 3 months ago

Does running sudo update-initramfs -u -k all and rebooting make it work?

Identifier commented 3 weeks ago

Still happening as of October 2024, even after performing sudo apt --reinstall install mount and sudo update-initramfs -u -k all

In my case it happens every time I do sudo mount -o remount,ro / or sudo mount -o remount,rw, even though it doesn't actually modify the /etc/fstab file. The "hint" is really pointless.