Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
[ Thomas: use new helper from common ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Architecture: all
Depends: file,
libpve-cluster-perl,
- libpve-common-perl (>= 6.0-8),
+ libpve-common-perl (>= 6.0-12),
libpve-guest-common-perl (>= 3.0-2),
libpve-storage-perl (>= 5.0-31),
lxc-pve,
# leave up to the kernel. We may in the future remove this if seccomp gets
# a way to tell the kernel to "continue" a syscall.
if ($features->{mknod}) {
+ my ($ok, $kernel) = PVE::ProcFSTools::check_kernel_release(5, 3);
+ if (!$ok) {
+ die "'mknod' feature requested, but kernel too old (found $kernel, required >= 5.3)\n";
+ }
+
$raw_conf .= "lxc.seccomp.notify.proxy = unix:/run/pve/lxc-syscalld.sock\n";
$rules->{mknod} = [