[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hurd's fakeroot seems to break dpkg 1.18.24 testsuite

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>

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 ~ %


Attachment: signature.asc
Description: PGP signature

Reply to: