Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: cooker@mandrivalinux.org

Mandrake Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


User ID: 7449, 107 bugs reported (403 fixed, 9 duplicate, 6 invalid), 3522 comments.

http://qa.mandriva.com/show_bug.cgi?id=21506


oblin@mandriva.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDINFO
     Ever Confirmed|0                           |1




------- Comment #1 from oblin@mandriva.com  2006-03-08 14:46 -------
It shouldn't happend for pppoe since it's only run if DEVICETYPE is "ppp" or
"ippp". Please attach your /etc/sysconfig/network-scripts/ifcfg-ppp0 file


-- 
Configure bugmail: http://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: oblin@mandriva.com
status: NEEDINFO
distribution: cooker
creation_date: 
description: 
I noticed a bug in initscripts scripts that makes the pppoe configuration 
beeing destroyed and replaced with a script that call chat 
-f /somenonexistingfile ...

So I suggest to change the /etc/sysconfig/network-scripts/ifdown-post script.

I don't know what is used for that part, but problem comes from here :
    if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then
        if [ -f /etc/ppp/peers/$DEVICE ] ; then
            rm -f /etc/ppp/peers/$DEVICE
        fi
    fi

I just don't understand why we need to destroy the config ????

pppoe store the config in /etc/ppp/peers/ppp0, and this script, makes simply 
destroy the config if ppp0 interface is shutdown (ifdown ppp0, service network 
restart, so on...)

I realy suggest disable this part or add additionnal test to handle pppoe 
configs that shouldn't be removed...

or if you keep this remove, we will need to have pppoe works; by regenerating 
the pppoe /etc/ppp/peers/ppp0 file for example (that would be stupid, but...)

Thank's to fix it.



Date Index | Thread Index