search for: networktarget

Displaying 20 results from an estimated 20 matches for "networktarget".

2015 Dec 23
2
Network services start before network is up since migrating to 7.2
...erms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Network Documentation=man:systemd.special(7) Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget After=network-pre.target RefuseManualStart=yes # systemctl status network.target ? network.target - Network Loaded: loaded (/usr/lib/systemd/system/network.target; static; vendor preset: disabled) Active: inactive (dead) Docs: man:systemd.special(7) http://www.freedesktop.org/...
2015 Dec 22
2
Network services start before network is up since migrating to 7.2
----- Mail original ----- > De: "Gordon Messmer" <gordon.messmer at gmail.com> > ?: "centos" <centos at centos.org> > Envoy?: Vendredi 18 D?cembre 2015 12:06:26 > Objet: Re: [CentOS] Network services start before network is up since migrating to 7.2 >>> The network service is not blocking the flow so it executes and systemd >>>
2018 Apr 15
3
tinc starts too early on boot
...configured in /etc/network/interfaces although I also have some using static IPs. The tinc.service file says that tinc should start after networking (After=network.target). I wonder if After=network-online.target might be better? As defined by https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ I changed my local copy and tinc came up on boot successfully. Hamish
2017 Feb 13
2
NUT configuration complicated by Stonith/Fencing cabling
..., so I don't have any recommendations on adjusting the dependencies (to wait until networking is really up). There have been some related discussions on other GitHub issues and pull requests: https://github.com/networkupstools/nut/labels/systemd https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ http://stackoverflow.com/questions/32873571/debian-systemd-service-starts-before-network-is-ready
2017 Jan 16
2
disable/mask NetworkManager leads to unit startup fails
Hello! For me it was best practice to disable "NetworkManager" on headless installations. Now suddenly I ran into an problem with several programs not starting correctly upon boot anymore. The problem seems to be that their unit files contain "After=network.target" but network.target wont wait till network is up and working, just waits for some low level network stuff.
2014 Dec 20
1
CentOS 7 boot network problem
I rebooted a new CentOS 7 host and it attempted to start postfix and apache before the network came up. Needless to say both complained that they couldn't bind to the requested IP address and "entered the failed state." Did I miss an option somewhere? The network config is a manual one, and I see from the generated file in /etc/sysconfig/network-scripts that
2015 Dec 18
0
Network services start before network is up since migrating to 7.2
...ed NetworkManager ... > Yes. That's the way our security experts made the models I use to setup my servers. > I'll test a migration to NetworkManager, and take their advice on it. Note that the behavior you're seeing is documented: http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ If you're using NetworkManager, you can "systemctl enable NetworkManager-wait-online.service" and you won't have to override any of the individual services. >> The network service is not blocking the flow so it executes and systemd >> carries on ... >> >...
2015 Dec 23
0
Network services start before network is up since migrating to 7.2
...stemctl status network.target ? network.target - Network Loaded: loaded (/usr/lib/systemd/system/network.target; static; vendor preset: disabled) Active: active since Wed 2015-12-16 20:19:26 PST; 6 days ago Docs: man:systemd.special(7) http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget Dec 16 20:19:26 x systemd[1]: Reached target Network. Dec 16 20:19:26 x systemd[1]: Starting Network.
2015 Dec 23
0
Network services start before network is up since migrating to 7.2
...systemctl status network.target > ? network.target - Network > Loaded: loaded (/usr/lib/systemd/system/network.target; static; vendor preset: > disabled) > Active: inactive (dead) > Docs: man:systemd.special(7) > http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget > > Dead ? Hmmm... Ok, I found the difference between the failing servers (I updated one more this morning, and the same symptom came) : the failing ones don't need to mount NFS shares. So I didn't install nfs-utils, so there's not a rpc-statd-notify.service, which unit file cont...
2015 Dec 24
1
Network services start before network is up since migrating to 7.2
On 12/23/2015 08:38 AM, Sylvain CANOINE wrote: > Then I'm wondering : > 2/ why "After=foo" does not imply "Requires=foo" for systemd 219, while it appeared to be in systemd 208. Either it's a regression, or the behaviour of 208, although logical, is buggy. I'm not entirely certain, but "After=" is independent of "Requires=", as documented
2018 Apr 18
0
tinc starts too early on boot
...t being configured correctly. Can you show us your tinc-up script? > The tinc.service file says that tinc should start after networking > (After=network.target). I wonder if After=network-online.target might be > better? As defined by > https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ > > I changed my local copy and tinc came up on boot successfully. Hm, tinc itself should handle the network not being online just fine. It will automatically retry after a while if it cannot make any outgoing connections. -- Met vriendelijke groet / with kind regards, Guus Sliepen...
2017 Feb 14
0
NUT configuration complicated by Stonith/Fencing cabling
...y > recommendations on adjusting the dependencies (to wait until > networking is really up). There have been some related discussions on > other GitHub issues and pull requests: > https://github.com/networkupstools/nut/labels/systemd https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ http://stackoverflow.com/questions/32873571/debian-systemd-service-starts-before-network-is-ready _______________________________________________ Nut-upsuser mailing list Nut-upsuser at lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
2018 Jun 04
5
[Bug 13463] New: Please consider using the IP_FREEBIND socket option
...ble. A workaround is to add "After=network-online.target" to the systemd service file, but that is unnecessary for the common case where there is no specific address configuration. It's also a bit frowned upon in upstream systemd (see https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/). For such cases, it is suggested to use the IP_FREEBIND socket option in linux. >From the linux ip(7) manpage: IP_FREEBIND (since Linux 2.4) If enabled, this boolean option allows binding to an IP address that is nonlocal or does not (yet) exist. This per‐ mits listening on a socket, without...
2017 Jan 16
0
disable/mask NetworkManager leads to unit startup fails
...networking/ip-sysctl.txt If it's a systemd socket being used by the service then you can enable the freebind option via FreeBind=true https://www.freedesktop.org/software/systemd/man/systemd.socket.html Overall you may be interested in this: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ I really wouldn't use systemd-network on CentOS as a general thing as it's basically undocumented/unsupported by Red Hat at this time, with NM being their actual supported solution. https://access.redhat.com/solutions/783533 <-- network Vs NetworkManager https://access.redhat.com/sol...
2017 Jan 17
1
disable/mask NetworkManager leads to unit startup fails
...networking/ip-sysctl.txt If it's a systemd socket being used by the service then you can enable the freebind option via FreeBind=true https://www.freedesktop.org/software/systemd/man/systemd.socket.html Overall you may be interested in this: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ I really wouldn't use systemd-network on CentOS as a general thing as it's basically undocumented/unsupported by Red Hat at this time, with NM being their actual supported solution. https://access.redhat.com/solutions/783533 <-- network Vs NetworkManager https://access.redhat.com/sol...
2017 Feb 13
2
NUT configuration complicated by Stonith/Fencing cabling
Charles, Thanks for your reply. Indeed you may be right that the NUT fencing agent might be written with networked UPSes in mind, as healthy nodes could use the network to issue "fence" orders to remove unhealthy ones. I will post here if I find more info. The problem with the resupply of services is that NUT doesn't restart on the node that comes back up. To recap, I pull the
2015 Dec 08
8
[Bug 2512] New: Use IP_FREEBIND if available for sshd listening socket
https://bugzilla.mindrot.org/show_bug.cgi?id=2512 Bug ID: 2512 Summary: Use IP_FREEBIND if available for sshd listening socket Product: Portable OpenSSH Version: 7.1p1 Hardware: Other OS: Linux Status: NEW Keywords: patch Severity: enhancement Priority: P5 Component: sshd
2015 Dec 08
8
[Bug 2512] New: Use IP_FREEBIND if available for sshd listening socket
https://bugzilla.mindrot.org/show_bug.cgi?id=2512 Bug ID: 2512 Summary: Use IP_FREEBIND if available for sshd listening socket Product: Portable OpenSSH Version: 7.1p1 Hardware: Other OS: Linux Status: NEW Keywords: patch Severity: enhancement Priority: P5 Component: sshd
2015 Dec 17
3
Network services start before network is up since migrating to 7.2
Hello James, > Well it looks like you are using the network service rather than the > recommended NetworkManager ... Yes. That's the way our security experts made the models I use to setup my servers. I'll test a migration to NetworkManager, and take their advice on it. > > The network service is not blocking the flow so it executes and systemd > carries on ... >
2014 Dec 27
0
CentOS Digest, Vol 119, Issue 26 - Email found in subject
...ahl <lindahl at pbm.com> To: CentOS mailing list <centos at centos.org> Subject: Re: [CentOS] CentOS 7 boot network problem Message-ID: <20141227061739.GA1973 at bx9.net> Content-Type: text/plain; charset=us-ascii >From reading http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ it seems that this is a common problem, and that systemctl enable NetworkManager-wait-online.service might be a solution. I have a bunch of IP aliases on the same network interface, is that what's caused my problem? On Sat, Dec 20, 2014 at 01:05:01PM -0800, Greg Lindahl wrote: > I reboo...