creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2023-11-18 Thread Johannes Schauer Marin Rodrigues
Hi werdahias, I hope you are the same person who recently asked in #debian-devel about using mmdebstrap to create a Hurd chroot? If not, please ignore this mail. I'm putting debian-hurd@lists.debian.org into CC for this mail as what I'm writing here might be interesting for a wider audience. The

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2023-11-18 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Johannes Schauer Marin Rodrigues (2023-11-18 11:04:06) > I submitted bug #1056176 to insserv for review already. now there is also #1056213 against sysvinit. > But even with those patches there is another blocker. The hurd package throws > the following error in it

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2023-11-19 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2023-11-19 10:10:06) > Johannes Schauer Marin Rodrigues, le dim. 19 nov. 2023 07:45:16 +0100, a > ecrit: > > What am I missing so that I can boot Hurd using qemu without grub? > - qemu doesn't seem to properly detect gzipped files, so you need t

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2023-11-23 Thread Johannes Schauer Marin Rodrigues
Quoting Samuel Thibault (2023-11-19 13:14:48) > Johannes Schauer Marin Rodrigues, le dim. 19 nov. 2023 11:57:07 +0100, a > ecrit: > > The command above and the advice to extract ext2fs.static and exec.static > > should be put on some wiki page, I think. > > It&#x

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2023-11-24 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Matthias Geiger (2023-11-24 23:56:11) > I see. I was merely wondering if there was an easy way to test hurd builds > locally without having to run a VM, chrootless mode is for creating chroots for architectures that do not (yet) have qemu user mode emulation support. This is usually t

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-01-10 Thread Johannes Schauer Marin Rodrigues
(Please continue to CC me as I'm not subscribed) Hi, Quoting Johannes Schauer Marin Rodrigues (2023-11-19 07:45:16) > The last patch I have is against init-system-helpers but I'm waiting with > that one until #1056176 for insserv has been applied because it uses the same > in

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-01-11 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Guillem Jover (2024-01-11 00:32:50) > On Thu, 2024-01-11 at 00:19:58 +0100, Samuel Thibault wrote: > > Johannes Schauer Marin Rodrigues, le jeu. 11 janv. 2024 00:12:09 +0100, a > > ecrit: > > > The util-linux problem is no surprise because le

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-02-07 Thread Johannes Schauer Marin Rodrigues
Hi again, Quoting Johannes Schauer Marin Rodrigues (2024-01-11 00:12:09) > The util-linux problem is no surprise because less fails to install when > investigating that issue I noticed the version of less is 487 which is the > version from old-old-stable. Is that plausible? Maybe I&#x

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-02-07 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2024-02-07 23:32:34) > > And in unshare mode, uname -s prints "Linux" because I'm running this on > > linux. Do you happen to know what this conditional is for on non-linux > > systems? > util-linux doesn't seem to ship /bin/more on non-linux. Upstream indeed > added

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-02-07 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2024-02-08 00:13:57) > > Could/should those be created by a postinst maintainer script of a package > > in the essential set? Maybe by the hurd package? > > It used to be set by scripts but we can probably make the hurd postinst > create them, yes. But is the hurd pos

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-02-08 Thread Johannes Schauer Marin Rodrigues
On 2024-02-08 00:13, Samuel Thibault wrote: Johannes Schauer Marin Rodrigues, le jeu. 08 févr. 2024 00:04:25 +0100, a ecrit: I'm probably missing more customizations to make this work. Where else other than in debootstrap should I look? Maybe the Debian installer is doing something

Bug#1063624: libc.preinst: please skip kernel check via uname when DPKG_ROOT is not empty for gnu hurd support

2024-02-09 Thread Johannes Schauer Marin Rodrigues
Source: glibc Version: 2.37-15 Severity: normal Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd X-Debbugs-Cc: debian-hurd@lists.debian.org, debian-cr...@lists.debian.org Hi, one of the reasons for DPKG_ROOT support in packages close to the essential and build-essential set is to bui

Bug#1063629: sysvinit-core.postinst: remove obsolete code path for /etc/inittab fixup on hurd in 2014

2024-02-09 Thread Johannes Schauer Marin Rodrigues
Source: sysvinit Version: 3.08-6 Severity: normal Tags: patch User: debian-d...@lists.debian.org Usertags: dpkg-root-support X-Debbugs-Cc: debian-hurd@lists.debian.org Hi, In 2014, code was added to to the sysvinit-core.postinst to fix up /etc/inittab files on hurd which had /libexec/getty instea

Bug#1063638: util-linux.postinst: please avoid calling uname in postinst for foreign kernel DPKG_ROOT support

2024-02-10 Thread Johannes Schauer Marin Rodrigues
Package: util-linux Version: 2.39.3-6 Severity: normal Tags: patch X-Debbugs-Cc: debian-hurd@lists.debian.org User: debian-hurd@lists.debian.org Usertags: hurd-i386 User: debian-d...@lists.debian.org Usertags: dpkg-root-support Hi, when using dpkg --force-script-chrootless to create foreign archi

