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. -- Per Jessen, Zürich (7.8°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org