Bug#961094: [Pkg-zfsonlinux-devel] Bug#961094: zfsutils-linux: Hostid is not regenerated on a clone/copy/restore of the underlying OS

2020-05-19 Thread Petter Reinholdtsen
The sad state of affairs with hostid and gethostid() on Linux is somehow described in https://bugs.debian.org/595790 >. The zfs package have a workaround creating /etc/hostid to make sure it do not change every time dhclient update the IP address of the machine. -- Happy hacking Petter

Bug#961094: [Pkg-zfsonlinux-devel] Bug#961094: zfsutils-linux: Hostid is not regenerated on a clone/copy/restore of the underlying OS

2020-05-19 Thread Richard Laager
On 5/19/20 7:34 PM, Real Carbonneau wrote: > For example, every clone of a Debian system has a UUID (eg command "dmidecode > -t 1"), thus it would be simple to generate a new hostid (possibly keeping the > old one backed up) when the system uuid has been observed to have changed. The BIOS UUID is