GNU bug report logs - #41491
docker fails to build on foreign Debian system

Previous Next

Package: guix;

Reported by: Jakub Kądziołka <kuba <at> kadziolka.net>

Date: Sat, 23 May 2020 18:50:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41491 in the body.
You can then email your comments to 41491 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41491; Package guix. (Sat, 23 May 2020 18:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jakub Kądziołka <kuba <at> kadziolka.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 23 May 2020 18:50:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jakub Kądziołka <kuba <at> kadziolka.net>
To: bug-guix <at> gnu.org
Subject: docker fails to build on foreign Debian system
Date: Sat, 23 May 2020 20:48:57 +0200
[Message part 1 (text/plain, inline)]
I am trying to build the `docker' package on a foreign distro.
Specifically, Debian sid. This results in the following test failures:

--------------------------------------
=== Failed
=== FAIL: daemon/graphdriver/quota TestBlockDev/testBlockDevQuotaDisabled (0.03s)
    --- FAIL: TestBlockDev/testBlockDevQuotaDisabled (0.03s)
        projectquota_test.go:83: assertion failed: error is not nil: exit status 1: mount failed: mount: /tmp/guix-build-docker-19.03.7.drv-0/xfs-mountPoint-325789281: mount failed: Operation not permitted.
            

=== FAIL: daemon/graphdriver/quota TestBlockDev/testBlockDevQuotaEnabled (0.02s)
    --- FAIL: TestBlockDev/testBlockDevQuotaEnabled (0.02s)
        projectquota_test.go:83: assertion failed: error is not nil: exit status 1: mount failed: mount: /tmp/guix-build-docker-19.03.7.drv-0/xfs-mountPoint-054602316: mount failed: Operation not permitted.
            

=== FAIL: daemon/graphdriver/quota TestBlockDev/testSmallerThanQuota (0.01s)
    --- FAIL: TestBlockDev/testSmallerThanQuota (0.01s)
        projectquota_test.go:83: assertion failed: error is not nil: exit status 1: mount failed: mount: /tmp/guix-build-docker-19.03.7.drv-0/xfs-mountPoint-879061307: mount failed: Operation not permitted.
            

=== FAIL: daemon/graphdriver/quota TestBlockDev/testBiggerThanQuota (0.01s)
    --- FAIL: TestBlockDev/testBiggerThanQuota (0.01s)
        projectquota_test.go:83: assertion failed: error is not nil: exit status 1: mount failed: mount: /tmp/guix-build-docker-19.03.7.drv-0/xfs-mountPoint-487602526: mount failed: Operation not permitted.
            

=== FAIL: daemon/graphdriver/quota TestBlockDev/testRetrieveQuota (0.01s)
    --- FAIL: TestBlockDev/testRetrieveQuota (0.01s)
        projectquota_test.go:83: assertion failed: error is not nil: exit status 1: mount failed: mount: /tmp/guix-build-docker-19.03.7.drv-0/xfs-mountPoint-717635877: mount failed: Operation not permitted.
            

=== FAIL: daemon/graphdriver/quota TestBlockDev (0.38s)
    projectquota_test.go:50: meta-data=/tmp/guix-build-docker-19.03.7.drv-0/xfs-image973358730 isize=256    agcount=4, agsize=4096 blks
                 =                       sectsz=512   attr=2, projid32bit=1
                 =                       crc=0        finobt=0, sparse=0, rmapbt=0
                 =                       reflink=0
        data     =                       bsize=4096   blocks=16384, imaxpct=25
                 =                       sunit=0      swidth=0 blks
        naming   =version 2              bsize=4096   ascii-ci=0, ftype=1
        log      =internal log           bsize=4096   blocks=853, version=2
                 =                       sectsz=512   sunit=0 blks, lazy-count=1
        realtime =none                   extsz=4096   blocks=0, rtextents=0
--------------------------------------

This suggests that there's an issue with permissions. I recalled that
Debian ships a custom kernel patch that disables unprivileged
namespaces by default. However, after setting

    kernel.unprivileged_userns_clone = 1

the problem persisted.

I am attaching the full build log.
[x1kdy6a8qnigmlp045m81rqhw8dl9w-docker-19.03.7.drv.bz2 (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 24 Jun 2022 05:09:02 GMT) Full text and rfc822 format available.

Notification sent to Jakub Kądziołka <kuba <at> kadziolka.net>:
bug acknowledged by developer. (Fri, 24 Jun 2022 05:09:03 GMT) Full text and rfc822 format available.

Message #10 received at 41491-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jakub Kądziołka <kuba <at> kadziolka.net>
Cc: 41491-done <at> debbugs.gnu.org
Subject: Re: bug#41491: docker fails to build on foreign Debian system
Date: Fri, 24 Jun 2022 01:07:59 -0400
Hi,

Closing as there's a new version of Docker available.  Hopefully that
solves the issue you had.

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Jul 2022 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.