Mathias Homann wrote:
Am Samstag, 6. April 2019, 20:39:40 CEST schrieb Per Jessen:
Mathias Homann wrote:
Am Samstag, 6. April 2019, 20:25:50 CEST schrieb Per Jessen:
Mathias Homann wrote:
So I'm having this annoying problem with systemd...
here's my setup:
Network card is handled by NetworkManager, configured by DHCP.
Computer gets user accounts AND autofs maps from NIS
The state of things right now: after the computer starts I have to switch to a console, and log in as root, and restart autofs and sddm to be able to log in with my regular user (home from NFS via autofs, autofs maps from nis...)
I had a systemd override file for sddm for a while that stated that sddm required autofs... but that would basically restart X every time a network interface went up/down, which does happen every time you start or stop a VM...
Any idea no how to fix it?
Let systemd do the automounting? I haven't thought it through, but I have had vaguely similar problems, and leaving it up to systemd to auto-mount solved them.
... can systemd do the automounting with standard automounter maps provided by nis?
I don't know, I have not had reason to try. It does not sound too unreasonable to have a systemd auto-mount unit to do a NIS lookup. Let us know how it goes.
At least according to what I've found with google, systemd can automount stuff that used to live in /etc/fstab, but not based on classic automounter maps, either stored locally or in NIS.
I haven't tried it either, but I have some systems due for migration, and they use programmatical maps. I guess I'll be surprised :-)
Besides, the way the systemd automounter handles mounts is kinda detrimental for a desktop system, each mount shows up as an actual DEVICE in your file manager - annoying to users.
Isn't that a file manager problem rather than a systemd problem? -- Per Jessen, Zürich (7.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org