Re: openat("./...", O_CREAT) fails even though the directory exists

From: Dan Mahoney (Ports) <freebsd_at_gushi.org>
Date: Mon, 13 Oct 2025 18:15:47 UTC

> On Oct 13, 2025, at 11:06 AM, Adrian Chadd <adrian@freebsd.org> wrote:
> 
> ...
> 
> On Mon, 13 Oct 2025 at 03:23, Lexi Winter <ivy@freebsd.org <mailto:ivy@freebsd.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.  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?

I mean, I've seen freebsd-update restart sshd regularly.  There's precedent for this.  As a regular user, this wouldn't break my expectations if there was a good reason.

-Dan