Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #224783
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Network services fail on startup |
| Date | 2020-07-14 08:50 +0200 |
| Message-ID | <AsmVj-1Lk-1@gated-at.bofh.it> (permalink) |
| References | <AsieZ-7il-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > I am having intermittent problems on startup in which network services do > not start properly, generally with messages suggesting the network > interface they need is not available. If I stop and start them after, they > will run. I suspect this is a result of the interaction of systemd, > ifupdown, and a pre-up script that takes a while to execute. But if I look > at things now it seems the dependencies in place should suffice. Of > course, this is after I restarted it, and so perhaps the dependency is > added dynamically, too late to do any good. Units should always be generated the same way and I doubt restarting regenerates them. Things you could try: - move the pre-up script to a separate unit that ifupdown depends on (After= + Wants= or even Requires=) - switch to systemd-networkd See also the description of network-online.target in systemd.special(7) and the linked document "Running Services After the Network is up". Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Network services fail on startup Ross Boylan <rossboylan@stanfordalumni.org> - 2020-07-14 03:50 +0200
Re: Network services fail on startup Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-14 08:50 +0200
Re: Network services fail on startup Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-14 08:50 +0200
Re: Network services fail on startup Dan Ritter <dsr@randomstring.org> - 2020-07-14 13:20 +0200
Re: Network services fail on startup Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-14 19:10 +0200
Re: Network services fail on startup Dan Ritter <dsr@randomstring.org> - 2020-07-14 19:30 +0200
Re: Network services fail on startup deloptes <deloptes@gmail.com> - 2020-07-14 09:40 +0200
Re: Network services fail on startup Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-14 13:40 +0200
Re: Network services fail on startup Ross Boylan <rossboylan@stanfordalumni.org> - 2020-07-15 00:30 +0200
Re: Network services fail on startup Ross Boylan <rossboylan@stanfordalumni.org> - 2020-07-16 02:40 +0200
csiph-web