Install error Catalina 10.15.1

All your general support questions for OpenZFS on OS X.

Install error Catalina 10.15.1

Postby htweedie » Sat Nov 02, 2019 3:05 pm

I upgraded from Catalina 10.15 to 10.15.1 and appear to have completely lost all the ZFS binaries and drivers.

ZFS migrated fine from 10.14 to 10.15 and was fully functional (I presume it was 1.9.0).

Upgraded to 10.15.1 and appear to be no drivers or binary commands (zpool command produces a command not found).

I thought I'd reinstall the latest 1.9.3 Catalina packages but the 'installaion failed' during the 'Validating Packages' stage of the install and /var/log/install.log produces:

2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: OpenZFS on OS X 1.9.3 Installation Log
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Opened from: /Volumes/OpenZFS on OS X 1.9.3/OpenZFS on OS X 1.9.3 Catalina.pkg
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Package Authoring Error: <background> has an unsupported MIME type: image/data
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Package Authoring Error: <background-darkAqua> has an unsupported MIME type: image/data
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Package Authoring Error: <background_scaling> has an unsupported MIME type: X-NSObject/NSNumber
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Package Authoring Error: <background_alignment> has an unsupported MIME type: X-NSObject/NSNumber
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Package Authoring Error: <layout-direction> has an unsupported MIME type: X-NSObject/NSNumber
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: Product archive /Volumes/OpenZFS on OS X 1.9.3/OpenZFS on OS X 1.9.3 Catalina.pkg trustLevel=350
2019-11-03 11:47:45+13 Hamishs-iMac Installer[1386]: External component packages (1) trustLevel=350

Any help on what is going on here?
htweedie
 
Posts: 3
Joined: Sat Nov 02, 2019 2:58 pm

Re: Install error Catalina 10.15.1

Postby lundman » Thu Nov 07, 2019 4:54 pm

You upgraded 10.15 to 10.15.1 and ZFS no longer loads?

Can you run something like "kextstat | grep lund" and see if they are at least loaded,
if not, you can try loading them with "kextload /Library/Extensions/spl.kext /Library/Extensions/zfs.kext"
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Install error Catalina 10.15.1

Postby htweedie » Thu Nov 07, 2019 6:55 pm

Thanks for the follow up.

The problem is in the .dmg installer. If I kextstat I get nothing is found and there are no spl or zfs.kext drivers in the /Library/Extensions location.

This isn't surprising though as I ran the uninstall-complete.sh and uninstall-openzfsonosx.sh scripts to try and completely uninstall everything (which it appears to have done).

I then tried a new installation and it still fails at the verification stage.

/var/log/install.log is a little more helpful this time. From my limited ability to diagnose it looks to me like it is trying to copy files into the now protected system folder under APFS given that as I understand it Catalina splits the system and data files with system write protected?

