From 39aa018af4afefc038fe820a68afe03c61e6ca81 Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Tue, 16 Aug 2022 13:22:50 -0700 Subject: [PATCH] lxc: setuid binary Switch to meson had a small casualty. Closes #38682 --- srcpkgs/lxc/INSTALL | 7 +++++++ srcpkgs/lxc/template | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/lxc/INSTALL diff --git a/srcpkgs/lxc/INSTALL b/srcpkgs/lxc/INSTALL new file mode 100644 index 000000000000..7a16701bf963 --- /dev/null +++ b/srcpkgs/lxc/INSTALL @@ -0,0 +1,7 @@ +# INSTALL +case "$ACTION" in +post) + chown root:root usr/libexec/lxc/lxc-user-nic + chmod 4755 usr/libexec/lxc/lxc-user-nic + ;; +esac diff --git a/srcpkgs/lxc/template b/srcpkgs/lxc/template index 6b29d3e041fa..39d2451e3377 100644 --- a/srcpkgs/lxc/template +++ b/srcpkgs/lxc/template @@ -1,7 +1,7 @@ # Template file for 'lxc' pkgname=lxc version=5.0.1 -revision=1 +revision=2 build_style=meson configure_args="-Dpam-cgroup=true -Drootfs-mount-path=/var/lxc/containers -Ddistrosysconfdir=default