Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 17:31:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273661] freebsd-update install: ///usr/include/c++/v1/__string exists but is not a directory
Message-ID:  <bug-273661-227-XeTbmlkAxU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273661-227@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273661

Joshua Kinard <freebsd@kumba.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@kumba.dev

--- Comment #9 from Joshua Kinard <freebsd@kumba.dev> ---
Semi-related, the third invocation of freebsd-update fails to complete at least
two file moves in the OpenZFS contrib code:

> # freebsd-update install
> Installing updates...rmdir: ///usr/src/sys/contrib/openzfs/cmd/zvol_wait: Directory not empty
> rmdir: ///usr/src/sys/contrib/openzfs/cmd/arc_summary: Directory not empty
>  done.
> 
> # ls ///usr/src/sys/contrib/openzfs/cmd/zvol_wait
> b3433d339ca5398071ebb49e801b32f541c1f3f95b5c76ca8dbdf1888faec897*
> 
> # ls ///usr/src/sys/contrib/openzfs/cmd/arc_summary
> 81fc104da57777f45c931c9c2f425f1fe219d12dc61a9d2928a1b03561f9aecb*

Both are executable scripts, one shell, the other python.  Quick fix is to mv
the file out of the directory, rmdir the directory, then change that file's
name to be that of the directory.  Neither script is actually installed into
the base system, but arc_summary is available as a port under sysutils.

Not sure if a new bug should be opened for this, or if any/all issues w/
freebsd-update itself failing to complete file updates should go into this bug.
 A quick way to find these missed files may be to look for a file with a name
64 characters long in hex via 'find . -type f | grep -E "[a-f0-9]{64}"'

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

help

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