Re: sbuild on hurd-amd64...

Stéphane Glondu <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
Hello,

Le 23/08/2025 à 10:52, Samuel Thibault a écrit :
>>> Concerning the "dpkg --install" step, some maintainer scripts fail when run
>>> under fakechroot/fakeroot.
>>
>> We should then fix that. We should be able to manage to get chrootless
>> working.

I wasn't familiar with the chrootless concept.

Indeed, I can run a "regular" mmdebstrap with --mode=chrootless, under 
fakeroot. I've updated my notes accordingly:

  
https://salsa.debian.org/glondu/hurd-notes/-/blob/master/rootless-subhurd.md

>>> It makes more sense to me to run them inside the
>>> subhurd anyway.
>>
>> I don't think the required packages should need anything that chrootless
>> can't do. Even the hurd package now doesn't, with xattrs :)
> 
> Johannes, I see that base-passwd and base-files use chown to set up some
> groups etc. That would however not work with non-root chrootless, so
> we'd have to use either root chrootless, or non-root fakeroot?

My observations confirm this.

> Also, can we tell mmdebstrap to use the normal chroot instead of
> fakechroot? chroot() is not a privileged operation in the Hurd.

Oh, I wasn't aware of that!


Cheers,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.