On Sat, 2022-08-20 at 00:44:17 +0100, Colin Watson wrote: > On Sat, Aug 20, 2022 at 01:35:54AM +0200, Guillem Jover wrote: > > The man-db package seems to have switched from start-stop-daemon to > > setpriv, but the latter seems to be Linux-only. On a hurd-i386 box I > > see the following now: > > > > Processing triggers for man-db (2.10.2-2) ... > > /var/lib/dpkg/info/man-db.postinst: 22: setpriv: not found > > Bother. Do you know of a portable replacement, or do I have to add a > fallback to perl? I was hoping to avoid the latter, especially since > setpriv is clearly simpler.
I was checking man-db packaging history and it was not clear to me why start-stop-daemon was switched to the perl code. I don't understand why s-s-d would not be available during debootstrap (didn't fine a commit with the change, as it seemed to be included as part of a merge commit, and just the changelog entry)? Thanks, Guillem