Summary: | net-vpn/tor: Relay on arm64 has TLS Errors with dev-libs/openssl-1.1.x | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Phill Dowell <pdowell> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | base-system, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Phill Dowell
2022-04-13 17:33:53 UTC
Yeah, OpenSSL 3 is masked everywhere for now as it's not ready yet (too many packages fail to build). Was your system *definitely* fully built against OpenSSL 1.1.x before you decided to try OpenSSL 3? Like, did you just decide to try OpenSSL 3 because of the problems, or had you experimented with it before? (It matters to rule out ABI issues) Could you also please include emerge --info when things are broken? Note that if downgrading from OpenSSL 3, will need to run revdep-rebuild just to be safe. ... and what version of Tor? emerge --info net-vpn/tor (In reply to Sam James from comment #2) > ... and what version of Tor? emerge --info net-vpn/tor System is a headless PI4 running a fully updated, generic ARM64 Systemd Stage3. The only installed software is dev-vcs/git, sudo and TOR. I spent quite some time with a network analyser, debugger and even twiddling OpenSSL 1.1.X USE flags before trying the OpenSSL 3.X upgrade route. It looks like RaspberryPI OS still uses OpenSSL 1.1.X and, given that this is likely a rare use-case and the errors are hidden unless you go looking for them (no obvious user-facing failures) - it may be an esoteric upstream bug. sudo emerge --info net-vpn/tor Portage 3.0.30 (python 3.9.11-final-0, default/linux/arm64/17.0/systemd, gcc-11.2.1, glibc-2.34-r10, 5.15.33-v8+ aarch64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.33-v8+-aarch64-with-glibc2.34 KiB Mem: 3884336 total, 3367504 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 13 Apr 2022 07:34:27 +0000 Head commit of repository gentoo: f76f81c38509408e8020014ace82cbf44a449f57 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.0-r6::gentoo dev-lang/python: 3.9.11::gentoo, 3.10.3::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 250.4-r1::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r10::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: removed so I can post as a new user priority: -1000 sync-git-verify-commit-signature: true ACCEPT_KEYWORDS="arm64" ACCEPT_LICENSE="@FREE" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-march=native -mtune=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -mtune=native -O2 -pipe" GENTOO_MIRRORS="removed so I can post as a new user" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l4" 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="acl arm64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ADA_TARGET="gnat_2020" 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 words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" 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, LC_ALL, LD, LEX, 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 ================================================================= net-vpn/tor-0.4.7.4_alpha::gentoo was built with the following: USE="lzma man seccomp server systemd zstd -caps -doc -scrypt (-selinux) -test -tor-hardening -verify-sig" FEATURES="assume-digests usersandbox protect-owned qa-unresolved-soname-deps binpkg-docompress preserve-libs fixlafiles unmerge-logs usersync distlocks unmerge-orphans sandbox userpriv config-protect-if-modified ipc-sandbox pid-sandbox buildpkg-live userfetch news parallel-fetch sfperms strict unknown-features-warn network-sandbox binpkg-multi-instance ebuild-locks xattr merge-sync binpkg-logs multilib-strict binpkg-dostrip" After asking if there were known issues with openssl 1.x.x in #tor on oftc: 13:30 <+arma> you might be interested to learn about 0.4.7.5-alpha and 0.4.7.6-rc Maybe a bump would be useful here? Have you tried with tor 0.4.6.10 or even 0.4.6.7? Can you share a full tor log (or even just the first and last few dozen lines)? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5abf225cf39a130ee7c81d79c37319ce1c9fed27 commit 5abf225cf39a130ee7c81d79c37319ce1c9fed27 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-04-13 21:31:01 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-04-13 21:33:44 +0000 net-vpn/tor: add 0.4.7.6_rc Just a naive copy bump. Useful for testing for the tagged bug. Bug: https://bugs.gentoo.org/838229 Signed-off-by: John Helmert III <ajak@gentoo.org> net-vpn/tor/Manifest | 3 + net-vpn/tor/tor-0.4.7.6_rc.ebuild | 122 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b07e74036f2267e0c5746baff558eba755c851 commit 18b07e74036f2267e0c5746baff558eba755c851 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-04-13 21:23:10 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-04-13 21:33:39 +0000 net-vpn/tor: add 0.4.7.5_alpha Just a naive copy bump. Useful for testing for the tagged bug. Bug: https://bugs.gentoo.org/838229 Signed-off-by: John Helmert III <ajak@gentoo.org> net-vpn/tor/Manifest | 3 + net-vpn/tor/tor-0.4.7.5_alpha.ebuild | 122 +++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) Please let us know if still an issue. (To clarify, ajak and I spoke at the time, and "naive copy bump" meant "there was nothing else to do"). |