The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 10:36:43

Roberto
Member
Registered: 2023-08-20
Posts: 9  

[SOLVED] Cifs share is not mountet automatically

I installed Devuan 6 Excalibur with Cinnamon as the desktop and SysV as the init system.
Then, as I have done countless times before, I created two mount points in my home folder, created a credentials file, and then entered the share in fstab.

Example:

//IP address/folder /home/user/data cifs defaults,rw,credentials=/home/user/.smbcredentials,noserverino,vers=3.0,uid=1000,gid=1000 0 0

After the command:

sudo mount -a

this share is mounted in Nemo.

The problem is that this share is not automatically mounted in Nemo after a restart.
When I click on the “Data” folder, I get the error message:

mount.cifs: permission denied

In Devuan 5 Daedalus and also in various other distributions, I did exactly the same thing and it worked without any problems.

Does anyone have any ideas or tips on what I could do to get my Cifs share mounted automatically?

Thanks
Roberto

Offline

#2 Yesterday 11:20:27

Andre4freedom
Member
Registered: 2017-11-15
Posts: 239  

Re: [SOLVED] Cifs share is not mountet automatically

Roberto,
yes, there is a solution to that problem:
Its the NetworkManager version used in Excalibur.
Look at this thread:
https://dev1galaxy.org/viewtopic.php?pid=59374#p59374

The workaround is (from steve_v):

@Andre4freedom: You might try grabbing that missing file (/etc/NetworkManager/dispatcher.d/01-ifupdown) from the Daedalus network-manager package. Like I said I don't have a system to test it on, but the manual suggests networkmanager should still call it if it exists.

I hope that may be a temporary solution for you too.
I guess there will be a newer or patched network-manager package in some time, possibly a new point-release or a patch.
Good luck.

Last edited by Andre4freedom (Yesterday 11:22:12)

Offline

#3 Yesterday 12:37:53

Roberto
Member
Registered: 2023-08-20
Posts: 9  

Re: [SOLVED] Cifs share is not mountet automatically

Hi Andre4freedom,

thank you very much for your help.
Your tip works very well, and I can definitely live with this workaround.

regards
Roberto

Offline

Board footer