Bug#595790: [Pkg-zfsonlinux-devel] Bug#595790: hostid: useless unless fixed
- To: Richard Laager <rlaager@wiktel.com>
- Cc: Petter Reinholdtsen <pere@hungry.com>, 595790@bugs.debian.org, Carlos Alberto Lopez Perez <clopez@igalia.com>, Martin F Krafft <madduck@debian.org>, pkg-zfsonlinux-devel@lists.alioth.debian.org, Bob Proulx <bob@proulx.com>, Debian GNU/kBSD <debian-bsd@lists.debian.org>, Michael Stone <mstone@debian.org>
- Subject: Bug#595790: [Pkg-zfsonlinux-devel] Bug#595790: hostid: useless unless fixed
- From: Florian Weimer <fw@deneb.enyo.de>
- Date: Thu, 29 Sep 2016 09:05:04 +0200
- Message-id: <[🔎] 87y42bb2zj.fsf@mid.deneb.enyo.de>
- Reply-to: Florian Weimer <fw@deneb.enyo.de>, 595790@bugs.debian.org
- In-reply-to: <[🔎] bfee156d-15d0-4446-c897-81da79a424e2@wiktel.com> (Richard Laager's message of "Wed, 28 Sep 2016 21:03:38 -0700")
- References: <20100906173518.GA22201@piper.oerlikon.madduck.net> <51242E84.6000307@igalia.com> <51252C1A.3060704@igalia.com> <20130220213825.GA16789@hysteria.proulx.com> <8b6ba8a4-7bb1-11e2-894e-001cc0cda50c@msgid.mathom.us> <51256560.7010701@igalia.com> <188299ba-7bc0-11e2-85e0-001cc0cda50c@msgid.mathom.us> <CAPbcu1MYqHjKZycuRETyBGCLuAnLASmha9C6E0rsgcq-9hcVBg@mail.gmail.com> <[🔎] 20160928073305.GA25169@diskless.uio.no> <[🔎] 87bmz8jowr.fsf@mid.deneb.enyo.de> <[🔎] 2flzims8d5r.fsf@diskless.uio.no> <[🔎] bfee156d-15d0-4446-c897-81da79a424e2@wiktel.com>
* Richard Laager:
> Getting back to ZFS and /etc/hostid... I would think that a
> randomly-generated /etc/hostid is probably sufficient. Whether that's
> done in the libc, spl, or zfs package makes no difference to me.
As I tried to explain, the risks of collisions without central
coordination looks rather high. glibc's current approach, using the
IP address associated with the host name, provides a certain level of
coordination, avoiding duplicates.
Reply to: