From nobody Tue Feb 28 08:16:02 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQqv641pwz3v8mZ for ; Tue, 28 Feb 2023 08:16:02 +0000 (UTC) (envelope-from pstef@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQqv63V56z3NVx; Tue, 28 Feb 2023 08:16:02 +0000 (UTC) (envelope-from pstef@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677572162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5XsffHlLSREJsHofYZaNA0zlo4wwKPBxkzrhdDikg54=; b=jbEcMjjeQXoXVb7v3D1vVhHJLwppnCQYktzvn795SSPMIRpM6YZjp9Q1f/y3ZDVpBWHjJ6 8lMldWeP7o3c4mlYU3dp1o/OsCSxHZy7DGXhQbNuBIqxSZDNLuCBVWcM55NU0TP+p54BXE 7KmTz5taTtiSflkFN2KFb0GxOpMQb5b3gEiWu3F9HnpRFsty60TdU7TQ8TeJC0yPo21sS/ k6XlgWZd29QVcWD2L1PW8ugNJuoYJxpl6RzVr3WzXpFQj7GZkXh9Gs6wEkIF7lo4QdGaeL mc5JNa4BWgzfzhshqC9taDAUlbEKscRWsjbLgs6UzZMPQVzdPzR/4rCydn0crA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677572162; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5XsffHlLSREJsHofYZaNA0zlo4wwKPBxkzrhdDikg54=; b=MKqCVARUP/S7FP6XojCGtMM8LSXyTb5nkwv4cnYfd14Qa7dgpNYgaumxOiRWd5Nll9OBp/ 7eZ8Ef4jmjK2NNkPljcvcg1bYDrKlKGyeGHNhhtyI1ZxHr0mU8ebB9H9m+/qc/6hb1/YMN N0Yz2+J3//6ZAWSc4ZgSMgED0+wBCGcNccWdSJKVtkdn3gx4I4rgOGMYEddYAxu+FzKCrN kxbbF+IITWbX8NXGdcN5Jj3iO4KfyHRWmc9AupZX8IjRW8GhXh/J+ozkFHX/CFQisxCBLV i1l32kgLioJhzQwal3WZjPHAzh30aMhV4tSPe6yQUJBeyz+ojtyJJrgWxxn0eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677572162; a=rsa-sha256; cv=none; b=R6Yx+yIUC0mVcOulTNW4haLHztQ9bA7IQMQ7JRPpjyYs1oToC3EahaewFaI7hEM0Gu2KO+ 2FisQi3a7BUCsQozK5P5wvyRgBCuCpDj7x3FtkieoqyAlOZj1NfBa0PnWwfDbXi1kj7NEM ZveL/4YMCrPS5+QVnN6M5zmrrzmjsrUiq4SHdULaGYdnINwKz/aUpt/ybimEPMKTY0q4DN REXCzbPvqcDnKd+DKZbCfq8Zdgjxoc0J+hq37efeY3U1pyJfCcVJoN7/xJaaz4Huo/yEI0 X8ngyWARCZX/F/r+8/jTDp14FUG/a63r6K+mmUhihLJQJkJdGQfUW3H/XIFHaw== Received: by freefall.freebsd.org (Postfix, from userid 1403) id 561356870; Tue, 28 Feb 2023 08:16:02 +0000 (UTC) Date: Tue, 28 Feb 2023 08:16:02 +0000 From: "Piotr P. Stefaniak" To: Xin Li Cc: dev-commits-src-main@freebsd.org Subject: Re: git: 39e8c2a29a86 - main - cleanvar: Be more careful when cleaning up /var. Message-ID: References: <202302130457.31D4v8Hh067792@gitrepo.freebsd.org> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N On 2023-02-27 22:14:04, Xin Li wrote: >On 2023-02-27 3:51 PM, Piotr P. Stefaniak wrote: >> Do we want to assume that /var/run is never a symlink? If not, we >> probably want to use find -xH here. > >No, I don't think it's safe to follow symlinks. I'd like to stress that my suggestion was to add -H, not -L. >If it's desirable to follow /var/run itself, perhaps this should be >changed to "/var/run/". It seems to me that that would effectively do the same, at least in this case. Piotr