From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 259A45A0082 for ; Fri, 24 Feb 2023 20:44:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677267875; h=from:from:reply-to:subject:subject: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=CdLcxtZ01R9v5Mtqkskmm5pOcV307/UD1g/7E41GUMg=; b=VgukNd+faNtLS1Pb5H9Mj9xGybc9IlguF5NAHoNW+x8ulfmWYBZ7aa2vyg2zFPdlgkSdEX Z90RlxH0APA7VtPm591/gpzB/Mgw5ldpjoyGt+34DzNRMWdmUVbJ0+/sWr5PRDr91LcMiu hXw2M9Boev9HHpe3QOb+uu2egMfOMcE= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-596-4SRQcgKFMiC8ho4VhPikSg-1; Fri, 24 Feb 2023 14:44:34 -0500 X-MC-Unique: 4SRQcgKFMiC8ho4VhPikSg-1 Received: by mail-pj1-f71.google.com with SMTP id fa21-20020a17090af0d500b00237b14b60a4so55028pjb.6 for ; Fri, 24 Feb 2023 11:44:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:in-reply-to:mime-version:references :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CdLcxtZ01R9v5Mtqkskmm5pOcV307/UD1g/7E41GUMg=; b=g3CFfCyjrF5GqiWdFgZjYBvbdAtqXapox06qCuo4IUkgsfOHUSG/IJ5i6IoUhw++qM +idguIv/lRG0uZ+wZqpNPTX2JyWxJcAmSZ2mgMydK2Z3/byiXs+T6wYdqMx+2kPJk8Tf BAiGdr1Z6GI/N4Qba3DcaIbPOXe1qjOkiQjEyWumeHPkGU4+ETyO+c/9l3+3T0tTXDZo Xf/fjirctRKivvdS6prEiuljZEddTYlU66rQoTTr47ZNVoehIeW0pQgxh7WTpupkAuY9 Phg7p5RNbGEAAXDDxvsanKZIgxyjyVBu6rEOnfkx2AKlHWgsVweLgKjCcU8QQoE91eix hZeA== X-Gm-Message-State: AO0yUKVVl0sv454z6FJ/WkLL+kB7g/KyLywZ3mRMWcVrUz1z+3lplasm wVwIm+HjMrWufSe+CbwvxX6FP/HOQMK6UIItaQV/X5cfPL/kKwtby2F5TKPI1/66vIBYmoV43rW BRLDiVGtEMM+TaAx6v40kdeWYuzPo5byyiQ== X-Received: by 2002:a63:7b56:0:b0:4fb:933a:919 with SMTP id k22-20020a637b56000000b004fb933a0919mr3180318pgn.3.1677267872934; Fri, 24 Feb 2023 11:44:32 -0800 (PST) X-Google-Smtp-Source: AK7set/vpUXDaocEKjW9xWrxEhBpttmCStFm4K2SZMcOWJxAYPbpysPhWe5E0072wJpX5U1AixjXxVlWNmPy2x8jxPY= X-Received: by 2002:a63:7b56:0:b0:4fb:933a:919 with SMTP id k22-20020a637b56000000b004fb933a0919mr3180313pgn.3.1677267872640; Fri, 24 Feb 2023 11:44:32 -0800 (PST) Received: from 744723338238 named unknown by gmailapi.google.com with HTTPREST; Fri, 24 Feb 2023 11:44:32 -0800 From: Andrea Bolognani References: <20230223173555.3896768-1-sbrivio@redhat.com> <20230224075937.01b6345d@elisabeth> MIME-Version: 1.0 In-Reply-To: <20230224075937.01b6345d@elisabeth> Date: Fri, 24 Feb 2023 11:44:32 -0800 Message-ID: Subject: Re: [PATCH] log: Send identifier string in log messages, openlog() won't work for us To: Stefano Brivio X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: PDPCJGNY7Y2ZHMK7JMUG7M2BVVTDPQB5 X-Message-ID-Hash: PDPCJGNY7Y2ZHMK7JMUG7M2BVVTDPQB5 X-MailFrom: abologna@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Fri, Feb 24, 2023 at 07:59:37AM +0100, Stefano Brivio wrote: > On Thu, 23 Feb 2023 10:15:15 -0800 Andrea Bolognani wrote: > > Note the change from passt.avx2 to passt. Looking at the process > > listing, plain passt was used in both cases, so I assume that the > > passt.avx2 mention is journald trying to fill in the blanks and > > getting it wrong? > > Yes, it's your system logger filling in the blanks, but it didn't > really get it wrong, as the process name is actually "passt.avx2" if > the AVX2-enabled build starts. Look at this, cough cough, beauty in > arch.c: > > https://passt.top/passt/tree/arch.c#n21 > > "passt.avx2" wasn't intended in any case. Oh, I see now that I actually have passt.avx2 running, despite the output of ps hiding this fact: $ ps aux | grep bin/passt qemu 173991 [...] /usr/bin/passt [...] $ sudo ls -l /proc/173991/exe [...] /proc/173991/exe -> /usr/bin/passt.avx2 So it looks like everything is indeed working as intended :) -- Andrea Bolognani / Red Hat / Virtualization