[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode



Johannes Schauer Marin Rodrigues, le jeu. 08 févr. 2024 08:12:51 +0100, a ecrit:
> So this is missing entries for /etc/hurd/runsystem.sysv. The hurd.postinst only
> sets up the entry for runsystem.gnu at priority 5. So I looked at the
> initscripts.postinst from sysvinit and that one also calls "uname" :D

Ah, ok, that's it indeed.

> > > If I do that I get:
> > > 
> > > /usr/libexec/runsystem.hurd: 117: Pipe call failed
> > 
> > You are probably also missing /servers/socket/1
> 
> No, I have that. Check here:
> 
> $ curl --silent https://people.debian.org/~josch/hurd.tar.xz | unxz | tar tv | grep /servers/socket/
> drwxr-xr-x root/root         0 2024-02-07 17:12 ./servers/socket/
> -rw-r--r-- root/root         0 2024-02-07 17:12 ./servers/socket/1

Actually, checking runsystem.{hurd,sysv} again, it's the converse: they
configure /servers/socket/1 only if it doesn't exist at all. So images
creators are currently expected to either configure it completely, or
not create it at all.

Samuel


Reply to: