Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203860 - baselayout doesn't honour pppd_${iface}
Summary: baselayout doesn't honour pppd_${iface}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-31 09:01 UTC by George Diamantopoulos
Modified: 2009-05-10 14:09 UTC (History)
2 users (show)

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


Attachments
Chap secrets file (chap-secrets.txt,114 bytes, text/plain)
2007-12-31 09:06 UTC, George Diamantopoulos
Details
/etc/conf.d/net (conf.d-net.txt,171 bytes, text/plain)
2007-12-31 09:06 UTC, George Diamantopoulos
Details
/var/log/daemon.log using /etc/init.d/net.ppp0 start (daemon.log-using-init.d.txt,3.41 KB, text/plain)
2007-12-31 09:07 UTC, George Diamantopoulos
Details
/var/log/daemon.log using pon (daemon.log-using-pon.txt,3.94 KB, text/plain)
2007-12-31 09:07 UTC, George Diamantopoulos
Details
Output of ps -ef | grep pppd after starting net.ppp0 (grep.txt,299 bytes, text/plain)
2007-12-31 09:08 UTC, George Diamantopoulos
Details
/etc/ppp/options.pptp (options.pptp.txt,182 bytes, text/plain)
2007-12-31 09:08 UTC, George Diamantopoulos
Details
/etc/ppp/peers/altec (peers.altec.txt,150 bytes, text/plain)
2007-12-31 09:08 UTC, George Diamantopoulos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George Diamantopoulos 2007-12-31 09:01:24 UTC
I followed the gentoo-wiki.com how-to on setting up PPTP tunnels. Testing the config using pon works but not using /etc/init.d/net.ppp0. While troubleshooting I found out that some options in /etc/conf.d/net are not taken into consideration when the pppd daemon is started (e.g. holdoff 10, call altec, see attachments).

Reproducible: Always

Steps to Reproduce:
1. Follow http://gentoo-wiki.com/HOWTO_PPTP_VPN_client_%28Microsoft-compatible_with_mppe%29
2. Try starting net.ppp0
3.

Actual Results:  
The link doesn't come up. However the link does come up using pon and with exactly the same configuration.

Expected Results:  
I should end up with a ppp0 interface when running ifconfig. Moreover the pppd options should correspond to those set in /etc/conf.d/net when running ps aux after having issued /etc/init.d/net.ppp0 start in the console.

Portage 2.1.4_rc11 (hardened/x86/2.6, gcc-3.4.6, glibc-2.7-r1, 2.6.23-hardened-r3 i686)
=================================================================
System uname: 2.6.23-hardened-r3 i686 Pentium II (Deschutes)
Timestamp of tree: Wed, 26 Dec 2007 02:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.3-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 2.0.0_rc6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.5, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/http-replicator"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB en_US el fr es en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi bash-completion berkdb cracklib crypt curl exif ftp gd gif gnutls gpm hal hardened icq imap inotify jabber java jpeg libwww midi mime mmx mozilla msn nls nptl nptlonly oscar pam pcre pdf pdflib perl php pic ppds python readline samba spell ssl tcltk tcpd tidy unicode urandom usb utf8 visualization x86 xml xml2 xorg zlib" ALSA_CARDS="none" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US el fr es en" USERLAND="GNU" VIDEO_CARDS="none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 George Diamantopoulos 2007-12-31 09:06:15 UTC
Created attachment 139687 [details]
Chap secrets file
Comment 2 George Diamantopoulos 2007-12-31 09:06:46 UTC
Created attachment 139688 [details]
/etc/conf.d/net
Comment 3 George Diamantopoulos 2007-12-31 09:07:19 UTC
Created attachment 139690 [details]
/var/log/daemon.log using /etc/init.d/net.ppp0 start
Comment 4 George Diamantopoulos 2007-12-31 09:07:34 UTC
Created attachment 139691 [details]
/var/log/daemon.log using pon
Comment 5 George Diamantopoulos 2007-12-31 09:08:06 UTC
Created attachment 139692 [details]
Output of ps -ef | grep pppd after starting net.ppp0
Comment 6 George Diamantopoulos 2007-12-31 09:08:29 UTC
Created attachment 139694 [details]
/etc/ppp/options.pptp
Comment 7 George Diamantopoulos 2007-12-31 09:08:48 UTC
Created attachment 139696 [details]
/etc/ppp/peers/altec
Comment 8 Roy Marples 2007-12-31 13:02:56 UTC
Try dropping [1] into your system as /lib/rc/net/pppd.sh as I think this is already fixed.

[1] http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=blob;f=net.Linux/pppd.sh;h=510a63a7d061b29ef8b956503062d435c1b63870;hb=77443c7be537377fd514761fbedf27d93a8127f3
Comment 9 George Diamantopoulos 2007-12-31 16:45:04 UTC
(In reply to comment #8)
> Try dropping [1] into your system as /lib/rc/net/pppd.sh as I think this is
> already fixed.
> 
> [1]
> http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=blob;f=net.Linux/pppd.sh;h=510a63a7d061b29ef8b956503062d435c1b63870;hb=77443c7be537377fd514761fbedf27d93a8127f3
> 

Thanks! It works now... However I get the following errors:
offler ~ # /etc/init.d/net.ppp0 start
 * Bringing up interface ppp0
 *   Caching network module dependencies
/lib/rc/net/pppd.sh: line 48: yesno: command not found
 *   Starting pppd in ppp0 ...
 *   mark_service_inactive: no service specified                                                                                                                      [ ok ]
 *   Backgrounding ...

Is this normal?
Comment 10 Roy Marples 2008-01-01 12:23:50 UTC
Yes, because that pppd version is for a newer system than what you have, but the bug in question has been fixed.

If you're using rc6, you may as well slip the ebuilds found at [1] into a local overlay so that it fully works.

[1]http://git.overlays.gentoo.org/gitweb/?p=dev/uberlord.git;a=summary
Comment 11 Alin Năstac (RETIRED) gentoo-dev 2009-05-10 14:09:22 UTC
Closed as FIXED.