GNU bug report logs -
#52452
Guix related downloads from ftp.gnu.org are slow over IPv6
Previous Next
To reply to this bug, email your comments to 52452 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#52452
; Package
guix
.
(Sun, 12 Dec 2021 15:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Christopher Baines <mail <at> cbaines.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 12 Dec 2021 15:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
900 times slower by my measurements. I noticed this when downloading the
release .tar.xz:
→ wget -4 https://ftp.gnu.org/gnu/guix/guix-binary-1.3.0.x86_64-linux.tar.xz
--2021-12-12 14:07:29-- https://ftp.gnu.org/gnu/guix/guix-binary-1.3.0.x86_64-linux.tar.xz
Resolving ftp.gnu.org (ftp.gnu.org)... 209.51.188.20
Connecting to ftp.gnu.org (ftp.gnu.org)|209.51.188.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 91030312 (87M) [application/x-xz]
Saving to: ‘guix-binary-1.3.0.x86_64-linux.tar.xz’
guix-binary-1.3.0.x 100%[===================>] 86.81M 29.4MB/s in 2.9s
2021-12-12 14:07:32 (29.4 MB/s) - ‘guix-binary-1.3.0.x86_64-linux.tar.xz’ saved [91030312/91030312]
→ wget -6 https://ftp.gnu.org/gnu/guix/guix-binary-1.3.0.x86_64-linux.tar.xz
--2021-12-12 14:07:38-- https://ftp.gnu.org/gnu/guix/guix-binary-1.3.0.x86_64-linux.tar.xz
Resolving ftp.gnu.org (ftp.gnu.org)... 2001:470:142:3::b
Connecting to ftp.gnu.org (ftp.gnu.org)|2001:470:142:3::b|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 91030312 (87M) [application/x-xz]
Saving to: ‘guix-binary-1.3.0.x86_64-linux.tar.xz.1’
guix-binary-1.3.0.x86_64-linux.tar.xz.1 100%[===================================================================>] 86.81M 32.4KB/s in 43m 36s
2021-12-12 14:51:14 (34.0 KB/s) - ‘guix-binary-1.3.0.x86_64-linux.tar.xz.1’ saved [91030312/91030312]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52452
; Package
guix
.
(Wed, 22 Dec 2021 19:15:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 52452 <at> debbugs.gnu.org (full text, mbox):
>+(define (lchown-recursive file owner group)
>+ "As 'lchown' but recursively, change ownership of FILE to the
>integer values
>+OWNER and GROUP without dereferencing symbolic links it encounter."
>+ (nftw file
>+ (lambda (filename statinfo flag base level)
>+ (catch 'system-error
>+ (lambda ()
>+ (when (member flag '(regular directory symlink))
>+ (lchown filename owner group)))
>+ (lambda args
>+ (format (current-error-port)
>+ "warning: failed to chown ~s: ~a~%"
>+ filename
>+ (strerror (system-error-errno args)))))
>+ #t)
>+ 'physical))
This is racy (compare with mkdir-p/perms for example).
This race can be resolved by using 'openat' & 'chownat' &
'AT_SYMLINK_NOFOLLOW' from
<https://lists.gnu.org/archive/html/guile-devel/2021-11/msg00005.html>.
Greetings,
Maxime.
This bug report was last modified 3 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.