Hello Proxmox-Team,
I'm using Clevis + Tang to enable network based disk encryption on my other systems. Means - once I boot a client (clevis) it requests its decryption key from a keyserver (tang) do decrypt its disks. This way the disks can only be opened (and the system booted) when it is in my network.
More details: https://opensource.com/article/20/11/nbde-linux
Sadly this works not for Proxmox VE (latest version, normal installation, not Debian) since installing clevis (disk decryption client) wants to deinstall
Is there a way to install clevis / use NBDE nevertheless?
Regards,
Schuft
I'm using Clevis + Tang to enable network based disk encryption on my other systems. Means - once I boot a client (clevis) it requests its decryption key from a keyserver (tang) do decrypt its disks. This way the disks can only be opened (and the system booted) when it is in my network.
More details: https://opensource.com/article/20/11/nbde-linux
Sadly this works not for Proxmox VE (latest version, normal installation, not Debian) since installing clevis (disk decryption client) wants to deinstall
proxmox-ve
.Is there a way to install clevis / use NBDE nevertheless?
root@pve:~# apt install clevis clevis-luks clevis-dracut cryptsetup
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cryptsetup is already the newest version (2:2.3.7-1+deb11u1).
The following additional packages will be installed:
clevis-systemd cracklib-runtime dmraid dracut dracut-core dracut-network iputils-arping jose kpartx libcrack2 libdmraid1.0.0.rc16 libdpkg-perl libfile-fcntllock-perl libjose0 libluksmeta0 libnl-genl-3-200 libpwquality-common libpwquality-tools libpwquality1 luksmeta mdadm nbd-client pigz pkg-config
Suggested packages:
debian-keyring gcc | c-compiler bzr dpkg-dev
The following packages will be REMOVED:
initramfs-tools proxmox-ve pve-kernel-5.15 pve-kernel-5.15.74-1-pve zfs-initramfs
The following NEW packages will be installed:
clevis clevis-dracut clevis-luks clevis-systemd cracklib-runtime dmraid dracut dracut-core dracut-network iputils-arping jose kpartx libcrack2 libdmraid1.0.0.rc16 libdpkg-perl libfile-fcntllock-perl libjose0 libluksmeta0 libnl-genl-3-200 libpwquality-common libpwquality-tools libpwquality1 luksmeta mdadm
nbd-client pigz pkg-config
0 upgraded, 27 newly installed, 5 to remove and 0 not upgraded.
Need to get 0 B/3,237 kB of archives.
After this operation, 391 MB disk space will be freed.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook) touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook) - your APT repository settings
W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
Regards,
Schuft