bug-hurd
[Top][All Lists]
Advanced

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

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


From: Justus Winter
Subject: Re: Hurd's fakeroot seems to break dpkg 1.18.24 testsuite
Date: Mon, 05 Jun 2017 19:03:44 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]