Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #182425
| From | Guy Marcenac <guy@posteurs.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: cifs boot time mounts fail after ugrading to Stretch |
| Date | 2017-06-20 18:30 +0200 |
| Message-ID | <tUucq-2wu-29@gated-at.bofh.it> (permalink) |
| References | <tTMl4-88J-9@gated-at.bofh.it> <tUmoy-63S-5@gated-at.bofh.it> <tUqiu-8w4-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Wow Greg, youre awesome ! Le 20/06/2017 à 14:10, Greg Wooledge a écrit : > On Tue, Jun 20, 2017 at 10:00:14AM +0200, guy@posteurs.com wrote: >> The problem is that systemd does not wait for DHCP addresses to be >> obtained. >> Being new to systemd I could not succeed in finding the right parameters >> and dependencies in order to have the mounts wait till we have an IP >> address. >> I tried remote-fs.target, network-online.target, and other hacks with no >> success. > > I can't help with CIFS mounts from fstab specifically, but I did learn > a thing or two about network-online.target in Debian due to a similar > issue with nfs-kernel-server. > > network-online.target only cares about interfaces that are listed as > "auto" in /etc/network/interfaces. Not allow-hotplug. It has to be > auto. I would never have guessed this allow-hotplug thing. Thank you very much. > Once you mark your interfaces as auto instead of allow-hotplug, then you > can create a dependency on network-online.target and have it actually > work. I did so for the nfs-kernel-server package, which uses a systemd > service named nfs-server with an alias of nfs-kernel-server... and yes, > it took me a while to figure *that* mess out too. Lesson #2: never try > to create a drop-in override for an *alias* name of a service. You must > determine the actual non-alias name first. > Hope I will remember. From now on, it looks like we will have to become familiar with systemd. > See <https://bugs.debian.org/860264> for more details. > Dont you feel a bit alone there? And sorry for the direct post to your mb, -- guy
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
cifs boot time mounts fail after ugrading to Stretch Guy Marcenac <guy@posteurs.com> - 2017-06-18 19:40 +0200
Re: cifs boot time mounts fail after ugrading to Stretch guy@posteurs.com - 2017-06-20 10:10 +0200
Re: cifs boot time mounts fail after ugrading to Stretch Greg Wooledge <wooledg@eeg.ccf.org> - 2017-06-20 14:20 +0200
Re: cifs boot time mounts fail after ugrading to Stretch Guy Marcenac <guy@posteurs.com> - 2017-06-20 18:30 +0200
csiph-web