Date: Sat, 4 Jul 2020 08:59:36 -0700 From: Enji Cooper <yaneurabeya@gmail.com> To: Gordon Bergling <gbe@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org>, Alan Somers <asomers@FreeBSD.org> Subject: Re: Undeletable files after kyua test runs Message-ID: <28F5E543-5B64-4CC0-A450-A2719D3C3A65@gmail.com> In-Reply-To: <A8AF7B2F-D0B9-41A7-9DED-D8DD12EDD200@gmail.com> References: <20200629172626.GA63722@lion.0xfce3.net> <A8AF7B2F-D0B9-41A7-9DED-D8DD12EDD200@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Jul 2, 2020, at 7:57 PM, Enji Cooper <yaneurabeya@gmail.com> wrote: >=20 >>=20 >> On Jun 29, 2020, at 10:26 AM, Gordon Bergling <gbe@freebsd.org> = 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 = <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247761> . Working = on a CR. Thanks, -Enji
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28F5E543-5B64-4CC0-A450-A2719D3C3A65>