zfsonlinux/zfs/debian
Stoiko Ivanov 5b9cd1ad57 zfsutils-linux: persist hostid in postinst script
/etc/hostid does not exist on a minimal debian system.
ZFS reads its contents for MMP (zpool property multihost set to on), and needs
the value to be stable.
Before the SPL->ZFS merge the spl userspace package wrote the file (by parsing/
mangling the output of hostid (1)) Since ZFS provides the zgenhostid script,
which creates a random 4 byte hostid and writes it to /etc/hostid, we use that
instead. (hostid (1) default to mangling a configured ip of the system, which
can be the same across multiple installs (install happens with the same ip)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-05-24 11:44:34 +02:00
..
patches rebase patches on top of zfs-0.8.0 2019-05-24 11:44:34 +02:00
source zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
tree zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
changelog bump version to 0.7.13-pve2~bpo2 2019-05-21 20:09:12 +02:00
compat debian: switch to DH 10 2019-02-27 13:46:28 +01:00
control remove conflict with insserv (<< 1.18) 2019-03-27 09:55:28 +01:00
copyright zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
copyright.cme zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libnvpair1linux.docs zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libnvpair1linux.install zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libnvpair1linux.lintian-overrides zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libuutil1linux.docs zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libuutil1linux.install zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libuutil1linux.lintian-overrides zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzfs2linux.docs zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzfs2linux.install zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzfs2linux.lintian-overrides zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzfslinux-dev.docs zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzfslinux-dev.install zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzpool2linux.docs zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzpool2linux.install zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
libzpool2linux.lintian-overrides zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
not-installed add vdev_id.conf.scsi.example to examples 2019-03-08 06:46:25 +01:00
rules debian/rules: adapt to ZFS 0.8 2019-05-24 11:44:34 +02:00
watch zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfs-initramfs.install zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfs-initramfs.triggers zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfs-test.install debian: adapt install paths to ZFS 0.8 2019-05-24 11:44:34 +02:00
zfs-test.lintian-overrides zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfs-zed.install debian: adapt install paths to ZFS 0.8 2019-05-24 11:44:34 +02:00
zfsutils-linux.cron.d zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfsutils-linux.docs zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfsutils-linux.examples add vdev_id.conf.scsi.example to examples 2019-03-08 06:46:25 +01:00
zfsutils-linux.install debian: adapt install paths to ZFS 0.8 2019-05-24 11:44:34 +02:00
zfsutils-linux.lintian-overrides zfs/debian: add packaging files 2019-02-27 13:46:26 +01:00
zfsutils-linux.postinst zfsutils-linux: persist hostid in postinst script 2019-05-24 11:44:34 +02:00