Hi Charles (Carlos?),

Quoting Carlos Henrique Lima Melara (2024-07-06 22:34:45)
> I was creating some chroots this past month and noticed it was taking
> too long in the last step which is the update step. After a pretty
> intense debugging session with sergiodj, we were able to pin down the
> problem to a interaction between 3 things. Including gpg in the chroot,
> the bump in the max number of file descriptors and this update step only
> doing a chroot without mounting /proc - and not using sbuild-update,
> which does not show this bahaviour.
> 
> It basically boils down to gpg-agent trying to close all the possible
> file descriptors when it's running. This happens because this is the
> fallback behaviour when /proc is not mounted. When it is mounted, it
> just closes what is showed in /proc/<pid>/fd/. This always happened, but
> with the increase of the max number of fds [1], it's really taking a
> loooong time to finish sbuild-createchroot.

this sounds like a bug but how is it a bug in sbuild-createchroot? The tool is
just a very thin wrapper around debootstrap and the issue will also appear in
debootstrap, no?

Also, why are you using sbuild-createchroot? Are you trying to set up the
initial schroot configuration?

Why is this not a bug in gpg-agent?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to