Re: Network services fail on startup

2020-07-15 Thread Ross Boylan
I had to restart my system, after having set the interfaces to auto, and everything worked fine. Generalizing freely, my problem is solved. It's a great relief: checking that everything was OK after every reboot was a drag. Ross On Tue, Jul 14, 2020 at 2:57 PM Ross Boylan wrote: > Thanks to e

Re: Network services fail on startup

2020-07-14 Thread Ross Boylan
Thanks to everyone for their help. Since I am using allow-hotplug, I'll change that and see if it's enough to cure the problem. Then I can look into the new filter tools. Ross On Tue, Jul 14, 2020 at 4:32 AM Greg Wooledge wrote: > On Mon, Jul 13, 2020 at 06:41:39PM -0700, Ross Boylan wrote: >

Re: Network services fail on startup

2020-07-14 Thread Dan Ritter
Andrei POPESCU wrote: > On Ma, 14 iul 20, 07:11:39, Dan Ritter wrote: > > The way to handle a giant blocklist efficiently is ipset, which manipulates > > large groups of IPs that will be matched for a particular rule. > > Disclaimer: I'm not an expert on either iptables or nftables, this is > ju

Re: Network services fail on startup

2020-07-14 Thread Andrei POPESCU
On Ma, 14 iul 20, 07:11:39, Dan Ritter wrote: > Andrei POPESCU wrote: > > On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > > > > > > The interface has a pre-up script that has over 1,000 iptables add lines > > > for blacklists, and I suspect this is slowing things down enough to cause > > > troub

Re: Network services fail on startup

2020-07-14 Thread Greg Wooledge
On Mon, Jul 13, 2020 at 06:41:39PM -0700, 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. The

Re: Network services fail on startup

2020-07-14 Thread Dan Ritter
Andrei POPESCU wrote: > On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > > > > The interface has a pre-up script that has over 1,000 iptables add lines > > for blacklists, and I suspect this is slowing things down enough to cause > > trouble. I was not having problems when the script was shorter

Re: Network services fail on startup

2020-07-14 Thread deloptes
Ross Boylan wrote: > tftpd-hpa is the service that fails most consistently. Fail also on my system without systemd. Everytime I reboot the server, I have to restart manually. I found out for the server it is better for now to not use systemd. I have GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/lib/sy

Re: Network services fail on startup

2020-07-13 Thread Andrei POPESCU
On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > > The interface has a pre-up script that has over 1,000 iptables add lines > for blacklists, and I suspect this is slowing things down enough to cause > trouble. I was not having problems when the script was shorter. P.S. as far as I understand nf

Re: Network services fail on startup

2020-07-13 Thread Andrei POPESCU
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

Network services fail on startup

2020-07-13 Thread Ross Boylan
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