From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6827348902787678208 X-Received: by 2002:a05:600c:22d3:: with SMTP id 19mr27815917wmg.161.1590423087932; Mon, 25 May 2020 09:11:27 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:a70e:: with SMTP id q14ls2340686wme.0.gmail; Mon, 25 May 2020 09:11:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuVjQl4lYqxQm9k0JHqqW1Zv08X3r4+HoIQ5k4VFKEM0Cs2SBB7aoRKIxEAxHh8+cXwgVb X-Received: by 2002:a1c:7308:: with SMTP id d8mr27008552wmb.6.1590423087415; Mon, 25 May 2020 09:11:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590423087; cv=none; d=google.com; s=arc-20160816; b=uKBouJbdgjnBsfz+PAiySaSrwsOcUitBDLV91AUaNgJWctSyUPq4EfbpHPZa/qDHAQ iKyfaz2tUkQHpKiZpYs7r6gTZcq6pQiC63Prt2O2WkjARR/jQKuHORdk9YSPzBtfaDET AQTNjvC7kLCXmiFDZkKlJBnU5nmMuccgxKsGmvI++ncrs3DmT8evYZlOwBsXwsaHYAwC YyKgCFg5KqrvEgtG9kUcvfcyGhT+r3LD2a3/GUvjxabCegzlr7rRjVV5FnyLhMnuge5H xhgl2A9i8I7dboWJZrpdM8qYInittXRngavWerSrlTShVIsBO5X8q4jNK2m+LQOjVpr5 6D/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date; bh=9MyxsN/chXty3iASAr5ZP2xMcT1ePI5Jj4lyq8H0PG8=; b=VVp+B23jAX+n7bbh4JnVJFVSflao+SL44uPBW2qunbShpjZ8sJYhbX5AEmQk/j5gji LtvUiWxGgoyktbZS0JlIFwNoKWfZp1BphyrHTqcpEW9Z3cGOhOS2J5pF/jvJGWlBUMIT wHekdd8KqZoCDla7mu4nCFujzRuFx6TJeInNRU0GREbm0WkGRSsBcieLv/vKEyeDY7Nb ZFrP52tS64d1tUKYF8oNKodAyx+eHpvpDtamUYStVZOoPvEKjg3OCWL/A+UyYekQI68K wwHyft4VI3i3XPYXFNywAhgiZhO8RpaTeT8ct5Tss6JQ1qpJUmw2NbMEHByLaZNjoWWs yl1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id s137si461195wme.2.2020.05.25.09.11.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 May 2020 09:11:27 -0700 (PDT) Received-SPF: neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 85.214.156.166 is neither permitted nor denied by best guess record for domain of ibr@radix50.net) smtp.mailfrom=ibr@radix50.net Received: from yssyq.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 04PGBO9D019125 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 25 May 2020 18:11:26 +0200 Date: Mon, 25 May 2020 18:11:24 +0200 From: Baurzhan Ismagulov To: isar-users Subject: Re: [PATCH] devshell: Use different termination test to avoid warnings Message-ID: <20200525161124.h2qsivjotymjcdpv@yssyq.m.ilbers.de> Mail-Followup-To: isar-users References: <3b659fd0-15bb-d74c-8460-ffd67651401f@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3b659fd0-15bb-d74c-8460-ffd67651401f@web.de> User-Agent: NeoMutt/20180716 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: eqwILVr45OJp On Sat, May 16, 2020 at 10:00:37AM +0200, Jan Kiszka wrote: > As we run the terminal via a sudo chroot, OE's way of testing for the > existence of the target PID does not work. It will rather fail early due > to missing permissions (user tries to send signal to root process), and > we will wait in the unmount loop, generating warnings like > > WARNING: mc:qemuamd64-buster:example-raw-0.3-r0 do_devshell: /work/build/tmp/deploy/buildchroot-target/debian-buster-amd64//home/builder/example-raw: Couldn't unmount, retrying... > > This replaces the kill(pid, 0) with a test for the existence of the > corresponding /proc/ directory. Applied to next, thanks. Is there anything against submitting this upstream, too? With kind regards, Baurzhan.