You are not logged in.

#1 2012-08-23 11:30:21

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,229
Website

systemd and nm_dispatcher (on remote shares)

Hi,

On my laptop I'm using systemd and networkmanager, like many of you I suppose.

I have an NFS-server setup at home and one at work, so I would prefer to only connect to the NFS-server within my reach and not send out credentials into the wild when the other NFS-server is not around. I thought that nm_dispatcher is the perfect solution and I wrote a script that accomplishes this with the sysV initscripts.

Now I'm using systemd and my laptop won't shutdown anymore: it hangs at unmounting my disks.

I guess the nm_dispatcher-script to unmount the NFS-exports is never run, and so the NFS-exports are never unmounted.

Questions:
1. Is this the expected behaviour or is this a bug somewhere?
2. Can systemd do this natively? I know it is able to mount remote shares, but can you also specify that the mount should only be tried if connected to a specific SSID?

THX!

Last edited by zenlord (2012-08-23 11:31:34)

Offline

Board footer

Powered by FluxBB