Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905112 - =net-dialup/ppp-2.5.0 sends incorrect password to server at authorization step during connection establishing
Summary: =net-dialup/ppp-2.5.0 sends incorrect password to server at authorization ste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-26 07:42 UTC by Artemii
Modified: 2023-04-27 04:36 UTC (History)
1 user (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 Artemii 2023-04-26 07:42:34 UTC
My provider is using PPP over Ethernet for internet access. After upgrade to ppp-2.5.0 ISP say "Password incorrect" and send only to local resources. After downgrade to net-dialup/ppp-2.4.9-r9 connection works as expected. 

Reproducible: Always

Steps to Reproduce:
1. emerge =net-dialup/ppp-2.5.0
2. connect to ISP with pppoe
3. password recived by ISP completely differs from config file password.
Actual Results:  
no internet access 

Expected Results:  
internet access

cat /etc/conf.d/net

plugins_ppp0="pppoe"
link_ppp0="enp6s0"
username_ppp0="000000"
password_ppp0="PPPP"
pppd_ppp0="defaultroute usepeerdns"

emerge --info
Portage 3.0.46 (python 3.10.11-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.37-r2, 6.3.0-gentoo x86_64)
=================================================================
System uname: Linux-6.3.0-gentoo-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.37
KiB Mem:    49196060 total,  41402892 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Mon, 24 Apr 2023 20:00:01 +0000
Head commit of repository gentoo: f3c64317879640673a4ecb069b70da42309d8f7b
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo, 16.0.2::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.2::gentoo
sys-devel/llvm:            15.0.7::gentoo, 16.0.2::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver3 -mtune=znver3 -mfpmath=sse -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver3 -mtune=znver3 -mfpmath=sse -ftree-vectorize"
DISTDIR="/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n"
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="-O2 -pipe -march=znver3 -mtune=znver3 -mfpmath=sse -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver3 -mtune=znver3 -mfpmath=sse -ftree-vectorize"
GENTOO_MIRRORS="https://gentoo-mirror.alexxy.name/ https://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--hash-style=gnu -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-z,now"
LEX="flex"
MAKEOPTS="-j24"
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="7zip X a52 aac acl acpi activities alsa amd64 ass avahi bitmap-fonts blueray bluetooth bluray boost branding bzip2 cairo cdda cddb cdr clang cli crypt cups curl cxx dbus declarative device-mapper djvu dmraid dri dts dvd dvdr egl elogind encode exif ffmpeg fftw flac fontconfig fortran freetype gdal gdbm gfhortran gif gost gphoto2 gpm gstreamer gtk gui iconv icu ieee1394 ipv6 jpeg kde kms kwallet lapack latex lcms libass libglvnd libnotify libtirpc llvm lm_sensors logrotate lzma mad midi mng mp3 mp4 mpeg mpris mtp multilib musicbrainz ncurses nls nptl ogg openal opencl openexr opengl openmp pam pango pcre pdf pic pipewire plasma png policykit ppds pulseaudio python qml qt qt5 readline sdl seccomp semantic-desktop slang sound spell split-usr srt ssl startup-notification svg taglib test-rust theora threads tiff truetype truetype-fonts type1-fonts udev udisks unicode upower usb utf8 v4l vdpau vnc vorbis vtk vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid xz zeroconf zlib" 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 words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="ru en" 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_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon radeonsi 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, 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
Comment 1 Larry the Git Cow gentoo-dev 2023-04-26 15:45:31 UTC
The bug has been referenced in the following commit(s):

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

commit 15e49b95c5b14796f6819b13fcbf8714ea0e9235
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-04-26 15:43:59 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-04-26 15:44:25 +0000

    net-dialup/ppp: apply passwordfd-read-early.patch
    
    Bug: https://bugs.gentoo.org/905112
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 .../files/ppp-2.5.0-passwordfd-read-early.patch    |  97 +++++++++++++++++
 net-dialup/ppp/ppp-2.5.0-r1.ebuild                 | 117 +++++++++++++++++++++
 2 files changed, 214 insertions(+)
Comment 2 Mike Gilbert gentoo-dev 2023-04-26 15:46:07 UTC
I'm not sure if that patch will fix the issue. Please test ppp-2.5.0-r1 and let me know.
Comment 3 Artemii 2023-04-26 22:56:59 UTC
net-dialup/ppp-2.5.0-r1 fixes this problem.