From owner-freebsd-current@freebsd.org Sat Jul 4 17:02:51 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 244193535C8 for ; Sat, 4 Jul 2020 17:02:51 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) (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 49zdS95kG5z3ff4; Sat, 4 Jul 2020 17:02:49 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x533.google.com with SMTP id k27so369376pgm.2; Sat, 04 Jul 2020 10:02:49 -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=ISvOp2W1eVFnStiLghNcRrelp5HMHixETesAVJN12Q4=; b=PKhe/KR09IJDVx8vwcnmDXm85YuXpMclm4r2N8J8nvf2EJYTWO04JtwxmguZbSI/ga p1yOvhH4juXuLp9otMkROBpUGrrXhschCzt7XTDTDIDTv2idxDtCUcCjz5Fp1GqeSnmi QeYSltZpOEKVHnQ9kbeAt1CMXTTn91BEubFx2SpS+r+xwoH5iYcgwMkWfiiChFKykYeo 5FkkUORr081q8CRE6HDsgZSid8n2f0w6nza4oEVKvdQHzJSLNM+pSerlhdOm5TJzY8dV U777IGerP2FSkRxDuskuJ2/nsyhz76JH3RDuRGgXhhGWUTDjxyGVE90Z2iVsBEwdvXJh sGZQ== 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=ISvOp2W1eVFnStiLghNcRrelp5HMHixETesAVJN12Q4=; b=doho7XlIW5g3HctDa4c9xCD3GIjxqMGngURdI5HSlW+Zsf4Eu1ZZ5AHo8BIDZT6sAw f8Z3mFTXZY7JH5D7XxrN1URmTzKocaf/jjGhyuEDxswUrtoVCD2lFNdhq0fhu0TwOVRW MRiiMQwkdTv6MVAt45hbcZXEzlhTvpgr0xOWUq/7MDC1OxPyi8Y8ELkaXQ04w9uvVWRg q6t72q3xNSGWr2gc+6rEZ/XK0mMNVzKd8zG6FLV8WMfr4dUbVUgBKubhoyF/Z89crHM2 8CKh6s0MJSGQkwduwwXt5TOWGbQRX81Xzhc4CufI1554mwb+wl7DVT/MhFgY6DDH5dnJ JDFQ== X-Gm-Message-State: AOAM530woO3Cg7D9iyg7Q0wi+OD1GooMLXEGM3n84JEK4YDNP0JE2Uit JHeUc6mCMCvrgotDwXQj/HtMFSA3/ME= X-Google-Smtp-Source: ABdhPJw+MuYwE3rfrnkH5slKeVtZQ/vKUQfvbC7Ah5BCoGWJIkDVearl6MsmsSDs3+luQIfoo9MT2Q== X-Received: by 2002:a63:2241:: with SMTP id t1mr33289130pgm.440.1593882167570; Sat, 04 Jul 2020 10:02:47 -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 d22sm14604012pfd.105.2020.07.04.10.02.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jul 2020 10:02:46 -0700 (PDT) From: Enji Cooper Message-Id: 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 10:02:45 -0700 In-Reply-To: <28F5E543-5B64-4CC0-A450-A2719D3C3A65@gmail.com> Cc: freebsd-current , Alan Somers To: Gordon Bergling References: <20200629172626.GA63722@lion.0xfce3.net> <28F5E543-5B64-4CC0-A450-A2719D3C3A65@gmail.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49zdS95kG5z3ff4 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PKhe/KR0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::533 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-3.31 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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.85)[-0.848]; 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.975]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::533: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 17:02:51 -0000 > On Jul 4, 2020, at 8:59 AM, Enji Cooper wrote: >=20 >>=20 >> 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)? >=20 > PR filed: = https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247761 = . Working = on a CR. Hi, I just created the following CR: = https://reviews.freebsd.org/D25561 = and added the following related GitHub issue to PR: = https://github.com/jmmv/kyua/issues/142 = . This should be completed to = avoid issues like this in the future from occurring. Thank you for the report! -Enji=