| Summary: | ppp0 interface gets deleted upon invoking ifdown ppp0 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Alexander Krylov <kafra2005> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | NEW --- | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | lewyssmith, marja11, ouaurelien, rolfpedersen, srowe |
| Version: | 8 | ||
| Target Milestone: | Mageia 9 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA7TOO MGA8TOO | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
| Attachments: |
ifcfg-ppp0
/etc/ppp/peers/ppp0 |
||
|
Description
Alexander Krylov
2019-06-06 07:37:01 CEST
To Thierry for starters because of 'drakconnect'. CC:
(none) =>
lewyssmith Some more investigation. 'drakconnect' creates at least two required files for TYPE=ADSL connection to work properly, /etc/sysconfig/network-scripts/ifcfg-ppp0 and /etc/ppp/peers/ppp0 What I've noticed is execution of 'ifdown ppp0' deletes /etc/ppp/peers/ppp0 file. Not sure if it's intended behaviour, but next execution of 'ifup ppp0' fails, because of absent /etc/ppp/peers/ppp0 file. Created attachment 11184 [details]
ifcfg-ppp0
Created attachment 11185 [details]
/etc/ppp/peers/ppp0
As a workaround I had to manually alter generated ifcfg-ppp0 to use TYPE=xDSL instead. This TYPE uses external scripts for ifup/ifdown which are parts of rp-pppoe package. I think this is the upstream fix for this https://github.com/deekej/initscripts/commit/f25f4828ea1c56c95d91586bec7403ab6cd48d76 CC:
(none) =>
srowe I confirm, applying the above changes fixes the initial problem.
Rolf Pedersen
2020-03-27 14:55:30 CET
CC:
(none) =>
rolfpedersen Bump, this still affects mga8. As Simon said in comment 8 this bug still valid for mga8. And to make matters worse, the solution from comment 6 doesn't work anymore for me... What about you, Simon? The original link to that solution is dead, so here's another one: https://github.com/fedora-sysv/initscripts/pull/156/commits/f25f4828ea1c56c95d91586bec7403ab6cd48d76 Yes, I've just applied this change manually again. Changing this. Version:
7 =>
Cauldron Heh, that's really odd... In my case, /etc/ppp/peers/ppp0 file keeps being deleted after 'ifdown ppp0' command even now, regardless of changes made to /etc/sysconfig/network-scripts/ifdown-post script. And IIRC, the solution mentioned in comment 6 & now in comment 9, in my case, worked for about a month in mga7, but then stopped again for some unknown reasons. Version:
Cauldron =>
7 Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021. Yes, as mentioned in comment 8, this bug still affects mga8. Nothing has been changed since then.
Marja Van Waes
2021-07-06 16:55:10 CEST
Version:
7 =>
8 |