From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3E0FC433F5 for ; Mon, 24 Jan 2022 21:10:28 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 146C93C93B0 for ; Mon, 24 Jan 2022 22:10:26 +0100 (CET) Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 230DC3C65E6 for ; Mon, 24 Jan 2022 22:10:16 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id 9818E600832 for ; Mon, 24 Jan 2022 22:10:15 +0100 (CET) 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-out2.suse.de (Postfix) with ESMTPS id B27101F380; Mon, 24 Jan 2022 21:10:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1643058614; 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=MeP5XoGIJZfAr4l8T4aIdYDVR2IGQc5pZeq+l9Xp2Rg=; b=uTd00DQ7w6zCc3/MYqPgfOSrTRcaqhEPC8eduQbTjZQlTEmOTvXKAjNHU2gH89pBtZIWOV Btgc6Kbl1NBbdyowgJ9u45gRQF5SKrEw9R5GxLWEdDQrSO//huoXNb2qsajWv5Qa9IhAyb /QVE4lexMkwhbshHMjIOGFEeg2+kLG8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1643058614; 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=MeP5XoGIJZfAr4l8T4aIdYDVR2IGQc5pZeq+l9Xp2Rg=; b=Tqqn3xtOYeKgNiq7JzTUdBbK4aAIhucTXTGCMOA1TZLznROx3FB6WWhuLaZ1RkI6+ByHKF 7h5OxISbWxG2FqAg== 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 6EA1B13CC8; Mon, 24 Jan 2022 21:10:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id AvgkGLYV72G/PgAAMHmgww (envelope-from ); Mon, 24 Jan 2022 21:10:14 +0000 Date: Mon, 24 Jan 2022 22:10:12 +0100 From: Petr Vorel To: Nikita Yushchenko Message-ID: References: <20220124065937.17383-1-pvorel@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Virus-Scanned: clamav-milter 0.102.4 at in-5.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH 1/1] rpc_lib.sh: Check for running RPC X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Cc: NeilBrown , ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" > > Nikita, does it really fix your case? Or there needs to be 2 rpcinfo -p > > calls with sleep in between? > Yes, it fixes that. > Btw, easy test is: > systemctl stop rpcbind.service > runltp -f net.rpc > After applying your patch, that results in no TCONF from rcp01.sh, because > rpcbind.socket is still there, and systemd restarts rpcbind on request. FYI merged, with fixing $x variable to $services. Again, thanks both for your work. Kind regards, Petr > Nikita -- Mailing list info: https://lists.linux.it/listinfo/ltp