lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200313100041.374b26da@hermes.lan>
Date:   Fri, 13 Mar 2020 10:00:41 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Chuck <chuck@...elligence.org>
Cc:     netdev@...r.kernel.org
Subject: Re: How to set domainname with iproute2? (net-tools deprecation)

On Fri, 13 Mar 2020 09:21:52 -0700
Chuck <chuck@...elligence.org> wrote:

> I see calls to move the world from net-tools to iproute2 [1] [2] [3].
> 
> My Linux distro uses the `hostname` executable from net-tools to set the
> hostname, which simply passes it through to the `sethostname` system call.
> I don't see any references to `sethostname` in the iproute2 sources.  I
> guess the replacement is systemd's `hostnamectl set-hostname`?
> 
> My distro uses the `domainname` executable (which is a symlink to
> `hostname`) from net-tools to set the domain name, which simply passes it
> through to the `setdomainname` system call.  I don't see any calls
> to `sethostname` in either iproute2 or systemd.
> 
> What is the recommended way to set the domain name during system
> start-up without net-tools?
> 
> (Asking here because iproute2 is supposed to replace net-tools.  If this is
> not the right list for this, 1. Apologies, and 2. Where is the right place
> for this inquiry?)
> 
> [1] https://lwn.net/Articles/710533/
> [2] https://lwn.net/Articles/710535/
> [3] https://wiki.linuxfoundation.org/networking/iproute2

Iproute2 is focused around netlink and supporting the kernel networking.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