[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fakeroot-hurd not properly returning errors
From: |
Svante Signell |
Subject: |
Re: fakeroot-hurd not properly returning errors |
Date: |
Tue, 19 Aug 2014 16:23:05 +0200 |
On Tue, 2014-08-19 at 15:30 +0200, Samuel Thibault wrote:
> Hello,
>
> In short:
>
> youpi@exodar:~$ fakeroot-hurd false
> /bin/fakeauth: Error 1 for child 28735
> youpi@exodar:~$ echo $?
> 0
>
> It should be 1. That's the reason why the gnat-4.9 build failure went
> unnoticed.
>
> The source in hurd/utils/settrans.c, when chroot_command is given,
> indeed forks and waitpid()s for the child, but does not exit() with the
> status of the child. That should be an easy fix for somebody with some
> time under his hand, getting inspired from hurd/utils/fakeauth.c which
> does things appropriately.
I'll take a look. However, fixing this does not solve the permission
denied problem of fakeroot-hurd.
Re: fakeroot-hurd not properly returning errors, Anatoly A. Kazantsev, 2014/08/19