macOS Error 126

Post Reply
n37w0rk
Posts: 1
Joined: 18. Sep 2020, 10:50
Location: Stockelsdorf
Contact:

macOS Error 126

Post by n37w0rk » 23. Sep 2020, 17:38

Hallo alle zusammen,

ich habe ein kleines Script erstellt, was ich über den Agent auf den macOS Clients verteilen möchte. Leider wird das Script nicht ausgeführt mit dem Errorcode 126. Weiß jemand wofür dieser steht?

Code: Select all

#!/bin/sh
#FileVault Encryption for Mac.sh
#Created on 09.09.2020

syslog -s -l warning "Empirum Agent push FileVaultMaster.keychain"

sudo /bin/cp "/Volumes/FileVault for Mac/FileVaultMaster.keychain" "/Library/Keychains"

sudo chown root:wheel /Library/Keychains/FileVaultMaster.keychain

sudo chmod 644 /Library/Keychains/FileVaultMaster.keychain
In den Logs finde ich auch nichts spannendes:

Code: Select all

2020-09-23 16:51:35 ℹ️INFO: [InstallManager] Parse setup.sh for package name
2020-09-23 16:51:35 ℹ️INFO: [InstallManager] Found packagename FileVault for Mac in setup.sh
2020-09-23 16:51:35 ℹ️INFO: [Installation]Distributiontype of Package systems/filevault for mac/1.0 is set to 'install'
2020-09-23 16:51:35 ℹ️INFO: [Installation] Path to DMG /Library/Caches/EmpirumAgent/Packages/systems/filevault\ for\ mac/1.0/FileVault\ for\ Mac.dmg
2020-09-23 16:51:35 ℹ️INFO: [Installation] Name of package: FileVault for Mac
2020-09-23 16:51:35 ℹ️INFO: [Installation] Content of DMG for package FileVault for Mac
2020-09-23 16:51:35 ℹ️INFO: [Installation] Files in DMG .DS_Store
2020-09-23 16:51:35 ℹ️INFO: [Installation] Files in DMG .fseventsd
2020-09-23 16:51:35 ℹ️INFO: [Installation] Files in DMG FileVault for Mac.sh
2020-09-23 16:51:35 ℹ️INFO: [Installation] Found FileVault for Mac.sh in DMG
2020-09-23 16:51:35 ℹ️INFO: [Installation] Execute PKG, MPKG or Shell Script
2020-09-23 16:51:35 ℹ️INFO: [Installation] Executing: FileVault for Mac.sh at path /Volumes/FileVault for Mac/FileVault for Mac.sh
2020-09-23 16:51:35 ℹ️INFO: [Installation] Launchpath: /bin/sh command output:  with status: 126
2020-09-23 16:51:35 ‼️ERROR: [Installation] Executing of FileVault for Mac.sh failed with exit code 126
2020-09-23 16:51:35 ℹ️INFO: [Logging] Creating Log for:
2020-09-23 16:51:35 ℹ️INFO: [Logging] Packagename: FileVault for Mac
2020-09-23 16:51:35 ℹ️INFO: [Logging] Vendor:     Systems
2020-09-23 16:51:35 ℹ️INFO: [Logging] Version:     1.0
2020-09-23 16:51:35 ℹ️INFO: [Logging] Name of package in log: Systems FileVault for Mac 1.0
2020-09-23 16:51:35 ℹ️INFO: [LogManager] Get Errordescription for Errorcode 126
2020-09-23 16:51:35 ℹ️INFO: [Logging] Created logfile: SwDepot_TESTMAC_23.09.2020_16.51.35.log at path: /Library/Caches/EmpirumAgent/log/SwDepot_TESTMAC_23.09.2020_16.51.35.log
2020-09-23 16:51:35 ℹ️INFO: [MX42Transfer] [SMB] Copy item from /Library/Caches/EmpirumAgent/log/SwDepot_TESTMAC_23.09.2020_16.51.35.log to /Library/Caches/EmpirumAgent/Configurator$/Log/SwDepot_TESTMAC_23.09.2020_16.51.35.log
2020-09-23 16:51:35 ℹ️INFO: [Installation] Launchpath: /usr/bin/hdiutil command output: "disk2" ejected.;   with status: 0
2020-09-23 16:51:35 ℹ️INFO: [Installation] Unmounting of DMG FileVault for Mac successful
2020-09-23 16:51:38 ℹ️INFO: [Distribution Commander] Updated Status for Software package Systems FileVault for Mac 1.0 to Failure
2020-09-23 16:51:41 ℹ️INFO: [Package Store]Updated plist for object FileVault for Mac
Hat einer von Euch eine Idee was das Problem oder worin der Fehler liegen könnte? Die Keychain ist im *.dmg vorhanden.

Viele Grüße von der Ostsee

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: No registered users and 4 guests