Re: fstab: systemd still uses the old version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/20/22 6:23 PM, Robert Nichols wrote:
On 8/20/22 4:56 PM, Barry wrote:


On 20 Aug 2022, at 19:16, Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx> wrote:

I have added a line to /etc/fstab:
     /dev/mapper/imgs   /mnt/imgs   ext4  noauto,noexec,nodev  0 0

I have run "systemctl daemon-reload"

After a reboot, the command "mount /mnt/imgs" still returns the message:
    Mount: (hint) your fstab has been modified, but systemd still uses
           the old version; use 'systemctl daemon-reload' to reload.

This is Fedora 36, fully updated.  What am I missing?

I would do an ls -l of the file and check the size and date.
Does it seems to be changed since the system booted?

Barry

No, it hasn't been changed, but after yet aother round of
"systemctl daemon-reload; reboot", the message finally went away.

Thanks for letting me know that what I was doing should be sufficient.

Well, it's back, and nothing I do will get rid of that message. I can run "systemd daemon-reload" for a temporary fix, but as soon  as I reboot, any action such as a remount that references /etc/fstab still results in that same "systemd still uses the old version" message.

The timestamp shows that /etc/fstab has not been modified since the last several reloads. I have run "systemctl daemon-reload" many times since the last fstab modification. Do I need to cause that to be run automatically on each boot?

This is getting annoying.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux