Summary: | openrc-0.4.0 breaks net.ppp0: pppd does not exit upon stopping the service | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | M. B. <tomboy64> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | minor | CC: | pchrist, polynomial-c, roy, truedfx |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.marples.name/projects/openrc/ticket/129 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | openrc-0.4.1-pppd-send-sigterm.patch |
Description
M. B.
2008-12-21 10:55:09 UTC
*** Bug 251861 has been marked as a duplicate of this bug. *** Same problem here: Igor:~ # /etc/init.d/net.ppp0 start * Bringing up interface ppp0 * Starting pppd in ppp0... [ ok ] * received address XX.XX.XXX.XXX * WARNING: net.ppp0 not under our control, aborting Igor:~ # /etc/init.d/net.ppp0 status * status: started Igor:~ # /etc/init.d/net.ppp0 stop * Bringing down interface ppp0 * Stopping pppd on ppp0 [ !! ] Igor:~ # /etc/init.d/net.ppp0 status * status: stopped Igor:~ # ps -A | grep pppd 5288 ? 00:00:00 pppd Igor:~ # /etc/init.d/net.ppp0 start * Bringing up interface ppp0 * Starting pppd in ppp0... * start-stop-daemon: /usr/sbin/pppd is already running * Failed to start PPP [ !! ] * WARNING: net.ppp0 not under our control, aborting Igor:~ # This is my /etc/conf.d/net file: modules="iproute2" config_eth0="192.168.0.254 netmask 255.255.255.0" config_eth1="null" config_ppp0="ppp" link_ppp0="eth1" plugins_ppp0="pppoe" username_ppp0="XXXXXXXXXXXXXXXXXXXXXX" pppd_ppp0="updetach defaultroute" # emerge --info Portage 2.1.6.1 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25.20 i686) ================================================================= System uname: Linux-2.6.25.20-i686-Pentium_III_-Coppermine-with-glibc2.0 Timestamp of tree: Sat, 20 Dec 2008 19:00:01 +0000 app-shells/bash: 3.2_p48 dev-lang/python: 2.5.2-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.0 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.63 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/opennap-ng" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/ssl /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -mtune=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1" FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j1 -s" 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/layman/poly-c" SYNC="rsync://192.168.0.254/gentoo-portage" USE="acl acpi apache2 berkdb bzip2 cli cracklib crypt dri fam fastcgi gdbm gnutls iconv innodb ipv6 isdnlog libwww maildir midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre pppd readline reflection session slang snmp spl sse ssl sysfs unicode x86 xml xml2 xorg zlib" ELIBC="glibc" INPUT_DEVICES="keyboard" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS probably not my day today... trying to revert status to NEW... There's an upstream bug about this (see URL). Created attachment 176228 [details, diff]
openrc-0.4.1-pppd-send-sigterm.patch
Don't bother the patch being versioned 0.4.1. It applies to 0.4.0 as well and fixes the problem of pppd not getting killed on stop.
If you have saved this file as /tmp/openrc-0.4.1-pppd-send-sigterm.patch apply it with
patch /lib/rc/net/pppd.sh /tmp/openrc-0.4.1-pppd-send-sigterm.patch
For the record, experience the same issue, after upgrading my home router/server to openrc-0.4.1. For now, I can restart the net.ppp0 service via reboot or if I kill the ppp daemon manually and zap the init script. *** This bug has been marked as a duplicate of bug 252621 *** |