First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 149385
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Serge Gavrilov <serge@pdmi.ras.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 149385 depends on: Show dependency tree
Bug 149385 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-28 01:17 0000
Hello! 
After upgrading up to sys-apps/baselayout-1.12.5-r1 when stopping net.ppp0
interface I get:

# /etc/init.d/net.ppp0 stop
 * Stopping ppp0
 *   Bringing down ppp0
 *     Stopping pppd on ppp0
/lib/rcscripts/net/pppd.sh: line 233: --pidfile: command not found

It looks like that everything is OK after stopping:

# /etc/init.d/net.ppp0 status
 * status:  stopped
# /etc/init.d/net.ppp0 start
 * Starting ppp0
 *   Running preup function                                                    
                                                                               
                 [ ok ] *   Bringing up ppp0
 *     ppp
 *       Running pppd ...
 *       ppp0 received address *.*.*.*

My /etc/conf.d/net is

config_nas0=( null )
br2684ctl_nas0="-e 0 -a 0.35"

config_ppp0=( ppp )  # Runs /lib/rcscripts/net/pppd.sh
link_ppp0='nas0' # The name of the RFC2684 bridge interface
plugins_ppp0=( 'pppoe' )
pppd_ppp0=( updetach noauth debug defaultroute usepeerdns persist)
username_ppp0='ptn'  # E.g. 'fredbloggs@hg5.btclick.com'
password_ppp0='ptn'  # ADSL password, assigned by your ISP

depend_ppp0() {
    need net.nas0
}

function preup() {
        if [[ "$1" = "nas0" ]] ; then
                modprobe -q speedtch
                return 0
        fi
}

------- Comment #1 From Serge Gavrilov 2006-09-28 01:24:42 0000 -------
Moreover (I cannot understand this!) if I skip 
"/etc/init.d/net.ppp0 status" interface fails to start after stopping:

# /etc/init.d/net.ppp0 stop
* Stopping ppp0
 *   Bringing down ppp0
 *     Stopping pppd on ppp0
/lib/rcscripts/net/pppd.sh: line 233: --pidfile: command not found

# /etc/init.d/net.ppp0 start
 * WARNING:  net.ppp0 has already been started.

# /etc/init.d/net.ppp0 status
 * status:  stopped

# /etc/init.d/net.ppp0 start
 * Starting ppp0
 *   Running preup function                                                    
                                                                               
                 [ ok ] *   Bringing up ppp0
 *     ppp
 *       Running pppd ...
 *       ppp0 received address 

------- Comment #2 From Roy Marples (RETIRED) 2006-09-28 02:35:31 0000 -------
Fixed in -r2. Sorry about that

First Last Prev Next    No search results available      Search page      Enter new bug