From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9BC634A797; Thu, 2 Apr 2026 02:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775098322; cv=none; b=Rl00RsKHLkYH1oiY1oisRfuwAp9cji/W75n7MHvFT+IELnUR6FnzGQXgYxYCSISXQPp3gFz/E34UADd7neAA3noBZbvk8laiUbIymMywmJWYdb9V5uGAszUIey3tLNpZtugx59MmNfGQ29vMjL7TDc7EyWfpaSxIjAj4MntCAbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775098322; c=relaxed/simple; bh=JlFe5p1Rr6DbsmMsVteKHyCUbAaklj2Cad1tyjiluoQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sH4O5a9znIsYZaShr68Lg8ZZUjK+v0i5q4Lv8hPSifUpBtL5YScfScQZHCEqJs3+AsE5o65ULDeKKGqc/FsI0SJpF9VfWgl16u28Bj6vDSlB+IhdKdQK0u60cOV8R7NG0aUlCvcDXxRx1oMpLmQMHuaXvZ2SmVl4e04OyL/nqwo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z22ZCEuT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z22ZCEuT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EACEFC4CEF7; Thu, 2 Apr 2026 02:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775098321; bh=JlFe5p1Rr6DbsmMsVteKHyCUbAaklj2Cad1tyjiluoQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Z22ZCEuTqh199yHh/wBF7ii4b90XeEJG9aiqBl5wEtKab3FztaSHmB1MjWVqt+DCp W2Jm2SmhORhCJPsKp6VErpJVQwMkWB7+R1+bYKLkju2LE8WR+W/d/hOZncIfSzdbcA q2N46AkJXCAB383B0q0JJiyIW8EJGu3rXvVfX+QqMHU2Fsg+qdEjtWDh3/ujcFzQDs xW2UCNS7XbhMFGlGo105DmJKvfRNyWCJHPDyiSq6Hn3hTlqLD364oY6rxO1qp8HzL7 Gp0bydSXPBRTEWUYJcWHcY3bKWdMNKDzR/1AFH2GRT6huHW2gezO0poqFp+6a5FNUg DST6cgQfkL4yQ== Date: Wed, 1 Apr 2026 19:52:00 -0700 From: Jakub Kicinski To: Qingfang Deng Cc: Dianne Skoll , Shuah Khan , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Felix Maurer , Sebastian Andrzej Siewior , "Matthieu Baerts (NGI0)" , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-ppp@vger.kernel.org, netdev@vger.kernel.org, Paul Mackerras Subject: Re: [PATCH net-next v7] selftests: net: add tests for PPP Message-ID: <20260401195200.34548957@kernel.org> In-Reply-To: References: <20260330035604.133073-1-dqfext@gmail.com> <20260401081030.29b050d5@kernel.org> <20260401175621.549c492e@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 2 Apr 2026 10:26:11 +0800 Qingfang Deng wrote: > Hi, >=20 > On Thu, Apr 2, 2026 at 8:56=E2=80=AFAM Jakub Kicinski w= rote: > > > > On Wed, 1 Apr 2026 23:45:38 +0800 Qingfang Deng wrote: =20 > [...] =20 > > > > > > It looks like pppoe-server fails to start. You may check the syslog to > > > see what's going on. =20 > > > > Hm, we don't capture syslog automatically :S We capture stdout and > > stderr > > > > I'm not even sure there's something listening on syslog in virtme-ng > > Is it possible to make the daemon log to stdout or a file and dump > > that file to stdout on failure? Even if we fix the current issue > > it will be quite inconvenient if we have to go into syslog every time > > the test is failing. The test output should provide enough info to > > debug failures. =20 >=20 > Add Cc: Dianne >=20 > I checked the man page of pppoe-server and did not find such option. > We can instead start our own listener and redirect the syslog to a > file or stdout: >=20 > socat -u UNIX-RECV:/dev/log,ignoreeof STDOUT & That should work for vng, I confirmed it doesn't seem to have a syslog socket $ vng -r ... $ ls /dev/log ls: cannot access '/dev/log': No such file or directory