On Wed, 29 May 2024 11:16:22 +0100 Luca Boccassi <bl...@debian.org>
wrote:
> On Tue, 28 May 2024 10:59:58 +0100 Luca Boccassi <bl...@debian.org>
> wrote:
> > Source: debos
> > Version: 1.1.1-2.1
> > Severity: important
> > Tags: patch
> > 
> > Hi,
> > 
> > debos calls debootstrap in /tmp/. Since systemd 256~rc3-3 /tmp/ is
a
> > tmpfs, mounted nodev, so debootstrap doesn't like it:
> > 
> > 76s 2024/05/28 08:39:27 Debootstrap | E: Cannot install into target
> '/tmp/autopkgtest.YDXle7/build.twd/src/.debos-1362844167/root'
mounted
> with noexec or nodev"
> > 
> > https://ci.debian.net/packages/d/debos/testing/amd64/47065797/
> > 
> > Please use /var/tmp/ instead. MR is provided at:
> > 
> > https://salsa.debian.org/go-team/packages/debos/-/merge_requests/7
> > 
> > I tested this with autopkgtest + virt-qemu and it fixes the issue.
> I'd
> > appreciate a quick upload, as it blocks systemd's migration.
> > I'd also be happy to NMU this if you are busy.
> > 
> > Thanks!
> 
> If there are no objections, given the fix only touches autopkgtest
and
> it blocks systemd's migration, I am going to upload to DELAYED/1
later
> today, to unblock it. Thanks.

Uploaded to DELAYED/1. Let me know if you want me to cancel it. debdiff
attached, and MR updated with changelog commit.

-- 
Kind regards,
Luca Boccassi
diff -Nru debos-1.1.4/debian/changelog debos-1.1.4/debian/changelog
--- debos-1.1.4/debian/changelog	2024-05-15 15:55:37.000000000 +0100
+++ debos-1.1.4/debian/changelog	2024-05-29 14:42:19.000000000 +0100
@@ -1,3 +1,11 @@
+debos (1.1.4-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Autopkgtest: use /var/tmp/ instead of /tmp/ for debootstrap (Closes:
+    #1072089)
+
+ -- Luca Boccassi <bl...@debian.org>  Wed, 29 May 2024 14:42:19 +0100
+
 debos (1.1.4-1) unstable; urgency=medium
 
   [ Christopher Obbard ]
diff -Nru debos-1.1.4/debian/tests/build-chroot debos-1.1.4/debian/tests/build-chroot
--- debos-1.1.4/debian/tests/build-chroot	2023-02-08 10:09:05.000000000 +0000
+++ debos-1.1.4/debian/tests/build-chroot	2024-05-28 10:52:24.000000000 +0100
@@ -1,5 +1,13 @@
 #!/bin/sh
 
+set -e
+
 : ${testdir:=$PWD/debian/tests}
 
+workdir="$(mktemp --directory --tmpdir=/var/tmp/ debos.XXXXXXXXXX)"
+trap "rm -rf '$workdir'" EXIT
+cd "$workdir"
+
 debos --disable-fakemachine $testdir/example.yaml
+
+cd "$testdir/../../"

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to