Florian Obser <[email protected]> wrote: > On Sat, Mar 06, 2021 at 05:14:37PM +0000, Mikolaj Kucharski wrote: > > On Sat, Mar 06, 2021 at 09:39:08AM -0700, Theo de Raadt wrote: > > > > > > The ifconfig man page says "inet autoconf" sets a flag. It does not say > > > "sets the flag and brings the interface up". You want to argue against > > > the documented behaviour? > > > > > > > I think there is some inconsistency in the behaviour. On recent 6.9-beta > > ifconfig em2 inet6 autoconf brings interface up, where > > ifconfig em2 inet autoconf doesn't. > > It's a mess. There is just too much magic going on. > > The reason the interface comes up is that ifconfig em2 inet autoconf > gives you a link-local address. It's configured by the kernel. > Some (but not all I have been given to understand) network drivers > bring the interface up when an IP is configured.
I think we can argue that 'inet autoconf' needs to do the same. Then the ifconfig documentation needs to change, to indicate toggling this flag on forces "up".
