From owner-freebsd-current@freebsd.org Sat Jul 4 15:59:41 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37692351E19 for ; Sat, 4 Jul 2020 15:59:41 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zc3J2t5Tz3bQX; Sat, 4 Jul 2020 15:59:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf1-x435.google.com with SMTP id x3so9625855pfo.9; Sat, 04 Jul 2020 08:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=qw6Nx2nv6nBS1rCn/APJTVXavkUZ4vJvfIp3X92341w=; b=DwQQDo9GJjRjIl5/riiUsqgQr8Dv3Agas6prKnpbIda3k3BUBXI14a3RKiedRRfgbG aMkOmflLja7TwIKACEU2yIpDXXn6KJpZkP6OOwwBnV22xdm5yBtkeuaGg1rqNnqyh42v wbPlYBB8ioepsopa51QHUQ0BmbT6zObIx1fp5JXbPlLBGxSqfYGoK9hseg+GTzUhVY5n mqebbzrzzpgAYiA+tlQgzFFYPxaevYY/xLQTWHv198cIAKxqy20lzNIIDFaRjXKtlrB6 HHhYilJbxNkkMrR+/LhXm3e0s5ruLMQ5xtcATN9SHNWbr/Dn8Zpf/JHO1xFaFTD+G6gL Iq9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=qw6Nx2nv6nBS1rCn/APJTVXavkUZ4vJvfIp3X92341w=; b=L9p7L6FHx4gF735gw8zsHXA9z2cf40JeymnuTxWZwoK0yhzr21Q+jnx97P3o0M7P4F RdomrGgb3DRdiuygUUDrwP4rBniXSgxxiGj1c7jqtyUogymsk1SFrOg9cb4EBIYnoKu5 g4qiu0CXaLf1mjiLNDkLo3EbQB8jl6ggW4HRdkGR3rzMQanKeii0B3M44o8U3yf8fr2y BvBq/oTSdHkuEiknV5WFrJ+PRFGEarY9zJqzvC5TXi1r2zIcP5TtcfEIrotUKFzf2hgL 4uGNTVLZaKfGlTDkSW6xPOonCgGMqTxoATZFOjrdYuFRo4i1BNzNyD8F2IiYiaBtIFHk CpZg== X-Gm-Message-State: AOAM530/MvDmbABnB6xWW0H59wvH2HfzY9JE9Jbt9m7oHT8iwJHOtWuB tGpYxZys//bDnJJ5qbQbfbrQJ9LUw/w= X-Google-Smtp-Source: ABdhPJw9WAzzHwYaMcPgpe9fO+l/DgRV8FLlhESHRpXS6iDXMyCEgZLdN4JltIypmOiqa8G6vF/STA== X-Received: by 2002:a63:2d44:: with SMTP id t65mr23408718pgt.257.1593878378340; Sat, 04 Jul 2020 08:59:38 -0700 (PDT) Received: from [192.168.20.26] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id c71sm13443372pje.32.2020.07.04.08.59.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jul 2020 08:59:37 -0700 (PDT) From: Enji Cooper Message-Id: <28F5E543-5B64-4CC0-A450-A2719D3C3A65@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Undeletable files after kyua test runs Date: Sat, 4 Jul 2020 08:59:36 -0700 In-Reply-To: Cc: freebsd-current , Alan Somers To: Gordon Bergling References: <20200629172626.GA63722@lion.0xfce3.net> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49zc3J2t5Tz3bQX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DwQQDo9G; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::435 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-2.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.41)[-0.412]; RECEIVED_SPAMHAUS_PBL(0.00)[73.19.52.228:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.977]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::435:from]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 15:59:41 -0000 > On Jul 2, 2020, at 7:57 PM, Enji Cooper wrote: >=20 >>=20 >> On Jun 29, 2020, at 10:26 AM, Gordon Bergling = wrote: >>=20 >> Hi, >>=20 >> I recently stumbled across undeletable files that are generated by = kyua test runs, >> for example >>=20 >> -rwxr-xr-x 1 root wheel 0 May 9 13:10 = /tmp/kyua.aB4q62/8676/work/fileforaudit >>=20 >> I haven't yet identified the test that generate those files, but it = is impossible >> to delete them. I have clear_tmp_enable=3D"YES" set in the = /etc/rc.conf, but=20 >> on every boot the system argues that these file aren't deletable.=20 >> I tried to 'rm -rf' them by hand but, even this wasn't possible. I = have looked for >> any extend attributes, but I didn't find any. >>=20 >> Has anyone an idea how this is possible and may how these files can = be deleted? >=20 > The issue is tests/sys/audit/file-attribute-modify.c , based on the = file present that can=E2=80=99t be deleted. Can you please provide more = information about the test run in a PR (I see how it can leave files = behind, but I want to make sure it is what I think it is, first)? PR filed: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247761 = . Working = on a CR. Thanks, -Enji