Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2025 21:11:53 +0000
From:      Marcin Cieslak <saper@saper.info>
To:        Lexi Winter <ivy@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:  <s1qo29n2-23s2-sqp5-2060-n8qr5rsr5584@fncre.vasb>
In-Reply-To: <aOzF-JAOyg-T-Ule@amaryllis.le-fay.org>
References:  <aOy5LUUu5DCwY_XZ@amaryllis.le-fay.org> <2507674.THHZn3L5Ee@ravel> <aOzF-JAOyg-T-Ule@amaryllis.le-fay.org>

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

[-- Attachment #1 --]
On Mon, 13 Oct 2025, Lexi Winter wrote:

> after some more debugging, i think what's going on here is that pkg(8)
> is deleting and recreating /var/spool/mqueue on upgrade, which means
> smmsp's open fd to that directory is no longer valid, and therefore
> openat() returns this unusual error.

(leaving the restart discussion on a side)

I think mail spool queues should be left untouched by pkg(8). There might be some mail
there waiting to be sent.

Marcin
[-- Attachment #2 --]
0v	*H
g0c10
	`He0	*H

00xJѤ&Q<fUC0
	*H
0L1 0UGlobalSign Root CA - R310U

GlobalSign10U
GlobalSign0
200916000000Z
290318000000Z0[10	UBE10U
GlobalSign nv-sa110/U(GlobalSign GCC R3 PersonalSign 1 CA 20200"0
	*H
0
'ŲTNZ2'1
{v`5)*hkwH35
V()6'!
0-Pf@.ORǁI;<kN3ĿI>0;::!MxFT[Jqh_0>61t3.-JpTEW˼C!Fsvw'V*94~cMV)ܨdJqt+؎_a+.O_;µWx^U\j̺o00U0U%0++0U00U6
bv.:jQ0U#0K.E$MPc0z+n0l0-+0!http://ocsp.globalsign.com/rootr30;+0/http://secure.globalsign.com/cacert/root-r3.crt06U/0-0+)'%http://crl.globalsign.com/root-r3.crl0LU E0C0A	+2(0402+&https://www.globalsign.com/repository/0
	*H
YkjvSZ9i%5q@WAu"0;g"z?7xI
fi|<Ikc&H*9E ʼn!B
IUrs$IQ>8n	 r`Mkx`ƪt"״?S9׷F΀Ed
ڎP%7	7i$x)slS}@t~lg촪6W$򊂞r.ܚ}4}NLC^F}im1a000"LayG0
	*H
0[10	UBE10U
GlobalSign nv-sa110/U(GlobalSign GCC R3 PersonalSign 1 CA 20200
230307161109Z
260307161109Z0<10Usaper@saper.info10	*H
	saper@saper.info0"0
	*H
0
0MkMG6T/:1L=H3`#}ĥ԰:iܰ8w<˖:H\^I		9ȼJ,+!MH5NS/_*R׶6mό-){ёцaם&<4OnJE`>׊/n䴕5oD޼,~vfNPÅ2V9;.+V9ZO1]^uxqEWt	:ֆD϶.[QwkPO	`mJNj
5>c-g!je>֗xn[_?kG=uCHe?2^4GܙZ*XGl#fVYڱ_i&"r=g
rwV֗w4й
Il"1
whhC
،.w<hgAIUO0l)%잎@CtDVHM<~{}EJ;imrr]<s00U0+00N+0Bhttp://secure.globalsign.com/cacert/gsgccr3personalsign1ca2020.crt0A+05http://ocsp.globalsign.com/gsgccr3personalsign1ca20200LU E0C0A	+2(0402+&https://www.globalsign.com/repository/0	U00IUB0@0><:8http://crl.globalsign.com/gsgccr3personalsign1ca2020.crl0U0saper@saper.info0U%0++0U#06
bv.:jQ0UݕQˣ KbM8L90
	*H

%(G2qYC%M=ؾ,۵w\0}ci`{ĂVzk,4&["Sek`6G30LuW_ ƒd(қƤ?kv.)Aجth:zz׽vwMy^縷81u"rH9za
8S)r@6QqA((pCtpИf(%\Y$ڥbpM1}0y0k0[10	UBE10U
GlobalSign nv-sa110/U(GlobalSign GCC R3 PersonalSign 1 CA 2020"LayG0
	`He0	*H
	1	*H
0	*H
	1
251021211153Z0/	*H
	1" #I2%8ń9nU4Cbz˒oT7@0y	*H
	1l0j0	`He*0	`He0	`He0
*H
0*H
0
*H
@0+0
*H
(0
	*H
.XZэ,as@lGKye3P}/9XiA7m)6(<y<jޜ3OUx3hj
5_{;1clF3s_jJU b9Pwqd8#rۃN2VGG1XmGKُ	&YbUWǀ<md6K|bxj.KAmA kF(Ò˸-Bhtit('TfD<	#\聅Y8WW*czHĮ9Mv/s{
y8QԊ#TIcwยÉ&:`quk%MQgA˺oX'XG(ܙ⯭N3ĩv/aDD<i|O눟Ifs7UXEKj&&N
FHdF槜q?R5+Z0ݞw"-hr4B^VQTzw2ɶh8צz^
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s1qo29n2-23s2-sqp5-2060-n8qr5rsr5584>