Posted on 11-04-2016 06:22 AM
We see reproducable enrollment issues with Casper 9.96 and Sierra 10.2.1 devices. Multiple laptops do not complete the enrollment but the installation aborts eventually. I first thought it's SIP so I disabled it, but no luck. The installer log says:
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: ----- Begin install -----
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: packages=(
"PKLeopardPackage <file://localhost/Users/user/Desktop/QuickAdd-3.pkg>"
)
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: Session UUID file exists - will not overwrite /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B75CB84A-1024-4A27-B04A-BAE4F84649C2.activeSandbox
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: Will do receipt-based obsoleting for package identifier com.jamfsoftware.osxenrollment (prefix path=)
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: Extracting file://localhost/Users/user/Desktop/QuickAdd-3.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B75CB84A-1024-4A27-B04A-BAE4F84649C2.activeSandbox/Root, uid=0)
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: prevent user idle system sleep
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: suspending backupd
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/B75CB84A-1024-4A27-B04A-BAE4F84649C2.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B75CB84A-1024-4A27-B04A-BAE4F84649C2.activeSandbox
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/B75CB84A-1024-4A27-B04A-BAE4F84649C2.activeSandbox/Root (1 items) to /
Nov 4 14:09:59 sierradevice install_monitor[1326]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Nov 4 14:09:59 sierradevice installd[792]: PackageKit: Executing script "postinstall" in /private/tmp/PKInstallSandbox.vEncrz/Scripts/com.jamfsoftware.osxenrollment.f7EFzP
Nov 4 14:09:59 sierradevice installd[792]: postinstall: Creating symlink /usr/local/bin/jamf
Nov 4 14:09:59 sierradevice installd[792]: postinstall: Setting permissions
Nov 4 14:09:59 sierradevice installd[792]: postinstall: Starting ssh...
Nov 4 14:10:00 sierradevice softwareupdate_firstrun_tasks[98]: BuildTagCache: Building tag cache if necessary using catalog host swscan.apple.com
Nov 4 14:10:00 sierradevice softwareupdated[1138]: Adding client SUUpdateServiceClient pid=98, uid=200, installAuth=NO rights=(), transactions=0 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdate_firstrun_tasks)
Nov 4 14:10:00 sierradevice softwareupdated[1138]: BuildTagCache: Cache is current
Nov 4 14:10:00 sierradevice softwareupdate_firstrun_tasks[98]: BuildTagCache: Finished
Nov 4 14:10:00 sierradevice softwareupdated[1138]: Removing client SUUpdateServiceClient pid=98, uid=200, installAuth=NO rights=(), transactions=0 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdate_firstrun_tasks)
Nov 4 14:10:01 sierradevice installd[792]: postinstall: Creating config file...
Nov 4 14:10:01 sierradevice installd[792]: postinstall: Allowing for invalid certificate...
Nov 4 14:10:03 sierradevice installd[792]: postinstall: Creating configuration file for https://jss.bonn-is.de:8443/...
Nov 4 14:10:03 sierradevice installd[792]: postinstall: The SSL certificate for https://jss.bonn-is.de:8443/ does not need to be trusted.
Nov 4 14:10:03 sierradevice installd[792]: postinstall: Enrolling device...
Nov 4 14:10:06 sierradevice installd[792]: postinstall: Downloading required CA Certificate(s)...
Nov 4 14:10:07 sierradevice installd[792]: postinstall: There was an error.
Nov 4 14:10:07 sierradevice installd[792]: postinstall: Error enrolling computer: Permission Error - The user specified does not have permission to perform the action.
Nov 4 14:10:07 sierradevice installd[792]: postinstall: Enrollment Failed. This PKG may be used already.
Nov 4 14:10:07 sierradevice install_monitor[1326]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Nov 4 14:10:07 sierradevice installd[792]: PackageKit: releasing backupd
Nov 4 14:10:07 sierradevice installd[792]: PackageKit: allow user idle system sleep
Nov 4 14:10:07 sierradevice installd[792]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Beim Ausführen der Skripts aus dem Paket „QuickAdd-3.pkg“ ist ein Fehler aufgetreten." UserInfo={NSFilePath=postinstall, NSURL=file://localhost/Users/user/Desktop/QuickAdd-3.pkg, PKInstallPackageIdentifier=com.jamfsoftware.osxenrollment, NSLocalizedDescription=Beim Ausführen der Skripts aus dem Paket „QuickAdd-3.pkg“ ist ein Fehler aufgetreten.} {
NSFilePath = postinstall;
NSLocalizedDescription = "Beim AusfU00fchren der Skripts aus dem Paket U201eQuickAdd-3.pkgU201c ist ein Fehler aufgetreten.";
NSURL = "file://localhost/Users/user/Desktop/QuickAdd-3.pkg";
PKInstallPackageIdentifier = "com.jamfsoftware.osxenrollment";
}
Nov 4 14:10:07 sierradevice installd[792]: PackageKit: Running idle tasks
Nov 4 14:10:07 sierradevice Installer[1284]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "Beim Ausführen der Skripts aus dem Paket „QuickAdd-3.pkg“ ist ein Fehler aufgetreten." UserInfo={NSFilePath=postinstall, NSURL=file://localhost/Users/user/Desktop/QuickAdd-3.pkg, PKInstallPackageIdentifier=com.jamfsoftware.osxenrollment, NSLocalizedDescription=Beim Ausführen der Skripts aus dem Paket „QuickAdd-3.pkg“ ist ein Fehler aufgetreten.}
Nov 4 14:10:07 sierradevice installd[792]: PackageKit: Removing client PKInstallDaemonClient pid=1284, uid=502 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
Nov 4 14:10:07 sierradevice installd[792]: PackageKit: Done with sandbox removals
Nov 4 14:10:08 sierradevice Installer[1284]: Install failed: Die Installation ist aufgrund eines Fehlers fehlgeschlagen. Wende dich an den Hersteller der Software.
Nov 4 14:10:08 sierradevice Installer[1284]: IFDInstallController 1BB00 state = 8
Nov 4 14:10:08 sierradevice Installer[1284]: Displaying 'Install Failed' UI.
Nov 4 14:10:08 sierradevice Installer[1284]: 'Install Failed' UI displayed message:'Die Installation ist aufgrund eines Fehlers fehlgeschlagen. Wende dich an den Hersteller der Software.'.