[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fakeroot-hurd not properly returning errors
From: |
Samuel Thibault |
Subject: |
fakeroot-hurd not properly returning errors |
Date: |
Tue, 19 Aug 2014 15:30:43 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
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.
Samuel
- fakeroot-hurd not properly returning errors,
Samuel Thibault <=
Re: fakeroot-hurd not properly returning errors, Anatoly A. Kazantsev, 2014/08/19