Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86C2326C3BD for ; Wed, 23 Jul 2025 12:37:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753274237; cv=none; b=haUvE1FP+JPU5zKmBuNokXIb4df4+GXB/uVaW9EE0VWZ8U15HAXy1gGuC621b1fYeXFx2Zp/tD3JMVVuLYrlhwfbVw9qlFg7Zg4qapEDeWI/Pnsk9j/bW0aUWARN7Z3mG8ad7JpPTxsD8jbl/s2NPJvXKJjwIuojPX3Ex2ECKIA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753274237; c=relaxed/simple; bh=sSBUiiN+kwbbXp65Dhm27DHlCk1VdK5niYAPcz8z2nk=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=muw6MmBZnrhqZHz01PBjKNNpNzgMauyFudA0bbwj/fKb5B4I6KKUR0U1krDFihVwiqzTujuanP1f7C3lU1PH5l/6bRnMoPBnASCiHfCk8fGsBkG0ePhQaHvMH5IEXfVPjyYDREjFj3SfslvfCRZlYXonlKwJFVx59g8NP5xW0II= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ieee.org; spf=pass smtp.mailfrom=ieee.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b=dMbgBfga; arc=none smtp.client-ip=209.85.219.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ieee.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ieee.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="dMbgBfga" Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-6fd0a3cd326so70455926d6.1 for ; Wed, 23 Jul 2025 05:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1753274232; x=1753879032; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=RVtaRONGC/LZCAq4JudWsZ8iTRwYFTdCV7NJ0ZruO9k=; b=dMbgBfgaB0Sggo3oWm7w/LvO7JWVjlIuDJFcM3xCxedyfaLfYNOGb19yeid4BN44Cc gaBz+C0PEIXdROLHFFOBLRtrWHh91jZlCC27ZAYEaHtZAOaVwnMmHNaEFPJlSQbOxwKy IAeRZw7YELdITC2ZiepNtDPZrIsRIxMS1STOo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753274232; x=1753879032; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RVtaRONGC/LZCAq4JudWsZ8iTRwYFTdCV7NJ0ZruO9k=; b=ZqG8sd1PEbiaIYwNA1i319l2yye+K6E5DvShYxEoFFh2St6Vy5GOcTP50hMORT20zm dRy3q8pSVlIARpZDHikK5a38Lv9TQWeZn7V6VLHuwBBRycLpeuNEU9PduQkGv2UeMEkh WOQkbBF2W0f/heTGnLC636ZfQtuYtfSlYtq12WsTvZlWazQd/w445X7ZYch9EZXGtLHE icV1JBwKxqPq4GHIxm7oSKVsHzB5U1THAnl8tdOp+AqyPmzXReKwcE2///NFj5y1w9oL 4+kNx73nl8HQLyJVwg2B1kozd2Kf9bN0HEMyxHFG9L8PpfFzB5jIDTDMRCHno0N5npQ3 KNmg== X-Forwarded-Encrypted: i=1; AJvYcCVFl5ZLfjjl0QRpEDBIvRMWj6yiG05pEEAXB+5UaVH5mIg1TlKgZKvogWYUqUQ5V2uIu09PrYI9XIn55bHn8CTeSA==@vger.kernel.org X-Gm-Message-State: AOJu0YxV0mhXhlynoAinjNpuc22k6yerxqiqZnd8tRHAP3q0wIcSz5S5 U4kbMXBY6/qKMmxgiR3Ve3Dni4N4MlBZqk3uRxTgN5dFEK2dyRthnhY0+6oVD4sleQ== X-Gm-Gg: ASbGncvk5WH/cw4egsVUdDZEtx34OS8P837Yt+FfqiDgS5FmtmahbVYuVYieiB8/d6X +cJ9itcOcazQ3CsJEKfaAaK4FaXoYqO82hPf7IObi0pFVfM7eezrEPrzrHg7wu5hZKCC5K/QSxx ilm4fiGKTRsawl5erzkoL7qR52d2E6d6xORb0/SpeKsS87NbDpU0A8vIodnkaFQxV/zpmWe2co1 lVkm8iXOSN++nXJE8Rf3p9nvtUKzQoWf/JIbbTBW/XXUj/8O0GW1QBv+As+3+V540IVwtbRV/u5 +aXutujisP5QQXpdGvIzVtS+hrX6zaPL6ssKr7UxAO6UwDuMIdgdtnQCblIP2vfhiMghqY37O9D d21hXkya6Km2MVvfE7nRYeBLDptrkZXGv3PEGqHtKtOx4K4O8C9J6esVDGZSwfLL8uXPMRDdb X-Google-Smtp-Source: AGHT+IEhd+cEYrjKaiidrgtII2V0D+FIul9m6DnYlVx2+Ov08EDP/Vuu09CouGyYymvpyEkYllVnzg== X-Received: by 2002:a05:6214:2508:b0:706:6967:71da with SMTP id 6a1803df08f44-7070069c664mr37634506d6.38.1753274232065; Wed, 23 Jul 2025 05:37:12 -0700 (PDT) Received: from ?IPV6:2601:145:c282:5650:dd42:fdb8:f069:5ba9? ([2601:145:c282:5650:dd42:fdb8:f069:5ba9]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-7051b8df54bsm62863486d6.25.2025.07.23.05.37.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jul 2025 05:37:11 -0700 (PDT) Message-ID: <2ee08e8f-59f4-418d-ab5e-01e0addaf17b@ieee.org> Date: Wed, 23 Jul 2025 08:37:09 -0400 Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: systemd and dontaudit To: russell@coker.com.au, SELinux Reference Policy mailing list References: <13022276.O9o76ZdvQC@xev> Content-Language: en-US From: Chris PeBenito In-Reply-To: <13022276.O9o76ZdvQC@xev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/22/2025 8:15 PM, Russell Coker wrote: > kernel_dontaudit_getattr_proc(systemd_logind_t) > > The above hides the fact that systemd-logind wants to statfs /proc and that > can cause it to abort in some situations, to refuse to respond to dbus > requests, and to delay all logins by 25 seconds. Can you elaborate on what one of those failing situations is? > https://github.com/SELinuxProject/refpolicy/pull/995 > > I fixed it in this PR, but I think that perhaps we should allow all systemd > processes to statfs /proc to avoid future problems. I'd be fine with this, especially since it's not an overly concerning access. -- Chris PeBenito