Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (a782ca2ce831ad412f6a9865efbbf8102a21b9cd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (a782ca2ce831ad412f6a9865efbbf8102a21b9cd)
  • Date: Wed, 23 Sep 2026 19:33:01 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

containers/lilipod/patches/0001-Fix-parallel-builds.patch
| 3

containers/lilipod/patches/0002-Report-container-setup-failures-instead-of-discardin.patch
| 3

containers/lilipod/patches/0003-Explain-cgroup-and-mqueue-setup-failures.patch
| 79 ----------
containers/lilipod/patches/0004-cmd-rm-accept-volumes-v-flag.patch
| 3

containers/lilipod/patches/0005-logs-don-t-truncate-the-log-file-before-reading-it.patch
| 2
5 files changed, 11 insertions(+), 79 deletions(-)

New commits:
commit a782ca2ce831ad412f6a9865efbbf8102a21b9cd
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

lilipod: Update patches status

commit 7806864a471b8d7dd5cded7fb72a2de40f4a3d9d
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

lilipod: Streamline patch

diff --git a/containers/lilipod/patches/0001-Fix-parallel-builds.patch
b/containers/lilipod/patches/0001-Fix-parallel-builds.patch
index 112960f..a966d92 100644
--- a/containers/lilipod/patches/0001-Fix-parallel-builds.patch
+++ b/containers/lilipod/patches/0001-Fix-parallel-builds.patch
@@ -3,8 +3,7 @@ From: Ismael Luceno <ismael AT sourcemage.org>
Date: Sun, 16 Nov 2025 06:09:11 +0100
Subject: [PATCH 1/5] Fix parallel builds

-Upstream-Status: Pending
-Origin: Source Mage
+Upstream-Status: Submitted [https://github.com/89luca89/lilipod/pull/50]
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
Makefile | 11 +++++------
diff --git
a/containers/lilipod/patches/0002-Report-container-setup-failures-instead-of-discardin.patch

b/containers/lilipod/patches/0002-Report-container-setup-failures-instead-of-discardin.patch
index 6f0c351..1404e3e 100644
---
a/containers/lilipod/patches/0002-Report-container-setup-failures-instead-of-discardin.patch
+++
b/containers/lilipod/patches/0002-Report-container-setup-failures-instead-of-discardin.patch
@@ -17,8 +17,7 @@ Three places turned a diagnosable failure into a bare "exit
status 1":
sliced its output unconditionally. Report why it failed, include its
stderr, and say how to add the missing subordinate ID ranges.

-Upstream-Status: Pending
-Origin: Source Mage
+Upstream-Status: Submitted [https://github.com/89luca89/lilipod/pull/50]
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
pkg/procutils/proc_utils.go | 168 +++++++++++++++++++++++++++++++++---
diff --git
a/containers/lilipod/patches/0003-Explain-cgroup-and-mqueue-setup-failures.patch

b/containers/lilipod/patches/0003-Explain-cgroup-and-mqueue-setup-failures.patch
index e93c5e9..e43a590 100644
---
a/containers/lilipod/patches/0003-Explain-cgroup-and-mqueue-setup-failures.patch
+++
b/containers/lilipod/patches/0003-Explain-cgroup-and-mqueue-setup-failures.patch
@@ -1,60 +1,27 @@
From 2a4df0c08245fd837f798fb3f8a0cee7ef5ecdb3 Mon Sep 17 00:00:00 2001
From: Ismael Luceno <ismael AT sourcemage.org>
Date: Sat, 15 Aug 2026 04:00:00 +0100
-Subject: [PATCH 3/5] Explain cgroup and mqueue setup failures
+Subject: [PATCH 3/5] Explain cgroup setup failures

-Both of these fail on hosts that are otherwise fine, and the errno alone
-does not say what to do about it:
-
-- A host still running a cgroup v1 hierarchy cannot mount cgroup2, and a
- user with no delegated cgroup v2 subtree gets EACCES creating its own
- scope. Name the requirement and point at --cgroupns host.
-- A missing /dev/mqueue mountpoint on the host breaks both the private and
- the shared IPC paths. Give the mount command and the fstab line.
-
-Upstream-Status: Pending
-Origin: Source Mage
+Upstream-Status: Submitted [https://github.com/89luca89/lilipod/pull/50]
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
- pkg/containerutils/rootfs_utils.go | 54 +++++++++++++++++++++++++-----
- 1 file changed, 46 insertions(+), 8 deletions(-)
+ pkg/containerutils/rootfs_utils.go | 17 ++++++++++++-----
+ 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/pkg/containerutils/rootfs_utils.go
b/pkg/containerutils/rootfs_utils.go
-index 0400c2feda0c..2def3c58bb70 100644
+index b21926d68002..137f42779306 100644
--- a/pkg/containerutils/rootfs_utils.go
+++ b/pkg/containerutils/rootfs_utils.go
-@@ -78,24 +78,52 @@ func setupCgroupfs(conf utils.Config) error {
- if err != nil {
- logging.LogDebug("error: %+v", err)
-
-- return fmt.Errorf("error setting cgroups %w", err)
-+ return fmt.Errorf(
-+ "cannot mount a cgroup2 filesystem: %w\n"+
-+ "A unified (cgroup v2) hierarchy is required.
If this host still "+
-+ "uses cgroup v1, either switch it to cgroup
v2 or run with "+
-+ "--cgroupns host to skip cgroup setup",
-+ err)
- }
+@@ -84,19 +84,26 @@ func setupCgroupfs(conf utils.Config) error {

// move our process to a dedicated scope, so that eventual init
systems
// won't encour problems with unknown PIDs
- err = os.MkdirAll("/sys/fs/cgroup/container-"+conf.Names+".scope",
0o755)
+ scope := "/sys/fs/cgroup/container-" + conf.Names + ".scope"
-+
+ err = os.MkdirAll(scope, 0o755)
if err != nil {
- return err
-+ if os.IsPermission(err) {
-+ return fmt.Errorf(
-+ "cannot create cgroup %s: %w\n"+
-+ "This user cannot write to its own
cgroup, so a rootless "+
-+ "container cannot be placed in a
scope of its own.\n"+
-+ "Delegate a writable cgroup v2
subtree to the user (see the "+
-+ "\"Delegation\" section of the kernel
cgroup-v2 documentation), "+
-+ "or run with --cgroupns host to skip
cgroup setup entirely",
-+ scope, err)
-+ }
-+
+ return fmt.Errorf("cannot create cgroup %s: %w", scope, err)
}

@@ -69,11 +36,7 @@ index 0400c2feda0c..2def3c58bb70 100644
+
_, err = fmt.Fprint(file, 0)
+ if err != nil {
-+ return fmt.Errorf(
-+ "cannot move the container process into %s: %w\n"+
-+ "Writing to cgroup.procs also needs write
access to the "+
-+ "cgroup.procs of the common ancestor cgroup;
a properly "+
-+ "delegated subtree provides this",
++ return fmt.Errorf("cannot move the container process into %s:
%w\n",
+ scope, err)
+ }

@@ -82,31 +45,3 @@ index 0400c2feda0c..2def3c58bb70 100644
}

// we need to setup the /dev/pts mountpoint, by mounting a new devpts
filesystem
-@@ -249,7 +277,12 @@ func setupMounts(path string, conf utils.Config) error {
- if err != nil {
- logging.LogDebug("error: %+v", err)
-
-- return fmt.Errorf("error setting IPC private
namespace - /dev/mqueue: %w", err)
-+ return fmt.Errorf(
-+ "cannot mount mqueue on %s: %w\n"+
-+ "The host has no /dev/mqueue
mountpoint. Create it with:\n"+
-+ " sudo mkdir -p /dev/mqueue &&
sudo mount -t mqueue mqueue /dev/mqueue\n"+
-+ "and add \"mqueue /dev/mqueue mqueue
defaults\" to /etc/fstab to persist it",
-+ filepath.Join(path, "/dev/mqueue"), err)
- }
- } else {
- logging.LogDebug("setting up shared IPC namespace")
-@@ -268,7 +301,12 @@ func setupMounts(path string, conf utils.Config) error {
- if err != nil {
- logging.LogDebug("error: %+v", err)
-
-- return fmt.Errorf("error setting IPC namespace -
/dev/mqueue: %w", err)
-+ return fmt.Errorf(
-+ "cannot bind-mount the host's /dev/mqueue:
%w\n"+
-+ "The host has no /dev/mqueue
mountpoint. Create it with:\n"+
-+ " sudo mkdir -p /dev/mqueue &&
sudo mount -t mqueue mqueue /dev/mqueue\n"+
-+ "and add \"mqueue /dev/mqueue mqueue
defaults\" to /etc/fstab to persist it",
-+ err)
- }
- }
-
diff --git
a/containers/lilipod/patches/0004-cmd-rm-accept-volumes-v-flag.patch
b/containers/lilipod/patches/0004-cmd-rm-accept-volumes-v-flag.patch
index 06f907b..5a8a7c0 100644
--- a/containers/lilipod/patches/0004-cmd-rm-accept-volumes-v-flag.patch
+++ b/containers/lilipod/patches/0004-cmd-rm-accept-volumes-v-flag.patch
@@ -19,8 +19,7 @@ to the removal behavior itself is required. The flag is
intentionally
not force-required to be true, matching podman/docker where `-v` is
optional and `rm` without it still works.

-Upstream-Status: Pending
-Origin: Source Mage
+Upstream-Status: Submitted [https://github.com/89luca89/lilipod/pull/50]
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
cmd/rm.go | 7 +++++++
diff --git
a/containers/lilipod/patches/0005-logs-don-t-truncate-the-log-file-before-reading-it.patch

b/containers/lilipod/patches/0005-logs-don-t-truncate-the-log-file-before-reading-it.patch
index b412b1a..ac4a242 100644
---
a/containers/lilipod/patches/0005-logs-don-t-truncate-the-log-file-before-reading-it.patch
+++
b/containers/lilipod/patches/0005-logs-don-t-truncate-the-log-file-before-reading-it.patch
@@ -21,7 +21,7 @@ wrong to the user, end up printing nothing instead.
Only create the file if it doesn't exist yet, mirroring what "logs"
already does two lines above when checking the container exists.

-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/89luca89/lilipod/pull/50]
Signed-off-by: Ismael Luceno <ismael AT sourcemage.org>
---
cmd/logs.go | 16 +++++++++++++---


  • [[SM-Commit] ] GIT changes to master grimoire by Ismael Luceno (a782ca2ce831ad412f6a9865efbbf8102a21b9cd), Ismael Luceno, 09/23/2026

Archive powered by MHonArc 2.6.24.

Top of Page