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

Re: Network mounts in /etc/fstab causing service ordering cycle





On 4/25/25 13:58, tuxifan@posteo.de wrote:
Hi!

I have added a few lines to /ets/fstab like this:

//u271407.your-storagebox.de/backup /mnt/hetzner cifs
iocharset=utf8,rw,user=u271407,pass=******,uid=1000,gid=1000,cache=loose 0 3

//192.168.0.4/Root /mnt/rp64-root cifs
iocharset=utf8,rw,user=nils,pass=******,uid=1000,gid=1000,cache=loose 0 3

If you can, you should find a way to stick the username / password in a file only root can read, lest anyone who can read /etc/fstab get your authentication data.

However, this is causing a service ordering cycle between "local-fs.target"
and "network-online.target" which in turn causes services to be missing after
bootup unpredictably. Usually that causes XWayland to fail as well as
NetworkManager.

How do I get out of this situation? What could I be doing wrong?

Thanks in advance

Hmm, is there a mount option that doesn't immediately fail but rather tries again after some time?


Reply to: