Hi :)
Guillem Jover <guillem@debian.org> writes:
> I finally got the chance to take a look at the dpkg FTBFS on Hurd (after
> recovering my VM! :), and it appears as if it was a fakeroot problem?
It is a bug in our fakeroot, it breaks O_NOFOLLOW:
teythoon@hurdbox ~ % cat onofollow.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int
main (int argv, char **argc)
{
if (open ("symlink", O_RDONLY|O_NOFOLLOW) < 0)
perror ("open");
return 0;
}
teythoon@hurdbox ~ % ln -s /etc/debian_version symlink
teythoon@hurdbox ~ % ./onofollow
open: Too many levels of symbolic links
teythoon@hurdbox ~ % fakeroot ./onofollow
teythoon@hurdbox ~ %
Justus
Attachment:
signature.asc
Description: PGP signature