From nobody Mon Oct 13 18:06:02 2025 X-Original-To: current@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 4clldz1kNSz6C847 for ; Mon, 13 Oct 2025 18:06:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx1-f45.google.com (mail-yx1-f45.google.com [74.125.224.45]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4clldy3k9cz45xY for ; Mon, 13 Oct 2025 18:06:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of adrian.chadd@gmail.com designates 74.125.224.45 as permitted sender) smtp.mailfrom=adrian.chadd@gmail.com Received: by mail-yx1-f45.google.com with SMTP id 956f58d0204a3-6354a4b4871so5756463d50.2 for ; Mon, 13 Oct 2025 11:06:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760378773; x=1760983573; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p81K3xMgfBII6VftbwPc1QY9Rs243O/LrZ/Wn7s/M/A=; b=MBQOWrmaanGyxJqiOPktKpmwItXJRwoXaH9wHRUW0PLLnXkWw+Mi87cmaXt6WzCGGM +aEf1mYgRZLeXoqpF8ag0UmXErKG7OWczsXHR7+bV2OhE7hZOnmk5NTL3qVKFoRRKRCQ ZFdXVKq73TDXdav/BjKgn2/uOQ9hKfTMzWej4cYHNr7FyGsg88dSWOnMCaEX/c4sdNHA sh1mnVEqLX3W8myYsWW6e51uXVBVByJdV98sakPEM34NwForvHbB8zk1BypAflIjXkcY Tu7pS71gXJMQde3Wb1Z7tsHl7zhMQKO1/zpWbHBos+zonVTHFDUsje09TYpXh6csXd5x x4PA== X-Forwarded-Encrypted: i=1; AJvYcCW9I9824Rv1lxM9k9lvBzFHZMTdU+6ReyI5JnKc8CK9JcPPwR06ngAEe/8VcO1dGSkPBaycPA/i@freebsd.org X-Gm-Message-State: AOJu0YyeGMC4gx7UzCcu1+hLTEiKwaAtz32tVmSOuhhcrYjh7ndwx+q9 dcEcEoGiN+7XdkNdjia2LQP615AbT5CTisf+DKzoC3Ty8cshBwBSWAB7KiECkqLNuA3+LUXOwEE KqsRiOvhjBUthm3RWBFkgpMItu6G2GYfSxA== X-Gm-Gg: ASbGnctHHH68639KR9s2SfBODGjz0XF8wQ68hUStPdyTPSgG3i1pPbqQOyqgBifisfH zq/gJycxY7b8Hx+hVYbMeOB8en7yR4f77YYpv4jhBVUS54m7+9lioc8rANNP0YcJE8CACWHijZB yK6bTJcwLqVwe8nmf0y6+l7+6ffBj9Bukk535xUf7IgWxlVxacdcaTrNFg633XE2MvlYXhlo7lE VNy4mGqb+XsEdXNBLagr9Xlc9xT/dCQbQmy X-Google-Smtp-Source: AGHT+IHSXKAmnQaYvSlgXD33E/tOqqLs9M+nG0UJfnX5DBKJkSO1+OXKgDHPT/hptGZjWnDfqpt2OYDDWqUqjJy/VNk= X-Received: by 2002:a53:b78e:0:b0:63c:f5a7:3f6 with SMTP id 956f58d0204a3-63cf5a7090bmr5870049d50.58.1760378773458; Mon, 13 Oct 2025 11:06:13 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <2507674.THHZn3L5Ee@ravel> <6142242.Zv9zXsTiuT@ravel> In-Reply-To: From: Adrian Chadd Date: Mon, 13 Oct 2025 11:06:02 -0700 X-Gm-Features: AS18NWAuhipabr0GeGC77Z9Y9ouPCAhca60tcnGA80Tykgk78gcKTlsM8glbc2c Message-ID: Subject: Re: openat("./...", O_CREAT) fails even though the directory exists To: Olivier Certner , fs@freebsd.org, current@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007652e506410e1f86" X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.68 / 15.00]; RBL_VIRUSFREE_BOTNET(2.00)[74.125.224.45:from]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; NEURAL_HAM_SHORT(-0.99)[-0.993]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; NEURAL_SPAM_LONG(0.27)[0.272]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; BAD_REP_POLICIES(0.10)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[74.125.224.45:from]; R_DKIM_NA(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:74.125.0.0/16]; RWL_MAILSPIKE_POSSIBLE(0.00)[74.125.224.45:from]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:74.125.0.0/16, country:US]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4clldy3k9cz45xY --0000000000007652e506410e1f86 Content-Type: text/plain; charset="UTF-8" ... On Mon, 13 Oct 2025 at 03:23, Lexi Winter wrote: > Olivier Certner wrote in <6142242.Zv9zXsTiuT@ravel>: > > > i suspect the fix will be in pkgbase somewhere: for example, we > > > could restart sendmail on upgrade, or tell the user to do that. > > > > Most probably it will need too, yes. > > proposed fix at https://reviews.freebsd.org/D53061. i really don't like > this (nothing else restarts services on upgrade) but this is probably the > least disruptive solution for users. > I'm curious - why are we NOT restarting services after an upgraded package? -a --0000000000007652e506410e1f86 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
...

On Mon, 13 Oct 2= 025 at 03:23, Lexi Winter <ivy@freebs= d.org> wrote:
Olivier Certner wrote in <6142242.Zv9zXsTiuT@ravel>:
> > i suspect the fix will be in pkgbase somewhere: for example, we > > could restart sendmail on upgrade, or tell the user to do that. >
> Most probably it will need too, yes.

proposed fix at https://reviews.freebsd.org/D53061.=C2=A0 i re= ally don't like
this (nothing else restarts services on upgrade) but this is probably the least disruptive solution for users.

I&= #39;m curious - why are we NOT restarting services after an upgraded packag= e?


-a
=C2=A0
<= /div> --0000000000007652e506410e1f86--