Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] lxc: setuid binary
@ 2022-08-16 20:30 CameronNemo
  2022-08-17  3:30 ` eli-schwartz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: CameronNemo @ 2022-08-16 20:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages lxc5-fix-setuid
https://github.com/void-linux/void-packages/pull/38726

lxc: setuid binary
Switch to meson had a small casualty.

Closes #38682

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/38726.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lxc5-fix-setuid-38726.patch --]
[-- Type: text/x-diff, Size: 1067 bytes --]

From 39aa018af4afefc038fe820a68afe03c61e6ca81 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-17 14:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16 20:30 [PR PATCH] lxc: setuid binary CameronNemo
2022-08-17  3:30 ` eli-schwartz
2022-08-17  3:50 ` [PR PATCH] [Updated] " CameronNemo
2022-08-17  3:53 ` backport meson patch to set lxc-user-nic suid bit CameronNemo
2022-08-17  8:08 ` paper42
2022-08-17 14:29 ` [PR PATCH] [Updated] " CameronNemo
2022-08-17 14:29 ` CameronNemo
2022-08-17 14:31 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).