Suspicious ownership or permission on harfbuzz-1.0.6-bin

  • Done
  • quality assurance status badge
Details
4 participants
  • Andreas Enge
  • Leo Famulari
  • Ludovic Courtès
  • Jeffrey Serio
Owner
unassigned
Submitted by
Jeffrey Serio
Severity
important
Merged with
J
J
Jeffrey Serio wrote on 9 Mar 2016 04:14
(address . bug-guix@gnu.org)
871t7kqr4v.fsf@gmail.com
I'm running the GuixSD usb install image version 0.9.0. I booted into
the install environment, and after connecting to the internet I ran
"guix pull". After "guix pull", I prepared the system to install to hard
drive, then I ran "guix system init /mnt/etc/config.scm /mnt
--fallback".

The build failed with the error message "Suspicious ownership or
permission on /gnu/store/...-harfbuzz-1.0.6-bin".

mark_weaver on the IRC channel asked me to run the stat command on that
directory, so I ran "stat /gnu/store/...-harfbuzz-1.0.6-bin" (but with
the actual string of alphanumeric characters in place of the
ellipsis). The stat command indicated that the -harfbuzz-1.0.6-bin
directory permissions is 0777. To be more specific:

Access: (0777/drwxrwxrwx) Uid: (30001/guixbuilder01) Gid:
(30000/guixbuild).

Let me know if any more information is needed.

-Jeffrey (hyperreal on IRC)
A
A
Andreas Enge wrote on 9 Mar 2016 10:32
(name . Jeffrey Serio)(address . serio.jeffrey@gmail.com)(address . 22954@debbugs.gnu.org)
20160309093209.GA28932@solar
On Tue, Mar 08, 2016 at 09:14:40PM -0600, Jeffrey Serio wrote:
Toggle quote (3 lines)
> The build failed with the error message "Suspicious ownership or
> permission on /gnu/store/...-harfbuzz-1.0.6-bin".

I have been getting these from time to time recently; it may be related
to grafts, I think it appears when one package is supposed to be grafted
to another one. The two or three times it happened to me, just rerunning
the command succeeded.

Andreas
L
L
Ludovic Courtès wrote on 9 Mar 2016 14:17
(name . Andreas Enge)(address . andreas@enge.fr)
87vb4vdc41.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (9 lines)
> On Tue, Mar 08, 2016 at 09:14:40PM -0600, Jeffrey Serio wrote:
>> The build failed with the error message "Suspicious ownership or
>> permission on /gnu/store/...-harfbuzz-1.0.6-bin".
>
> I have been getting these from time to time recently; it may be related
> to grafts, I think it appears when one package is supposed to be grafted
> to another one. The two or three times it happened to me, just rerunning
> the command succeeded.

Right, I experienced it a few times, hence 82f5186.

However, last time I saw this failure, I re-run the faulty derivation
with

guix build /gnu/store/….drv --rounds=10

and it always succeeded.

So I suspect something fishy like a race condition in the daemon or
something.

Ludo’.
L
L
Ludovic Courtès wrote on 5 May 2016 15:36
control message for bug #23452
(address . control@debbugs.gnu.org)
87k2j8bp9t.fsf@gnu.org
merge 23452 22954
L
L
Ludovic Courtès wrote on 12 Jul 2016 10:31
control message for bug #22954
(address . control@debbugs.gnu.org)
8760sbmf4g.fsf@gnu.org
severity 22954 important
L
L
Ludovic Courtès wrote on 10 Oct 2016 22:21
Re: bug#22954: Suspicious ownership or permission on harfbuzz-1.0.6-bin
(name . Jeffrey Serio)(address . serio.jeffrey@gmail.com)(address . 22954-done@debbugs.gnu.org)
87shs4gdkd.fsf@gnu.org
Hello!

Jeffrey Serio <serio.jeffrey@gmail.com> skribis:

Toggle quote (3 lines)
> The build failed with the error message "Suspicious ownership or
> permission on /gnu/store/...-harfbuzz-1.0.6-bin".

I’m happy to report that this is finally fixed!

Commit d72267863382041b84a9712eea354882be72ef55.

The root problem was that libguile’s ‘mkdir’ was playing dirty tricks
with umask(2), as explained at http://bugs.gnu.org/24659. Our
multithreaded grafting code triggered the issue described in that bug.

Thanks,
Ludo’.
Closed
L
L
Leo Famulari wrote on 10 Oct 2016 22:33
20161010203317.GA24207@jasmine
On Mon, Oct 10, 2016 at 10:21:38PM +0200, Ludovic Courtès wrote:
Toggle quote (15 lines)
> Hello!
>
> Jeffrey Serio <serio.jeffrey@gmail.com> skribis:
>
> > The build failed with the error message "Suspicious ownership or
> > permission on /gnu/store/...-harfbuzz-1.0.6-bin".
>
> I’m happy to report that this is finally fixed!
>
> Commit d72267863382041b84a9712eea354882be72ef55.
>
> The root problem was that libguile’s ‘mkdir’ was playing dirty tricks
> with umask(2), as explained at <http://bugs.gnu.org/24659>. Our
> multithreaded grafting code triggered the issue described in that bug.

Hooray!
?