Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910623 - app-containers/docker-24.0.4-r1: still broken with dev-lang/go-1.20.6 (cannot bind ports)
Summary: app-containers/docker-24.0.4-r1: still broken with dev-lang/go-1.20.6 (cannot...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-21 07:59 UTC by Leonid Kopylov
Modified: 2023-07-21 19:40 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2023-07-21 07:59:50 UTC
After upgrading system, docker stopped to work.
for example:
$ docker run --rm hello-world
http: invalid Host header

if trying to allocate port:
exec: \"docker-proxy\": executable file not found in $PATH"


docker-proxy was removed during docker upgrade.

# emerge -pvq =app-containers/docker-24.0.4
[ebuild   R   ] app-containers/docker-24.0.4  USE="btrfs container-init device-mapper overlay seccomp -apparmor (-selinux)"



# emerge --info =app-containers/docker-24.0.4
Portage 3.0.49 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.4.4-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.4.4-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.37
KiB Mem:   131649204 total, 123272956 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 21 Jul 2023 03:30:01 +0000
Head commit of repository gentoo: 3d3f40761330a8f2151aa381ac9ccc42279ea781
Timestamp of repository EmilienMottet: Tue, 18 Jul 2023 21:03:05 +0000
Head commit of repository EmilienMottet: f5c92c6ca03791f53a39f355ce5bfdd06b4fd961

Timestamp of repository HomeAssistantRepository: Tue, 18 Jul 2023 21:02:55 +0000
Head commit of repository HomeAssistantRepository: ca087a8728c29a426475fa01bd6e2d00bc5475d9

Timestamp of repository brave-overlay: Wed, 19 Jul 2023 21:16:44 +0000
Head commit of repository brave-overlay: e2e082499572aa02426379b6b939e9c1186adb7a

Timestamp of repository darkelf: Tue, 18 Jul 2023 21:02:51 +0000
Head commit of repository darkelf: 4a32ea6ddf6fbb97569273a165eb2aa7b117be3b

Timestamp of repository guru: Thu, 20 Jul 2023 11:52:45 +0000
Head commit of repository guru: e1ae79d92b3e72e4ec71445d12c6d550551f2bc2

Timestamp of repository kde: Tue, 18 Jul 2023 21:02:53 +0000
Head commit of repository kde: 1701f344bbbcc24a733627d4fad8b6fd71479192

Timestamp of repository pentoo: Wed, 19 Jul 2023 02:46:43 +0000
Head commit of repository pentoo: f16b8f0db49d76f653fbb15cece6e4564a5071c7

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
ccache version 4.8.2 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta4::gentoo
dev-lang/rust:             1.71.0::gentoo
dev-util/ccache:           4.8.2::gentoo
dev-util/cmake:            3.26.4-r1::gentoo
dev-util/meson:            1.2.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-apps/systemd:          253.7::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r6::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230623::gentoo, 13.1.1_p20230527::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://server.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

EmilienMottet
    location: /var/db/repos/EmilienMottet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git
    masters: gentoo
    volatile: False

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brave-overlay.git
    masters: gentoo
    volatile: False

darkelf
    location: /var/db/repos/darkelf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/darkelf.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome microsoft-edge Microsoft-vscode NVIDIA-CUDA NVIDIA-SDK OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/sonar/conf /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac accessibility acl acpi alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cgi cli colord crypt cryptsetup cuda cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnutls go gpg gpm gstreamer gtk gtk-doc gui heif hscolour html http ibus iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nptl nss nvenc odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl tcpd telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode unwind upnp upower usb utils v4l vala vdpau vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_10 python3_12" RUBY_TARGETS="ruby30 ruby31 ruby32" VIDEO_CARDS="nvidia fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-containers/docker-24.0.4::gentoo was built with the following:
USE="btrfs container-init device-mapper overlay seccomp -apparmor (-selinux)" ABI_X86="(64)"
Comment 1 Leonid Kopylov 2023-07-21 08:23:53 UTC
seems ok with app-containers/docker-24.0.4-r1
Comment 2 Leonid Kopylov 2023-07-21 08:25:55 UTC
docker: Error response from daemon: driver failed programming external connectivity on endpoint eloquent_ramanujan (825d454013dfe01d97c223016f31780bc2a47139c5a781e4e0aa9ccfe3b21b14): exec: "docker-proxy": executable file not found in $PATH
Comment 3 Leonid Kopylov 2023-07-21 08:26:12 UTC
binding port still fails
Comment 4 Dmitry Suloev 2023-07-21 11:38:10 UTC
(In reply to Leonid Kopylov from comment #3)
> binding port still fails

Yep. Same here.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-21 13:36:44 UTC
Let's use this bug for the continued bind issues.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-21 13:37:24 UTC
Could someone give me a command or commands to reproduce it, assuming I know very little about Docker? ;)

(I'm not its maintainer but I'd like to try help.)
Comment 7 William Hubbs gentoo-dev 2023-07-21 13:51:16 UTC
I can attempt to fix the docker-proxy issue, I thought it wasn't needed
any longer since upstream doesn't seem to refer to docker-proxy in the
same way any longer. I'll fix that.
Comment 8 William Hubbs gentoo-dev 2023-07-21 13:56:25 UTC
$ docker run --rm hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/
Comment 9 Leonid Kopylov 2023-07-21 14:05:01 UTC
(In reply to Sam James from comment #6)
> Could someone give me a command or commands to reproduce it, assuming I know
> very little about Docker? ;)
> 
> (I'm not its maintainer but I'd like to try help.)

$ docker run -d -p 80:80 dpage/pgadmin4

0a583e38fed50a92fd859184c70d0e026c39b4e794a41e93a240c1afb9ee03b1
docker: Error response from daemon: driver failed programming external connectivity on endpoint tender_pascal (b0abfeed18acd8f94b466d6e9357f2aea2ec4ebd0cab45c8f25c993ac66fe9b7): exec: "docker-proxy": executable file not found in $PATH.
Comment 10 Larry the Git Cow gentoo-dev 2023-07-21 15:14:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb72eaf135519f7ee1fb4ae016bf6a012cca85ca

commit bb72eaf135519f7ee1fb4ae016bf6a012cca85ca
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-07-21 15:13:27 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-07-21 15:14:41 +0000

    app-containers/docker: add 24.0.4-r2 to install docker-proxy
    
    docker-proxy has been moved to this repository.
    Bug: https://bugs.gentoo.org/910623
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 app-containers/docker/docker-24.0.4-r2.ebuild | 331 ++++++++++++++++++++++++++
 1 file changed, 331 insertions(+)
Comment 11 William Hubbs gentoo-dev 2023-07-21 15:33:39 UTC
After the latest update, when I use the command above I get the
following:

$ docker run -d -p 80:80 dpage/pgadmin4
ebffaa4f92b7a6a09bcba5f226389b3cac92b2ab3af763959dc5705aaeac884e
$

$ docker run --rm hello-world

also works as expected.
Comment 12 Alex Efros 2023-07-21 17:31:16 UTC
Works for me too, thanks!
Comment 13 Leonid Kopylov 2023-07-21 18:28:54 UTC
works for me too! thanks!
Comment 14 William Hubbs gentoo-dev 2023-07-21 19:40:50 UTC
This is fixed in ~arch.
Since stable is broken, I have requested stabilization in bug #910651.