Source: ppp
Version: 2.4.7-1+4
Severity: wishlist
Tags: patch

Hi,

ppp-udeb currently installs an interfaces(5) configuration file which doesn't 
prevent
NetworkManager from managing the interface which is used for the PPPoE 
connection.
As a result, the latter keeps unsuccessfully trying to run a DHCP client on 
that interface,
which may lead to confusing error messages in some graphical desktop 
environments.
There may be other side effects as well.

The attached patch adds configuration stanza which prevents NetworkManager from
managing the interface.


-- 
Алексей Шилин
From 6e9ca2dec8d0f1d94572db852a68804b8616336f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=A8=D0=B8?=
 =?UTF-8?q?=D0=BB=D0=B8=D0=BD?= <rootlexx@mail.ru>
Date: Sat, 3 Feb 2018 15:49:51 +0300
Subject: [PATCH] Prevent NetworkManager from managing the iface being used for
 PPPoE

---
 debian/ppp-udeb.postinst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/ppp-udeb.postinst b/debian/ppp-udeb.postinst
index ad6912b..1b6a362 100644
--- a/debian/ppp-udeb.postinst
+++ b/debian/ppp-udeb.postinst
@@ -203,6 +203,11 @@ source /etc/network/interfaces.d/*
 auto lo
 iface lo inet loopback
 
+# This configuration stanza prevents ifupdown-aware network daemons
+# like NetworkManager from managing the interface which is used for
+# the PPPoE connection
+iface $IFACE inet manual
+
 # PPPoE connection
 auto provider
 iface provider inet ppp
-- 
2.11.0

Reply via email to