Howdy!
ti 14.4.2026 klo 14.45 Michael Kelly ([email protected]) kirjoitti:
> On 14/04/2026 10:29, Samuel Thibault wrote:
> > Michael Kelly, le mar. 14 avril 2026 07:43:30 +0100, a ecrit:
> >> Finally, openntpd runs a chroot in its run directory which defaults to
> >> /var/run/openntpd. It needs access to '/dev/urandom' and the network
> >> configuration so needs those translators available in the chroot.
> > How does it do it on Linux?
> >
> > That's probably where the firmlink settrans should be plugged.
>
> It might be that the Linux openntpd does not need to access the file
> system at all. '/dev/urandom' is required by Hurd because it does not
> support the '__getrandom()' call that is presumably supported on Linux.
> The glibc implementation of arc4random tries that first before falling
> back to the opening the device.

FYI, I filed an ITS bug and got around packaging the latest version of
OpenNTPd portable on Debian. Hurd patches against it are welcome.

Martin-Éric

Reply via email to