Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722718 - net-vpn/networkmanager-l2tp: default plugin path is for pppd 2.4.7
Summary: net-vpn/networkmanager-l2tp: default plugin path is for pppd 2.4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 783075 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-12 15:04 UTC by dtoch
Modified: 2021-07-25 03:43 UTC (History)
7 users (show)

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


Attachments
Patch itself (0001-Fix-pppd-plugin-path-in-networkmanager-l2tp.patch,1.03 KB, patch)
2021-04-30 10:23 UTC, dtoch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dtoch 2020-05-12 15:04:23 UTC
By default ./configure use /usr/lib64/pppd/2.4.7 as path for plugin installation, so file placed to /usr/lib64/pppd/2.4.7/nm-l2tp-pppd-plugin.so. But Gentoo have ppp 2.4.8 and plugin path is /usr/lib64/pppd/2.4.8.
Comment 1 Alexander Tsoy 2020-05-13 05:27:58 UTC
networkmanager-l2tp ebuild needs the same hack to get ppp version as networkmanager-pptp, and a slot-operator in the ppp dependency atom.
Comment 2 Alexander Kurakin 2021-02-26 15:09:00 UTC
Could it be fixed?
Comment 3 dtoch 2021-04-30 10:23:04 UTC
Created attachment 704181 [details, diff]
Patch itself

This patch fix problem for me.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-30 10:27:15 UTC
Not able to merge atm and not super familiar with ppp, or Iā€™d do it. CCed poly to look at it
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-25 03:33:37 UTC
*** Bug 783075 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2021-07-25 03:33:59 UTC
The bug has been referenced in the following commit(s):

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

commit 4a43031d7e76be66e1a94059dbe1eefcdb1efdcd
Author:     Dmitrii Tochanskii <tochansky@tochlab.net>
AuthorDate: 2021-05-22 10:23:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-25 03:32:02 +0000

    net-vpn/networkmanager-l2tp: use correct ppp plugin path
    
    By default /usr/lib64/pppd/2.4.7/ path used. This will use right path from portage.
    
    Bug: https://bugs.gentoo.org/722718
    Closes: https://github.com/gentoo/gentoo/pull/20926
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-l2tp-1.8.2.ebuild => networkmanager-l2tp-1.8.2-r1.ebuild} | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2021-07-25 03:43:43 UTC
The bug has been referenced in the following commit(s):

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

commit e536315bf9bbe10a71e1b7c35ba5258971955ff1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-25 03:39:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-25 03:43:35 +0000

    net-vpn/networkmanager-l2tp: rebase 1.8.6 on fixed 1.8.2-r1
    
    Bug: https://bugs.gentoo.org/722718
    Signed-off-by: Sam James <sam@gentoo.org>

 .../networkmanager-l2tp/networkmanager-l2tp-1.8.6.ebuild    | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)