Commit Graph

10 Commits

Author SHA1 Message Date
Anton Midyukov
4fa38acd17 net: Added switch between NetworkManager (etcnet) and NetworkManager (native)
NetworkManager (etcnet) is default now.
2021-03-15 22:48:46 +07:00
Ivan A. Melnikov
6741ce4edf use/net: Fix 50-net-nm configuration
NM_CONTROLLED should always be set together with DISABLED;
otherwise, it's possible to reach the state where
DISABLED=no but NM_CONTROLLED=yes, and have the interface
controlled by both NM and etcnet.
2021-03-15 22:48:46 +07:00
Anton Midyukov
7a6c9a8a13 net: 50-net-nm band-aid again
When renaming HOSTNAME in the alterator, switches managing interface to etcnet.
This creates problems for users.
This partial reverts commit d4170557c2.
2020-05-22 13:34:37 +07:00
Ivan A. Melnikov
2245193cbc use/net: Cleanup domain from resolv.conf 2019-09-30 21:06:37 +03:00
Anton Midyukov
d4170557c2 Revert "net: 50-net-nm band-aid"
This reverts commit 226a2395e5.

Users are getting upset about NetworkManager being unable to
configure "System EthX" connections that are meant to set up
with "acc" (which isn't obvious at all).

See-also: https://forum.altlinux.org/index.php?topic=42519.0
2019-04-29 13:48:40 +03:00
Michael Shigorin
1c4a7bd5dd net, net-dns: don't spam lo iface
Putting any configuration into /etc/net/ifaces/lo/resolv.conf
makes etcnet *overwrite* /etc/resolv.conf, while putting that
into /etc/resolv.conf itself makes e.g. vzctl --nameserver
*append* to what's been specified.

Reported-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2018-02-19 12:54:33 +03:00
Michael Shigorin
7459a74abc net: adjust accordingly
Refer to net-dns feature where appropriate
(it actually started out as an extension of
net feature but the reasons to separate it
quickly became apparent to me).
2017-02-01 19:59:35 +03:00
Michael Shigorin
73c644fc28 net: backup 4.2.2.x public nameservers
Using just a single one of those tends to end up problematic
at times but any two use to suffice.
2014-08-30 21:36:24 +04:00
Michael Shigorin
226a2395e5 net: 50-net-nm band-aid
This needs further refinement regarding p7/t7 specifically:
NM behaviour regarding defaults differs in sisyphus and this
has led to livecds booting with DHCP networking but installed
systems booting without configured interfaces.
2014-06-12 18:19:59 +04:00
Michael Shigorin
5d829265db live, net: shift and rework network and resolver setup
50-setup-network was a hasty hack (surprise!) that used to do
what net and net-eth features have been created to do since;
just drop the duplicated crufty code.

Unconditional resolver setup isn't done now: those with static
setup are better off doing it explicitly, and those with DHCP
should be fine already.

NB: /etc/hosts *is* fine within setup package *but* hasher will
    overwrite it with a copy of host's one; let's reset contents
    to initial at least until hasher gets fixed and the fix is
    rather deployed in the wild.
2014-03-17 21:22:29 +04:00