Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258515 - net-dialup/rp-pppoe: pppoe-server could use an initscript
Summary: net-dialup/rp-pppoe: pppoe-server could use an initscript
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 22:38 UTC by Kobboi
Modified: 2018-11-28 12:16 UTC (History)
2 users (show)

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


Attachments
conf.d file (pppoe-server.confd,295 bytes, text/plain)
2011-05-10 10:29 UTC, Oleg Gawriloff
Details
init.d file (pppoe-server.initd,759 bytes, text/plain)
2011-05-10 10:30 UTC, Oleg Gawriloff
Details
with additional options support (pppoe-server.confd,428 bytes, text/plain)
2011-05-10 12:45 UTC, Oleg Gawriloff
Details
init.d file (pppoe-server.initd,776 bytes, text/plain)
2011-05-10 12:46 UTC, Oleg Gawriloff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2009-02-10 22:38:18 UTC
I can only be short about this: it would be nice if pppoe-server, being a system service, would have an initscript installed with the package.

Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-11 02:32:38 UTC
Could you provide the package name this executable belongs to? I don't ahve it installed.
Comment 2 Kobboi 2009-02-11 10:44:31 UTC
The package pppoe-server belongs to is net-dialup/rp-pppoe. As an extra requirement, it should be possible to run pppoe-servers on different interfaces, e.g. /etc/init.d/pppoe-server.eth0 start && /etc/init.d/pppoe-server.eth1 start (with the network interfaces possibly renamed and possibly containing VLAN stuff, e.g. myintf.3000)
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2009-02-18 20:16:23 UTC
Do you have such script?

IMO could have multiple instances, but I don't think it would be wise to connect the script name with the interface. Most folks would need only one instance, therefore a /etc/init.d/pppoe (the only script that will be installed by the ebuild) would do.

If you need an example, see the init script of net-proxy/privoxy.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2009-02-18 20:23:01 UTC
FYI: pppoe-server man page says that you are allowed to pass multiple -I arguments on the command line.
Comment 5 Oleg Gawriloff 2011-05-10 10:29:51 UTC
Created attachment 272721 [details]
conf.d file
Comment 6 Oleg Gawriloff 2011-05-10 10:30:07 UTC
Created attachment 272723 [details]
init.d file
Comment 7 Oleg Gawriloff 2011-05-10 12:45:35 UTC
Created attachment 272731 [details]
with additional options support
Comment 8 Oleg Gawriloff 2011-05-10 12:46:01 UTC
Created attachment 272735 [details]
init.d file
Comment 9 Larry the Git Cow gentoo-dev 2018-11-28 12:16:04 UTC
The bug has been closed via the following commit(s):

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

commit 6941c29b3715e56592141a6d59dbe355a529f8e5
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-11-28 12:13:58 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-11-28 12:15:55 +0000

    net-dialup/rp-pppoe: Bump to version 3.13
    
    Added pppoe-server init script.
    Thanks to Oleg Gawriloff <barzog@telecom.by> for providing the script
    and the config file.
    
    Closes: https://bugs.gentoo.org/258515
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-dialup/rp-pppoe/Manifest                       |   1 +
 net-dialup/rp-pppoe/files/pppoe-server.confd       |  10 ++
 net-dialup/rp-pppoe/files/pppoe-server.initd       |   9 ++
 .../rp-pppoe/files/rp-pppoe-3.13-autotools.patch   | 110 ++++++++++++++++++++
 .../files/rp-pppoe-3.13-linux-headers.patch        |  25 +++++
 net-dialup/rp-pppoe/rp-pppoe-3.13.ebuild           | 111 +++++++++++++++++++++
 6 files changed, 266 insertions(+)