Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231407 - [OpenRC] sys-apps/openrc seems to ignore plugin_ppp0="pptp" entry
Summary: [OpenRC] sys-apps/openrc seems to ignore plugin_ppp0="pptp" entry
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: OpenRC Team
URL:
Whiteboard: openrc:oldnet:pppd due:2011/01/01
Keywords:
Depends on: 154381
Blocks:
  Show dependency tree
 
Reported: 2008-07-10 12:57 UTC by Alexey Shvetsov
Modified: 2011-01-25 06:59 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 Alexey Shvetsov archtester gentoo-dev 2008-07-10 12:57:56 UTC
openrc seems to ignore plugins_ppp0="pptp" entry
for example
###
# ppp0 Global ip link
###
config_ppp0="ppp"
link_ppp0="/dev/null"
plugins_ppp0="pptp"
username_ppp0='user'
password_ppp0='password'
pppd_ppp0="
        pptp_server 10.255.255.55
        pptp_window 7
        updetach
        nobsdcomp
        noauth
        nodeflate
        defaultroute
        usepeerdns
        require-mppe-128
        lcp-echo-interval 15
        lcp-echo-failure 3"
rc_need_ppp0="net.eth0"

doesn't work

###
# ppp0 Global ip link
###
config_ppp0="ppp"
link_ppp0="/dev/null"
username_ppp0='user'
password_ppp0='password'
pppd_ppp0="
	plugin pptp.so
        pptp_server 10.255.255.55
        pptp_window 7
        updetach
        nobsdcomp
        noauth
        nodeflate
        defaultroute
        usepeerdns
        require-mppe-128
        lcp-echo-interval 15
        lcp-echo-failure 3"
rc_need_ppp0="net.eth0"
works =)


Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-rc8-zen1.0 i686)
=================================================================
System uname: Linux-2.6.26-rc8-zen1.0-i686-Intel-R-_Pentium-R-_M_processor_1400MHz-with-glibc2.0
Timestamp of tree: Wed, 09 Jul 2008 17:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://172.16.0.1"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/zen-overlay /usr/local/portage/layman/kdesvn-portage /usr/local/overlays/portage /usr/local/overlays/mpi /usr/local/overlays/cross"
SYNC="rsync://172.16.0.1/gentoo-portage"
USE="7zip X a52 aac acl acpi ads alsa amr amrnb amrwb apache2 archive athena audit bash-completion berkdb blas branding bzip2 cairo calendar caps captury cdf cdr chm chroot cli clucene cmkopt color-console connectionstatus consolekit contactnotes cpudetection cracklib crypt cscope cups curl cviewer cvs cyrillic dbus device-mapper dga dia dialup djvu double-precision dri dts dvd dvdnav dvdr dvdread emboss enca encode evo exif exiv2 expat fam fbcon fbcondecor fbsplash ffmpeg fftw fits flac fontconfig fortran ftp fuse garmin ggz gif git glitz gmail gmp gnuplot gnutls gpg gphoto2 gpm graphics gs gtk hal hdaps hddtemp hibernate-script highlight history httpd iconv icq ieee1394 imagemagick imap inotify iproute2 ipv6 irda isdnlog java javacomm javascript jingle jpeg jpeg2k kcal kde kdepim ksolver lapack laptop latex lcms ldap libffi libnotify lm_sensors logrotate mad maps marble math midi mikmod mktemp mmx mmxext mng mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mpi mplayer mudflap musepack ncurses nepomuk networkmanager nfs nls nova nowlistening nptl nptlonly nsplugin ntp odbc office ogg omega openexr opengl openmp optimisememory oscar pam passwdqc pcmcia pcre pdf perl pertty php plasma plotutils png postgres povray ppds pppd prelude print profile pstricks publishers pygrub python qt-copy qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiser4 reiserfs resolvconf rewrite rpm rtc rtsp ruby samba sasl sbcl sbig science sco_flowcontrol screen sdl semantic-desktop sensord server session skins slang slp sms solver sound speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg symlink sysfs taglib tcl tcpd tetex tga theora threads threadsonly tidy tiff tk toolbar tools tpctl transcode translator truetype unicode unzip urandom usb userlocales utempter vcd vhosts vidix vim vim-syntax visualization vnc vorbis webpresence wifi win32codecs winbind winpopup wma wmf wxwindows x264 x86 x86emu xanim xattr xcb xcomposite xetex xft xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid xvmc zip zlib zsh-completion" ALSA_CARDS="intel8x0" 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="evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="radeon r200"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-19 16:16:48 UTC
alexxy, does this still happen in 0.5.3 version of openrc?
Comment 2 Alexey Shvetsov archtester gentoo-dev 2009-12-19 18:55:03 UTC
(In reply to comment #1)
> alexxy, does this still happen in 0.5.3 version of openrc?
> 

Actualy i cannot test it now. since i moved from pptp isp connection to vlan =)
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-12-12 02:12:14 UTC
alexxy: can you find some other test location, or should we just close this?
Comment 4 Alexey Shvetsov archtester gentoo-dev 2010-12-20 15:59:14 UTC
(In reply to comment #3)
> alexxy: can you find some other test location, or should we just close this?
> 

Well i cant test it. I have some ways to test if it works. Aslo since this plugin is part of accel-pptp then it should depend on #154381
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2011-01-25 06:59:08 UTC
I've checked with sys-apps/openrc-0.7.0 and it works here. Alexxy if it still fails for you, please, reopen.