On Thu, Mar 1, 2018 at 9:36 AM, Peter Suetterlin <pit@astro.su.se> wrote:
Uh, saw this subthread too late... Roger Oberholtzer wrote:
On Thu, Mar 1, 2018 at 9:16 AM, Yamaban <foerster@lisas.de> wrote:
The base directory for ANY and ALL machine specific mods and additions to systemd configs SHOULD be /etc/systemd/system/
I have a number of file systems automounted via systemd and /etc/fstab. I am looking for wherever systemd put the info on these, as I gather that is where the override would go. I don't see any references to these mounts in /etc/systemd/system/
You'll need both an .automount and a .mount unit file. One (existing) example would be (at least on my TW)
These exist. For example (CIFS systemd automount via /etc/fstab): -rw-r--r-- 1 root root 226 Mar 1 09:35 media-mma\x2dsql\x2d1-data1.automount # Automatically generated by systemd-fstab-generator [Unit] SourcePath=/etc/fstab Documentation=man:fstab(5) man:systemd-fstab-generator(8) Before=remote-fs.target [Automount] Where=/media/mma-sql-1/data1 TimeoutIdleSec=1min -rw-r--r-- 1 root root 410 Mar 1 09:35 media-mma\x2dsql\x2d1-data1.mount # Automatically generated by systemd-fstab-generator [Unit] SourcePath=/etc/fstab Documentation=man:fstab(5) man:systemd-fstab-generator(8) [Mount] What=//serammmarst01-a.ramse.ramboll-group.global.network/data1 Where=/media/mma-sql-1/data1 Type=cifs Options=soft,credentials=/etc/cifs.creds.ramse,workgroup=RAMBOLL,sec=ntlm,vers=3.02,rw,noauto,x-systemd.automount,x-systemd.idle-timeout=60,nofail,uid=roger I would expect that the DirectoryMode option should be in the .automount file. But I guess it should go in an override file. And that is what I am trying to figure out. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org