Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1363447pxb; Fri, 21 Jan 2022 16:34:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUQHas58/YeqzqhuNPLcCkKuy29vwkjIAm4+qkc/H5L2k7t8lqbwYSdA7ZPQhZQ73yCWy+ X-Received: by 2002:a05:6a00:13aa:b0:4c1:e99b:2084 with SMTP id t42-20020a056a0013aa00b004c1e99b2084mr5761261pfg.19.1642811673182; Fri, 21 Jan 2022 16:34:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642811673; cv=none; d=google.com; s=arc-20160816; b=LXe26Bvx3bcLpmIzmTBEgrHdS/R0qxWPtS+Yvnoqkn2juBENYmZHI4UWOlfSutX0Po GaCeLFU4O+CSaalxM6e+y29aOuqfGgoKIhyiX0MthxFCuAb5m6e01uRWElbghH7+pZkJ GJ5cBmOC524l8pfPYcoaN9rhVaGJNM61wpDaptD3mNDtp204dCWrPSHr32r8+lpCJTcB o+bNTZRDgONfCEmXAQ/765Yw2UftRiHhogHAcRv145gjpqnEZIqYEjconaam40udSDbo uHRGOiunubUZRCYEcnYD79YTPP48ncBzK7ma7ANjaaGocHzJkKYWY8JKmnsQ9VaIag5O dWhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=JACFRqlC966zZ1PtI0GVzYG9qWesDuNqnrbnJs9CP38=; b=xer1wrxohlOfA1r24sD8MEt1BvoqeefCzcWhtSEJx/UqdF5K95Mz2p5yP69XncWxmZ fv61IEHCDDKiuyRx564wmCjw+HxtW4JjrnDMP09WZ+IiGd8pGOyv8fG3/A3klM15G9Ln Qgd0t63YrgSety1bp03Ua9A/ecQW8m9usp20vdgS48zwigOrf65xcGFGUCae6abxB9hS 6HxGm8BUjH0DorQAh1+nv6DssKjeGdBo7IT1nT7NpuVk7pCTzVUlWkg3haAnJFhlKQmn aU0CU55VI15V+0wjju0fmV4ycvsEBYInhmTGSEInYbwfWNxAdDn7CfNGhFlC69nunYjp 1Q/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=n3m9VYgm; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si7078170plx.120.2022.01.21.16.34.20; Fri, 21 Jan 2022 16:34:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=n3m9VYgm; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348634AbiAUGaU (ORCPT + 99 others); Fri, 21 Jan 2022 01:30:20 -0500 Received: from smtp-out1.suse.de ([195.135.220.28]:53944 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233954AbiAUGaU (ORCPT ); Fri, 21 Jan 2022 01:30:20 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 6B922210E2; Fri, 21 Jan 2022 06:30:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1642746619; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JACFRqlC966zZ1PtI0GVzYG9qWesDuNqnrbnJs9CP38=; b=n3m9VYgmShXbN86U6M59f+BWTs/pmCe+kyTVBJMekhfleqGSvbn+W3baa0KBRkCI4wTOXJ m/KVmYKjgQqXfeQE5vEDfbWgFGigye8IFhEFyNI4KJQ+kxKinW4OUNyku+yMUzeNn/vQmv Ha1OynsNBVNH8cZryV7k+nKzaEVFgqs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1642746619; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JACFRqlC966zZ1PtI0GVzYG9qWesDuNqnrbnJs9CP38=; b=j5OYB2cI8+ULYThes0o7QMzfeRPmoWadHus4B7oM03TVZbTd7Rz5MQPUSTZDg1ywtipf+3 DaCl45bKOTLhBnBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3140B13345; Fri, 21 Jan 2022 06:30:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9MB2CvtS6mEYCgAAMHmgww (envelope-from ); Fri, 21 Jan 2022 06:30:19 +0000 Date: Fri, 21 Jan 2022 07:30:17 +0100 From: Petr Vorel To: Nikita Yushchenko Cc: ltp@lists.linux.it, kernel@openvz.org, linux-nfs@vger.kernel.org, Steve Dickson , NeilBrown Subject: Re: [PATCH] rpc_lib.sh: fix portmapper detection in case of socket activation Message-ID: Reply-To: Petr Vorel References: <20220120143727.27057-1-nikita.yushchenko@virtuozzo.com> <31a29913-11f4-8dfd-6c5c-735673dcd1a2@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31a29913-11f4-8dfd-6c5c-735673dcd1a2@virtuozzo.com> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > > > I had to add this patch to make 'runltp -f net.rpc' pass just after > > > container is started - that happens in container autotests here. > > Yep, I suspected this. Because on normal linux distro it's working right after > > boot (tested on rpc01.sh). Can't this be a setup issue? > This depends on what is installed and how it is configured. > But definitely the state with rpcbind process not running and systemd is > listening on rpcbind sockets - is valid. > In the setup where the issue was caught, the test harness creates a > container with minimal centos8 setup inside, boots it, and starts ltp > inside. > Just reproduced manually: > [root@vz8 ~]# vzctl start 1000 > Starting Container ... > ... > [root@vz8 ~]# vzctl enter 1000 > entered into CT 1000 > CT-1000 /# pidof rpcbind > CT-1000 /# rpcinfo > /dev/null 2>&1 > CT-1000 /# pidof rpcbind > 678 > CT-1000 /# Thanks for info. I'm asking because if it's a setup bug it should not be hidden by workaround but reported. I suppose normal Centos8 VM works. Kind regards, Petr