Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1771502pxp; Thu, 10 Mar 2022 11:51:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxa0ep3wIsAyyHfIeAJCQ1Cj+1f7MF+j/IwOUcKefyQxYPovPrueH3QfN/+ytC6IBPz3oZz X-Received: by 2002:a17:906:3ad1:b0:6ce:a880:7745 with SMTP id z17-20020a1709063ad100b006cea8807745mr5650078ejd.46.1646941859803; Thu, 10 Mar 2022 11:50:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646941859; cv=none; d=google.com; s=arc-20160816; b=kGqSUn/MdBHzchREXv5Y6tZczR04NcGejLzKpOdRZ4d4ZK8p3LRY+WOOT2uwXIRMQ1 A+iFsXXdy6coUDWViWUs+CmGuCLOPn5rtQ7cemByAovV2S7N7yCTfvI+UWl2Aut+fKOV PhA7x2Tgyxl9lgVPtdGAOUVRmdlhKIvlKOUNdP9KGWFLqFYXpFoxICCO6eUFlIza6Of9 rDrPKdhfVCF8HVeYpyCYvxTsiYF/6AgwxOQL3VHaYBe7JrQXZevVAfcQmYNVioHX1EoL yRsKd5E7WLAkyzYrIQz1Z6Y3uekI4ITKncsT57lsuG6ApHGmhZETK0TPUIhykuT34ZSe vYeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=tMbb3QqIY6avMd0ZYWVR7Ku0SY9K6AsDkJ8UjOfd2V8=; b=VIL1/Hn/gf/snyfc1ZdJM7pZAn3uJZ2XiRL6DaEZsNLHy5RKimbYbGjlLqtjzN54Xj o5nHN8aWQCb3XP2dG98imXnf5fND/UDzlZG9sFeB/2ZI3Woj5ozfebuT8LemlCtCLNJo jLQQm+mmNIatG/+2XHyKdXdk6y6/r6t41h+CZom4Y9mTovqHnY5B5skJMLrG7/BMEtNY zUC1aqXGspI0up5MXhxqygAy7P7fgd8fgCy4Ftrj0gQYpdMiRLjQjAoEy0suuZJuUsgT 7sxdSSbTX1Jy7aZkqG7DDNna9IYquEV5VXzJt0FvM5Y323P9SEnAmXDLuwXkdje3G1fd DuJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a056402424a00b0041699da93e8si3762317edb.194.2022.03.10.11.50.34; Thu, 10 Mar 2022 11:50:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245497AbiCJO5P (ORCPT + 99 others); Thu, 10 Mar 2022 09:57:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245436AbiCJOwk (ORCPT ); Thu, 10 Mar 2022 09:52:40 -0500 X-Greylist: delayed 2014 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 10 Mar 2022 06:51:08 PST Received: from www.kot-begemot.co.uk (ivanoab7.miniserver.com [37.128.132.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9711C6818; Thu, 10 Mar 2022 06:51:08 -0800 (PST) Received: from [192.168.18.6] (helo=jain.kot-begemot.co.uk) by www.kot-begemot.co.uk with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSJbW-0006Ue-Os; Thu, 10 Mar 2022 14:17:26 +0000 Received: from jain.kot-begemot.co.uk ([192.168.3.3]) by jain.kot-begemot.co.uk with esmtp (Exim 4.94.2) (envelope-from ) id 1nSJbT-004kxK-Pc; Thu, 10 Mar 2022 14:17:21 +0000 Subject: Re: [PATCH] docs: UML: Mention telnetd for port channel To: Vincent Whitchurch , Jeff Dike , Richard Weinberger , Jonathan Corbet Cc: kernel@axis.com, linux-um@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220310124230.3069354-1-vincent.whitchurch@axis.com> From: Anton Ivanov Message-ID: Date: Thu, 10 Mar 2022 14:17:19 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220310124230.3069354-1-vincent.whitchurch@axis.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.0 X-Spam-Score: -1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/03/2022 12:42, Vincent Whitchurch wrote: > It is not obvious from the documentation that using the "port" channel > for the console requires telnetd to be installed (see port_connection() > in arch/um/drivers/port_user.c). Mention this, and the fact that UML > will not boot until a client connects. > > Signed-off-by: Vincent Whitchurch > --- > Documentation/virt/uml/user_mode_linux_howto_v2.rst | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/virt/uml/user_mode_linux_howto_v2.rst b/Documentation/virt/uml/user_mode_linux_howto_v2.rst > index 2cafd3c3c6cb..d5ad96c795f6 100644 > --- a/Documentation/virt/uml/user_mode_linux_howto_v2.rst > +++ b/Documentation/virt/uml/user_mode_linux_howto_v2.rst > @@ -664,7 +664,11 @@ one is input, the second one output. > * The fd channel - use file descriptor numbers for input/output. Example: > ``con1=fd:0,fd:1.`` > > -* The port channel - listen on TCP port number. Example: ``con1=port:4321`` > +* The port channel - start a telnet server on TCP port number. Example: > + ``con1=port:4321``. The host must have /usr/sbin/in.telnetd (usually part of > + a telnetd package) and the port-helper from the UML utilities (see the > + information for the xterm channel below). UML will not boot until a client > + connects. > > * The pty and pts channels - use system pty/pts. > > Acked-by: Anton Ivanov -- Anton R. Ivanov Cambridgegreys Limited. Registered in England. Company Number 10273661 https://www.cambridgegreys.com/