all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH zfsonlinux 8/9] Include new pam_zfs_key mechanism
Date: Wed,  2 Dec 2020 20:18:08 +0100	[thread overview]
Message-ID: <20201202191809.13270-10-s.ivanov@proxmox.com> (raw)
In-Reply-To: <20201202191809.13270-1-s.ivanov@proxmox.com>

From: Antonio Russo <aerusso@aerusso.net>

(cherry picked from commit 340f9394c38a78b2530a64746c1518163d7f6970)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
 debian/rules                  | 2 ++
 debian/zfsutils-linux.install | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0e168ee1..1ce79add 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,7 @@ override_dh_auto_configure:
 	  --enable-systemd \
 	  --enable-pyzfs \
 	  --with-python=python3 \
+	  --with-pammoduledir='/lib/$(DEB_HOST_MULTIARCH)/security' \
 	  --with-systemdunitdir=/lib/systemd/system \
 	  --with-systemdpresetdir=/lib/systemd/system-preset \
 	  --with-systemdgeneratordir=/lib/systemd/system-generators \
@@ -102,6 +103,7 @@ override_dh_auto_clean:
 
 override_dh_missing:
 	find . -name lib*.la -delete
+	rm debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/pam_zfs_key.la
 	dh_missing --fail-missing
 
 override_dh_installdocs:
diff --git a/debian/zfsutils-linux.install b/debian/zfsutils-linux.install
index 77b3ab88..04f0fe48 100644
--- a/debian/zfsutils-linux.install
+++ b/debian/zfsutils-linux.install
@@ -2,6 +2,7 @@
 etc/default/zfs
 etc/zfs/zfs-functions
 etc/zfs/zpool.d/
+lib/*/security/pam_zfs_key.so
 lib/systemd/system-preset/
 lib/systemd/system/zfs-import-cache.service
 lib/systemd/system/zfs-import-scan.service
@@ -118,3 +119,4 @@ usr/share/man/man8/zpoolconcepts.8
 usr/share/man/man8/zpoolprops.8
 usr/share/man/man8/zstream.8
 usr/share/man/man8/zstreamdump.8
+usr/share/pam-configs/zfs_key
-- 
2.20.1





  parent reply	other threads:[~2020-12-02 19:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02 19:17 [pve-devel] [PATCH zfsonlinux/pve-kernel] ZFS 2.0.0 preview Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH pve-kernel 1/1] add zzstd.ko to zfs install Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 1/9] update submodule and patches for zfs-2.0.0 Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 2/9] Install files under multiarch directories Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 3/9] Bump libz{fs, pool, uutil} soname version Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 4/9] ship arcstat(1) manual page Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 5/9] Manual pages were split into subpages Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 6/9] Add new zstream utility Stoiko Ivanov
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 7/9] Include new zfs_ids_to_path tool Stoiko Ivanov
2020-12-02 19:18 ` Stoiko Ivanov [this message]
2020-12-02 19:18 ` [pve-devel] [PATCH zfsonlinux 9/9] package zfsbootenv library Stoiko Ivanov
2021-01-13 14:53 ` [pve-devel] applied-series: [PATCH zfsonlinux/pve-kernel] ZFS 2.0.0 preview Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201202191809.13270-10-s.ivanov@proxmox.com \
    --to=s.ivanov@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal