The officially official Devuan Forum!

You are not logged in.

#1 Today 11:48:23

unixbot443
Member
Registered: 2026-03-28
Posts: 7  

fstab not mounting at startup

I have the following lines in my fstab file:

//ip/photos/       /mnt/photos/       cifs    credentials=/etc/samba/cred-smb,iocharset=utf8,uid=1000,gid=1000,_netdev,nofail,x-systemd.automount,file_mode=0777,dir_mode=0777,sec=ntlmssp 0 0

//ip/docs/       /mnt/docs/       cifs    credentials=/etc/samba/cred-smb,iocharset=utf8,uid=1000,gid=1000,_netdev,nofail,x-systemd.automount,file_mode=0777,dir_mode=0777,sec=ntlmssp 0 0

Upon desktop login, the shared folders are not mounted.  I run a `mount -av`, and they mount just fine.

Last edited by unixbot443 (Today 15:22:43)

Offline

#2 Today 12:14:40

Dutch_Master
Member
Registered: 2018-05-31
Posts: 327  

Re: fstab not mounting at startup

In Devuan, any references to systemd calls are null and void. There is no systemd in Devuan (and never will be, that's the entire reason Devuan exists in the first place) so you need to not look up & copy/paste from tutorials where a systemd distro is used roll

PS:
a) fstab is a file, it's not a mount-point
b) use code tags

Offline

#3 Today 14:45:49

steve_v
Member
Registered: 2018-01-11
Posts: 700  

Re: fstab not mounting at startup

Dutch_Master wrote:

you need to not look up & copy/paste from tutorials where a systemd distro is used

The only systemd-related artifact here is x-systemd.automount, and while it obviously won't work, it won't hurt anything either as none of the scripts involved look at it.
Maybe try actually addressing the problem, rather than just looking for excuses to bitch about systemd?

unixbot443 wrote:

Upon desktop login, the shared folders are not mounted.  I run a `mount -av`, and they mount just fine.

How is your networking configured? if you're using networkmanager, see this thread.
If you're using ifupdown, we'll need /var/log/boot (or wherever you have your init logs going to), and you should probably have a look for anything related in /var/log/syslog (or /var/log/messages, or wherever you have general daemon logging going) and the kernel ring-buffer (i.e. dmesg).

Also, repeating for more visibility because your fstab listing is almost unreadable:
use code tags

Last edited by steve_v (Today 14:51:25)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#4 Today 14:48:35

rbit
Member
Registered: 2018-06-12
Posts: 122  

Re: fstab not mounting at startup

Maybe if you take out the "nofail" option, you might be able to find an error message (in syslog?).

Offline

#5 Today 15:22:16

unixbot443
Member
Registered: 2026-03-28
Posts: 7  

Re: fstab not mounting at startup

I am using Network Manager.
I'm not following what that thread is getting at.  Can you please explain?

Offline

#6 Today 15:42:39

steve_v
Member
Registered: 2018-01-11
Posts: 700  

Re: fstab not mounting at startup

Can you please explain?

There is a file missing from the excalibur network-manager package. As I said to Andre there:

You might try grabbing that missing file (/etc/NetworkManager/dispatcher.d/01-ifupdown) from the Daedalus network-manager package.

That's probably the easiest solution while we wait (and wait, and wait some more) for this to be fixed in the stable repo and install images.

Last edited by steve_v (Today 15:47:04)


Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

Offline

#7 Today 18:13:48

greenjeans
Member
Registered: 2017-04-07
Posts: 1,648  
Website

Re: fstab not mounting at startup

Maybe try actually addressing the problem, rather than just looking for excuses to bitch about systemd?

Killjoy. lol

Personally I prefer to do both. wink


https://sourceforge.net/projects/vuu-do/ Vuu-do GNU/Linux, Devuan-based Openbox systems.
Devuan 6 mate-mini iso, pure Devuan, 100% no-vuu-do, mostly wink
Please donate to support Devuan and init freedom! https://devuan.org/os/donate
https://devuanusers.com/

Online

Board footer