Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2023 17:48:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271287] etcupdate silently installs empty files / unhandled error in install_new()
Message-ID:  <bug-271287-227-helnXTHlVd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271287-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271287-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271287

--- Comment #4 from John Baldwin <jhb@FreeBSD.org> ---
To be clear, in this case cp was failing after it had opened the destination
with O_TRUNC which is why the files were truncated and the goal of the pani=
c in
this case is that if cp(1) is busted it's best to bail out early after only
possibly trashing one file than many?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271287-227-helnXTHlVd>