Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 2025 11:15:47 -0700
From:      "Dan Mahoney (Ports)" <freebsd@gushi.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Olivier Certner <olce@freebsd.org>, fs@freebsd.org, current@freebsd.org
Subject:   Re: openat("./...", O_CREAT) fails even though the directory exists
Message-ID:  <411C1A2F-96BF-41F2-88D4-FC6B8C45D23F@gushi.org>
In-Reply-To: <CAJ-Vmo=x7w-Us8fwG6O6k5qJ_QV0bCJgxF4mAMFFQd2Y4c7yeQ@mail.gmail.com>
References:  <aOy5LUUu5DCwY_XZ@amaryllis.le-fay.org> <2507674.THHZn3L5Ee@ravel> <aOzF-JAOyg-T-Ule@amaryllis.le-fay.org> <6142242.Zv9zXsTiuT@ravel> <aOzTBEsi_KKFDiwa@amaryllis.le-fay.org> <CAJ-Vmo=x7w-Us8fwG6O6k5qJ_QV0bCJgxF4mAMFFQd2Y4c7yeQ@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]


> 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


[-- Attachment #2 --]
<html aria-label="message body"><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Oct 13, 2025, at 11:06 AM, Adrian Chadd &lt;adrian@freebsd.org&gt; wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr">...</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, 13 Oct 2025 at 03:23, Lexi Winter &lt;<a href="mailto:ivy@freebsd.org">ivy@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Olivier Certner wrote in &lt;6142242.Zv9zXsTiuT@ravel&gt;:<br>
&gt; &gt; i suspect the fix will be in pkgbase somewhere: for example, we<br>
&gt; &gt; could restart sendmail on upgrade, or tell the user to do that.<br>
&gt; <br>
&gt; Most probably it will need too, yes.<br>
<br>
proposed fix at <a href="https://reviews.freebsd.org/D53061" rel="noreferrer" target="_blank">https://reviews.freebsd.org/D53061</a>.&nbsp; i really don't like<br>
this (nothing else restarts services on upgrade) but this is probably the<br>
least disruptive solution for users.<br></blockquote><div><br></div><div>I'm curious - why are we NOT restarting services after an upgraded package?</div></div></div></div></blockquote><br></div><div>I mean, I've seen freebsd-update restart sshd regularly. &nbsp;There's precedent for this. &nbsp;As a regular user, this wouldn't break my expectations if there was a good reason.</div><div><br></div><div>-Dan</div><br></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?411C1A2F-96BF-41F2-88D4-FC6B8C45D23F>