2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Administrator authorization granted.
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: ================================================================================
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: User picked Standard Install
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Choices selected for installation:
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Install: "OpenZFS on OS X"
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Install: "zfs1015"
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: OpenZFS on OS X 1.9.3 Catalina.pkg#zfs1015.pkg : net.lundman.openzfs.1015.pkg : 17.0
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: ================================================================================
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: It took 0.00 seconds to summarize the package selections.
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/hamish/Desktop/O ... fs1015.pkg
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Set authorization level to root for session
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Will use PK session
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Using authorization level of root for IFPKInstallElement
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Starting installation:
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Configuring volume "Hackintosh"
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Preparing disk for local booted install.
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Free space on "Hackintosh": 257.85 GB (257849749504 bytes).
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: Create temporary directory "/var/folders/t5/xg6nn6cx01v2nph73j7b8nnw0000gn/T//Install.1088xlXdhc"
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: IFPKInstallElement (1 packages)
2019-11-08 15:36:21+13 Hamishs-iMac installd[815]: PackageKit: Adding client PKInstallDaemonClient pid=1088, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2019-11-08 15:36:21+13 Hamishs-iMac Installer[1088]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
2019-11-08 15:36:21+13 Hamishs-iMac installd[815]: PackageKit: ----- Begin install -----
2019-11-08 15:36:21+13 Hamishs-iMac installd[815]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
2019-11-08 15:36:21+13 Hamishs-iMac installd[815]: PackageKit: packages=(
"PKLeopardPackage <id=net.lundman.openzfs.1015.pkg, version=17.0, url=file:///Users/hamish/Desktop/OpenZFS%20on%20OS%20X%201.9.3%20Catalina.pkg#zfs1015.pkg>"
)
2019-11-08 15:36:21+13 Hamishs-iMac installd[815]: PackageKit: Set reponsibility for install to 1088
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: Extracting file:///Users/hamish/Desktop/OpenZFS%20on%20OS%20X%201.9.3%20Catalina.pkg#zfs1015.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root, uid=0)
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: Moving directory /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root/etc to /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root/private/etc in sandbox to account for symlink
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: prevent user idle system sleep
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: suspending backupd
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: Executing script "./preinstall" in /private/tmp/PKInstallSandbox.rE7Pwp/Scripts/net.lundman.openzfs.1015.pkg.FcTt75
2019-11-08 15:36:22+13 Hamishs-iMac install_monitor[1109]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2019-11-08 15:36:22+13 Hamishs-iMac root[1112]: Running Install Scripts . . .
2019-11-08 15:36:22+13 Hamishs-iMac root[1114]: Begin script: 0uninstall
2019-11-08 15:36:22+13 Hamishs-iMac root[1315]: End script: 0uninstall
2019-11-08 15:36:22+13 Hamishs-iMac root[1316]: Begin script: lookforzpool
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: ./preinstall: Checking for /dev/zfs
2019-11-08 15:36:22+13 Hamishs-iMac root[1320]: End script: lookforzpool
2019-11-08 15:36:22+13 Hamishs-iMac root[1321]: Begin script: unloadzfs
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: ./preinstall: No matching processes were found
2019-11-08 15:36:22+13 Hamishs-iMac root[1332]: End script: unloadzfs
2019-11-08 15:36:22+13 Hamishs-iMac root[1333]: 3 Install Scripts run.
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox
2019-11-08 15:36:22+13 Hamishs-iMac installd[815]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root (3 items) to /
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: Error relinking file (primary): /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root/usr/local/bin/zed to /usr/local/bin/zed, error = 30
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: srcPath = /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root/usr/local/bin/zed NSFileOwnerAccountID=0 NSFileHFSTypeCode=0 NSFileSystemFileNumber=9239420 NSFileExtensionHidden=0 NSFileSystemNumber=16777226 NSFileSize=76816 NSFileGroupOwnerAccountID=0 NSFileHFSCreatorCode=0 NSFileCreationDate=2019-10-25 08:41:39 +0000 NSFileOwnerAccountName=root NSFilePosixPermissions=493 NSFileType=NSFileTypeRegular NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=1 NSFileModificationDate=2019-10-25 08:41:39 +0000
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: dstParentPath = /usr/local/bin NSFileOwnerAccountID=0 NSFileSystemFileNumber=1152921500312599234 NSFileExtensionHidden=0 NSFileSystemNumber=16777226 NSFileSize=192 NSFileGroupOwnerAccountID=0 NSFileOwnerAccountName=root NSFileCreationDate=2019-09-05 16:22:45 +0000 NSFilePosixPermissions=493 NSFileType=NSFileTypeDirectory NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=6 NSFileModificationDate=2019-09-05 16:22:45 +0000
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: [src=unknown] /usr/local/bin/zed: unable to restore flags to destination (error 2)
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: [source=file] failed _RelinkFile(/Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root/usr/local/bin/zed, /usr/local/bin/zed): Read-only file system
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: srcPath = /Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root/usr/local/bin/zed NSFileOwnerAccountID=0 NSFileHFSTypeCode=0 NSFileSystemFileNumber=9239420 NSFileExtensionHidden=0 NSFileSystemNumber=16777226 NSFileSize=76816 NSFileGroupOwnerAccountID=0 NSFileHFSCreatorCode=0 NSFileCreationDate=2019-10-25 08:41:39 +0000 NSFileOwnerAccountName=root NSFilePosixPermissions=493 NSFileType=NSFileTypeRegular NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=1 NSFileModificationDate=2019-10-25 08:41:39 +0000
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: dstPath = /usr/local/bin/zed does not exist
2019-11-08 15:36:22+13 Hamishs-iMac shove[1334]: dstParentPath = /usr/local/bin NSFileOwnerAccountID=0 NSFileSystemFileNumber=1152921500312599234 NSFileExtensionHidden=0 NSFileSystemNumber=16777226 NSFileSize=192 NSFileGroupOwnerAccountID=0 NSFileOwnerAccountName=root NSFileCreationDate=2019-09-05 16:22:45 +0000 NSFilePosixPermissions=493 NSFileType=NSFileTypeDirectory NSFileGroupOwnerAccountName=wheel NSFileReferenceCount=6 NSFileModificationDate=2019-09-05 16:22:45 +0000
2019-11-08 15:36:22+13 Hamishs-iMac install_monitor[1109]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: releasing backupd
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: allow user idle system sleep
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: Cleared responsibility for install from 1088.
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: Cleared permissions on Installer.app
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
"-f",
"-s",
"/Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root",
"/"
), NSUnderlyingError=0x7fb624364830 {Error Domain=NSPOSIXErrorDomain Code=30 "Read-only file system"}} {
NSLocalizedDescription = "An unexpected error occurred while moving files to the final destination.";
NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=30 \"Read-only file system\"";
arguments = (
"-f",
"-s",
"/Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root",
"/"
);
}
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: Running idle tasks
2019-11-08 15:36:23+13 Hamishs-iMac Installer[1088]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=120 "An unexpected error occurred while moving files to the final destination." UserInfo={NSUnderlyingError=0x6000026e8ba0 {Error Domain=NSPOSIXErrorDomain Code=30 "Read-only file system"}, NSLocalizedDescription=An unexpected error occurred while moving files to the final destination., arguments=(
"-f",
"-s",
"/Library/InstallerSandboxes/.PKInstallSandboxManager/EE6FD9FE-B528-497B-8FDE-C53677AAE71C.activeSandbox/Root",
"/"
)}
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: Removing client PKInstallDaemonClient pid=1088, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2019-11-08 15:36:23+13 Hamishs-iMac installd[815]: PackageKit: Done with sandbox removals
2019-11-08 15:36:23+13 Hamishs-iMac Installer[1088]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
2019-11-08 15:36:23+13 Hamishs-iMac Installer[1088]: IFDInstallController 28106E0 state = 8
2019-11-08 15:36:23+13 Hamishs-iMac Installer[1088]: Displaying 'Install Failed' UI.
2019-11-08 15:36:23+13 Hamishs-iMac Installer[1088]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
2019-11-08 15:36:25+13 Hamishs-iMac Installer[1088]: Package Removal: Package is not in downloads directory. Not offering removal.
htweedie
 
Posts: 3
Joined: Sat Nov 02, 2019 2:58 pm

Re: Install error Catalina 10.15.1

Postby lundman » Sun Nov 10, 2019 6:49 pm

It certainly seems to complain about read-only filesystem, and that is the norm with Catalina now, that "/" is readonly, but it either gets remount rw or the lower directories aren't.

You can run "mount -uw /" to readmount it, but I think that's something that SIP will stop if it is on. All this is supposed to be handled by Installer though.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Install error Catalina 10.15.1

Postby htweedie » Sun Nov 10, 2019 11:12 pm

Many thanks the mount -uw / solved the problem and installation went okay and ZFS installed and back up and running.

I should have perhaps said earlier that this is running on a Hackintosh so SIP is turned off on my machien be default.
htweedie
 
Posts: 3
Joined: Sat Nov 02, 2019 2:58 pm


Return to General Help

Who is online

Users browsing this forum: Google [Bot] and 22 guests

cron