From owner-freebsd-bugs@freebsd.org Fri Nov 6 18:17:38 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BB7D3445AFF for ; Fri, 6 Nov 2020 18:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CSTBp4nQwz4Zj4 for ; Fri, 6 Nov 2020 18:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A2362445AFE; Fri, 6 Nov 2020 18:17:38 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0CCA445CA6 for ; Fri, 6 Nov 2020 18:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSTBp3zktz4ZnG for ; Fri, 6 Nov 2020 18:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7BD8229126 for ; Fri, 6 Nov 2020 18:17:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A6IHccc063293 for ; Fri, 6 Nov 2020 18:17:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6IHcc2063292 for bugs@FreeBSD.org; Fri, 6 Nov 2020 18:17:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250908] /etc/rc.d/ppp profile support incomplete Date: Fri, 06 Nov 2020 18:17:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 12.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thomas@gibfest.dk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 18:17:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250908 Bug ID: 250908 Summary: /etc/rc.d/ppp profile support incomplete Product: Base System Version: 12.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: thomas@gibfest.dk Hello, I've been trying to use the multi profile support in /etc/rc.d/ppp but it doesn't work very well. It can start and stop multiple ppp profiles all at = the same time, so that part works. What doesn't work is: 1) (re)starting a ppp profile if another one is already running. 2) Restarting all ppp profiles only works sometimes because of a missing pw= ait and sometimes ppp takes a few seconds to hangup and exit. I have the following in rc.conf: [tykling@container1 ~]$ grep ppp /etc/rc.conf ppp_enable=3D"YES" ppp_profile=3D"telmore_quectel telmore_huawei" ppp_telmore_quectel_mode=3D"ddial" ppp_telmore_quectel_unit=3D"0" ppp_telmore_huawei_mode=3D"ddial" ppp_telmore_huawei_unit=3D"1" [tykling@container1 ~]$=20 After boot both profiles are running well: [tykling@container1 ~]$ sudo service ppp status ppp is running as pid 83309 92053. I can stop a profile: [tykling@container1 ~]$ sudo service ppp stop telmore_huawei Stopping PPP profile: telmore_huawei. [tykling@container1 ~]$ sudo service ppp status ppp is running as pid 83309. But not start it again: [tykling@container1 ~]$ sudo service ppp start telmore_huawei=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ppp already running? (pid=3D83309). If I stop the other one: [tykling@container1 ~]$ sudo service ppp stop telmore_quectel=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Stopping PPP profile: telmore_quectel. [tykling@container1 ~]$ sudo service ppp status ppp is not running. I can start one of them again: [tykling@container1 ~]$ sudo service ppp start telmore_quectel Starting PPP profile: telmore_quectel . But not the other one: [tykling@container1 ~]$ sudo service ppp start telmore_huawei=20 ppp already running? (pid=3D69181). [tykling@container1 ~]$ sudo service ppp status ppp is running as pid 69181. [tykling@container1 ~]$=20 I think the profile support needs some love. --=20 You are receiving this mail because: You are the assignee for the bug.=