From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 13 22:10:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E0B106566B for ; Sun, 13 Jul 2008 22:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2CFB08FC16 for ; Sun, 13 Jul 2008 22:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6DMA4qo008671 for ; Sun, 13 Jul 2008 22:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6DMA47E008670; Sun, 13 Jul 2008 22:10:04 GMT (envelope-from gnats) Date: Sun, 13 Jul 2008 22:10:04 GMT Message-Id: <200807132210.m6DMA47E008670@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Fedorenko Vadim Cc: Subject: Re: conf/119550: [ppp] ppp not starting during bootup. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fedorenko Vadim List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2008 22:10:05 -0000 The following reply was made to PR conf/119550; it has been noted by GNATS. From: Fedorenko Vadim To: bug-followup@FreeBSD.org, mel.xyzzy@rachie.is-a-geek.net Cc: Subject: Re: conf/119550: [ppp] ppp not starting during bootup. Date: Mon, 14 Jul 2008 01:52:19 +0400 Hello! The problem is in /etc/rc.d/ppp script's function ppp_start_profile(): su -m $ppp_user -c "$command ${rc_flags} ${_ppp_profile}" The su command does not execute during bootup that's why ppp is not started. Fix: Replace su -m $ppp_user -c "$command ${rc_flags} ${_ppp_profile}" with $command ${rc_flags} ${_ppp_profile} ppp will be executed with root privileges -- WBR, Fedorenko Vadim