From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id tHZKKVXzzmcvEQsAWB0awg (envelope-from ) for ; Mon, 10 Mar 2025 10:12:37 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=lists.lttng.org header.i=@lists.lttng.org header.a=rsa-sha256 header.s=default header.b=k5yxDjq+; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9780B1E105; Mon, 10 Mar 2025 10:12:37 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=4.0.0 Received: from lists.lttng.org (lists.lttng.org [158.69.130.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id CAEEE1E08E for ; Mon, 10 Mar 2025 10:12:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.lttng.org; s=default; t=1741615956; bh=vnnjbR8uVWoNuDR1m40M+tHslEorxdn5+v+1d9jnsI4=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=k5yxDjq+lKMU6Gyf0EJH1f3WdLzem9ucJmZUCd/mNz9d3cmakBGCdbGKK9ICsxVzi CNBkCcVSrAiunW030XnkPyca9vc+G/JbwjrpQ1qj6Myoass7B85gO46J8t9Qy6PzU/ bv98u3WyG8nug0MEnnlUbFYz2q+GFMdQFissxfZqrTOBu65Xa0pnyfjBZ2E4qg0en+ N0wuVAWPCvJJxhZPhKoFjK1Kl0kxTh75JDGP9DWmUpju/SHUA8acG13J7f+1Kgh3lQ JBJh0UVSMtSTWyNpfEdUv0Kk4wG/4IMzcstq5EXyH6PA3OuHFz/vnyuapIRk4tl++j sKw11V0ezMpYw== Received: from lists-lttng01.efficios.com (localhost [IPv6:::1]) by lists.lttng.org (Postfix) with ESMTP id 4ZBJkX3HhSz1lBM; Mon, 10 Mar 2025 10:12:36 -0400 (EDT) Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) by lists.lttng.org (Postfix) with ESMTPS id 4ZBJkW6CtWz1lBL for ; Mon, 10 Mar 2025 10:12:35 -0400 (EDT) Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-5fc6fe05460so2582042eaf.1 for ; Mon, 10 Mar 2025 07:12:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741615955; x=1742220755; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6EmYXx1p92sPMsZhBjOLtZxKpitE15MBRJMit7RooiY=; b=w4mEDwb6Q4oKar+NI/kOsSiB6f29eAfOzozDN27tKf8+mWgcFbgAA/9a4GK3u96eho Pzev/Qg5NEsYsJglPINy/n7SVKvJjNC5klgXC/vEehh3kCiebpr8DWDqxrzlqp4RKSrj YsVC2W1JpZI5Y17QJTr0CGg2h65Lk9xV46Q+5GFXYNBdvjprZ+/hO5Z/8uqkghVD6fsk n2q2F7hrXV5zBu84eK2bS9ZvY7QXQwDhKhey4EZGhgSjYIicwzjK0djIO+BE7myxQPM8 Tlq7GUJ/kqRiUM7LYiuHwPfPvQT8iSzJGPNYTIv4IctsgIIyM76fCTKnAOF6UVSiW7+5 ZInw== X-Gm-Message-State: AOJu0YxCpDRliwLzr0d/zwky9UxEv5ulZLTm2EjrNZY7XkGiLh1j6je+ 5fzKwqIwcNYKHDltT/LKtM+58ZJ6QuXmWU9xJIyhZjEoiA8hg4xY2Br8D035qcPCYECZMpOXVjW 1OMOPlj+9SEnha8ngngkZ++3maOk9594xa7M= X-Gm-Gg: ASbGnctDQe5hS4vKtGQHVEyDPC6QzT1J4b0gsgIiLZyIG86TnIKoKaUBpjxEaY44/w+ 02tpsk98P7gRkZ9VmOD9STXBcrCtZBfk8GRdLuSLtFe/fEqejUkMTR6Mj8xDb97WKLcj9eJl5FC 3gz5Kg4+HOL+8uJtC30lcr1r0/qRiiKop7cFE2EgXPbMJqV5kQ+fSYCsF9EUJg X-Google-Smtp-Source: AGHT+IEV67t6WK8eeE6JIVLXESqPgl8eY7WtBBKlRCPaen+jrjzSJ7bwiVAHayqbCIW4ox/wCuwX6vRCAzbvr56V6p0= X-Received: by 2002:a05:6808:3a1a:b0:3f7:e553:56c6 with SMTP id 5614622812f47-3f7e5535bb4mr3083030b6e.37.1741615954874; Mon, 10 Mar 2025 07:12:34 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 10 Mar 2025 10:12:23 -0400 X-Gm-Features: AQ5f1Jqb_a180d0cWSoiz0d7Kjf0xnwzyv732uehErx7H9sW-mMY2uYpOW4Lpsg Message-ID: Subject: Github Action Runners creating world-writable shared memory section: lttng-ust-wait-n To: lttng-dev@lists.lttng.org Content-Type: multipart/alternative; boundary="000000000000535b6d062ffd90a0" X-BeenThere: lttng-dev@lists.lttng.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: LTTng development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: bill robertson via lttng-dev Reply-To: bill robertson Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" --000000000000535b6d062ffd90a0 Content-Type: text/plain; charset="UTF-8" GHA runners appear to use lttng-ust for some sort of IPC between runners on the same machine. $ ll /dev/shm/ -rw-rw-rw- 1 gha-runner-7 gha-runner-7 4096 Feb 20 04:03 lttng-ust-wait-8 -rw-r----- 1 gha-runner-8 gha-runner-8 4096 Feb 20 04:03 lttng-ust-wait-8-558 -rw-r----- 1 gha-runner-7 gha-runner-7 4096 Feb 20 04:03 lttng-ust-wait-8-559 -rw-r----- 1 gha-runner-6 gha-runner-6 4096 Feb 20 04:03 lttng-ust-wait-8-560 -rw-r----- 1 gha-runner-5 gha-runner-5 4096 Feb 20 04:03 lttng-ust-wait-8-561 -rw-r----- 1 gha-runner-4 gha-runner-4 4096 Feb 20 04:03 lttng-ust-wait-8-562 -rw-r----- 1 gha-runner-3 gha-runner-3 4096 Feb 20 04:03 lttng-ust-wait-8-563 -rw-r----- 1 gha-runner-2 gha-runner-2 4096 Feb 20 04:03 lttng-ust-wait-8-564 -rw-r----- 1 gha-runner-1 gha-runner-1 4096 Feb 20 04:03 lttng-ust-wait-8-565 I assume that this is their code, and not some configuration issue on the host machine, but if this may not be the case, can someone explain what can be done or point me to information on the subject? Otherwise, is there some sort of environment variable or other setting that lttng will reference when creating this shared memory section such that it is not world-writable? All of the runners run under user accounts that are in a common group. Thanks! Bill --000000000000535b6d062ffd90a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
GHA runners appear to use lttng-ust for some sort of = IPC between runners on the same machine.
$ ll /dev/shm/

-rw-rw-rw- 1 gha-runner-7 gha-runner-7  4096 Feb 20 04:03 lttng-ust-wait-8
-rw-r----- 1 gha-runner-8 gha-runner-8  4096 Feb 20 04:03 lttng-ust-wait-8-=
558
-rw-r----- 1 gha-runner-7 gha-runner-7  4096 Feb 20 04:03 lttng-ust-wait-8-=
559
-rw-r----- 1 gha-runner-6 gha-runner-6  4096 Feb 20 04:03 lttng-ust-wait-8-=
560
-rw-r----- 1 gha-runner-5 gha-runner-5  4096 Feb 20 04:03 lttng-ust-wait-8-=
561
-rw-r----- 1 gha-runner-4 gha-runner-4  4096 Feb 20 04:03 lttng-ust-wait-8-=
562
-rw-r----- 1 gha-runner-3 gha-runner-3  4096 Feb 20 04:03 lttng-ust-wait-8-=
563
-rw-r----- 1 gha-runner-2 gha-runner-2  4096 Feb 20 04:03 lttng-ust-wait-8-=
564
-rw-r----- 1 gha-runner-1 gha-runner-1  4096 Feb 20 04:03 lttng-ust-wait-8-=
565

I assume that this is their code, and not so= me configuration issue on the host machine, but if this may not be the case= , can someone explain what can be done or point me to information on the su= bject?

Otherwise, is there some sort of environmen= t variable or other setting that lttng will reference when creating this sh= ared memory section such that it is not world-writable? All of the runners = run under user accounts that are in a common group.

Thanks!
Bill
--000000000000535b6d062ffd90a0--