From owner-freebsd-current@freebsd.org Fri Jul 3 02:57:48 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 0007A36665E for ; Fri, 3 Jul 2020 02:57:47 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 49yflZ61xDz4ZW8; Fri, 3 Jul 2020 02:57:46 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg1-x535.google.com with SMTP id m22so4054978pgv.9; Thu, 02 Jul 2020 19:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mhQXdmpdvTQJc+JVKbEIeBXQpu0lID2n6ldOSNY7Ruw=; b=biqOinZtdE/d+uCVprAjHcIcof+F+/d5w4erAHIHqQmtOasyyr13DmSeRgKFhhRbxm ltyu9yN2z33daZXkbMcseLWUPOQ0qwukr/wCDfms7VwbtfKWfRRBn7XGQ5nhj4ep8nBi Ml/1lcRpcvQKulaGlaGFHRqgfOzipVHvtcByVoQcQkgfeALW4m3Fv4y27CMg4tIRpSBH ZVcaFk6tNppMjcIP3RUPWfISxN7fJ501MsCYAGKEM2A0oknpDUUo+zK7kygH1T/2y4Il Zuvvlo2Bms4Ise1Es01hsSIEveOtm6Z2JpAmKclQoHsp+MpiIgf+pihRiHHzMEnAuiss 8hqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=mhQXdmpdvTQJc+JVKbEIeBXQpu0lID2n6ldOSNY7Ruw=; b=HawzLCLr5XSEYGwpeX1QuxnsIndnZ3qTEVdbUHTQVCDOcpQnTAXyxoNGkwj2LgzI4B xnqO9YU9hSrZkgfokjPIVgQVYE21p6iKgfZRMQuLJBpcsWC/tBOPRHr2/WHHRF5t2Ud8 tPl6TOohFbhpPA/ZizyGbpqWGRi7LXzOUyDWfnfdu8MxKo64FfnVculp6i5HVCAE1bHb GN2mItmDs/EWZhD2O/W4MGjI8evA+HiDO4/lcyxYAOU5pj6/hN3cYbkcfg1uAr1iLmtM u4w2DKRg63pJboWU40xBR7lCInTvoMjiP3MawgEtNg7Rt1isKxRYLYG3s0xVqV8obsWv qHCQ== X-Gm-Message-State: AOAM531nr4tBR8NCMrAsyNTkqVg/Qvy0h8BV4wCwQX1ISDCirtekX5Do WkHYRld7O/g7V6ryFrh+w1RxXQVOmX0= X-Google-Smtp-Source: ABdhPJwqXAUoqqd09OqGm+QacFx9nh0fkBS6Su9Dot7AfFRDUUGiuP1G6lIR4ztrBt/bYyeXt7FBRQ== X-Received: by 2002:a05:6a00:15ca:: with SMTP id o10mr31637188pfu.169.1593745064922; Thu, 02 Jul 2020 19:57:44 -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 g9sm9324479pfm.151.2020.07.02.19.57.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 19:57:44 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Undeletable files after kyua test runs From: Enji Cooper In-Reply-To: <20200629172626.GA63722@lion.0xfce3.net> Date: Thu, 2 Jul 2020 19:57:43 -0700 Cc: freebsd-current , Alan Somers Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200629172626.GA63722@lion.0xfce3.net> To: Gordon Bergling X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49yflZ61xDz4ZW8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=biqOinZt; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::535 as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-2.51 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; 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.02)[-0.025]; RECEIVED_SPAMHAUS_PBL(0.00)[73.19.52.228:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; 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(-1.00)[-0.998]; 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.99)[-0.985]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::535:from]; RCVD_TLS_ALL(0.00)[] 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: Fri, 03 Jul 2020 02:57:48 -0000 > 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? 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)? Cheers, -Enji=