Bug#1063639: initscripts.postinst: avoid calling uname for non-empty DPKG_ROOT

2024-02-10 Thread Johannes Schauer Marin Rodrigues
Source: sysvinit Version: 3.08-6 Severity: normal Tags: patch X-Debbugs-Cc: debian-hurd@lists.debian.org User: debian-hurd@lists.debian.org Usertags: hurd-i386 User: debian-d...@lists.debian.org Usertags: dpkg-root-support Hi, this bug is similar to #1063629 in that it removes another use of "una

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-04-10 Thread Johannes Schauer Marin Rodrigues
Hello, I'm back once again :) Quoting Johannes Schauer Marin Rodrigues (2024-02-07 18:07:21) > And in unshare mode, uname -s prints "Linux" because I'm running this on > linux. Do you happen to know what this conditional is for on non-linux > systems? Instead of cal

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-04-10 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2024-04-10 10:46:14) > Johannes Schauer Marin Rodrigues, le mer. 10 avril 2024 10:09:02 +0200, a > ecrit: > > So I tried the whole thing again and we got a new blocker: > > > > https://buildd.debian.org/status/package.php?p=fakeroot >

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-05-21 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2024-05-20 20:01:00) > Johannes Schauer Marin Rodrigues, le mer. 10 avril 2024 12:15:33 +0200, a > ecrit: > > It seems that new versions of login, passwd and util-linux require a more > > recent version of pam than was last buildable: > >

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-07-15 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Johannes Schauer Marin Rodrigues (2024-05-21 11:50:25) > In any case, things go much further now. The next problem is some missing > DPKG_ROOT support in the hurd maintainer script. I opened a merge request > here: > > https://salsa.debian.org/hurd-team/hurd/-/merge_re

Re: xattr records not actually working? (Was: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode)

2024-08-24 Thread Johannes Schauer Marin Rodrigues
do something wrong with the virtual machine in which I ran Hurd under QEMU? Thanks! cheers, josch > Johannes Schauer Marin Rodrigues, le lun. 15 juil. 2024 11:38:37 +0200, a > ecrit: > > Hi, > > > > Quoting Johannes Schauer Marin Rodrigues (2024-05-21 11:50:25) > &

Re: xattr records not actually working? (Was: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode)

2024-08-25 Thread Johannes Schauer Marin Rodrigues
Hi Samuel, Quoting Samuel Thibault (2024-08-24 20:02:16) > Samuel Thibault, le sam. 24 août 2024 19:25:54 +0200, a ecrit: > > Johannes Schauer Marin Rodrigues, le sam. 24 août 2024 18:29:52 +0200, a > > ecrit: > > > Quoting Samuel Thibault (2024-07-19 01:35:45) &g

Re: xattr records not actually working? (Was: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode)

2024-08-25 Thread Johannes Schauer Marin Rodrigues
Quoting Samuel Thibault (2024-08-25 11:26:42) > Johannes Schauer Marin Rodrigues, le dim. 25 août 2024 11:10:29 +0200, a > ecrit: > > - ran /usr/lib/hurd/setup-translators -k > > - shut down the machine > > - mounted the image again (with -t ext4) > > - ran this

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-12-05 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2024-12-05 09:00:35) > > So now I can create bootable ext2 hurd-i386 disk images on my arm64 Linux > > box. > > That's cool :) I'll have to see if I can then automate the building of > the image that I put on cdimages. you are creating that image manually right now?

Bug#1089092: setup-translators: respect SOURCE_DATE_EPOCH when creating /var/lib/random-seed

2024-12-05 Thread Johannes Schauer Marin Rodrigues
tch at the end of this mail fixes the problem. Thanks! cheers, josch >From 2d23917442313428ff01802bf3870e82cd7d579a Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 5 Dec 2024 11:32:51 +0100 Subject: [PATCH] debian/local/setup-translators: if set, respect SOURCE_D

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-12-03 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Johannes Schauer Marin Rodrigues (2024-07-15 11:38:37) > Quoting Johannes Schauer Marin Rodrigues (2024-05-21 11:50:25) > > In any case, things go much further now. The next problem is some missing > > DPKG_ROOT support in the hurd maintainer script. I opened a merge r

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode

2024-12-19 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Samuel Thibault (2024-12-05 18:22:11) > > you are creating that image manually right now? How do you do it? > > Yes, see > http://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd.img.txt oh no! :D I looked into how that can be automated. I think you can do what you wan

Re: Bug#1104405: mmdebstrap: readdir() attempted on invalid dirhandle

2025-04-29 Thread Johannes Schauer Marin Rodrigues
Hi, I'm putting Debian Hurd maintainers in CC. Quoting J.P.Malhado (2025-04-29 17:26:34) > When running with the following command prompt > > mmdebstrap --mode=chrootless --format=directory --arch=hurd-i386 \ > > --include=sysvinit-core,sysv-rc,debian-ports-archive-keyring,gnumach-image-1-486