Posted on 12-21-2017 02:39 PM
When I drag a package into Casper Admin, it no longer computes (or at least no longer stores) checksums for packages that are uploaded into it:
This is with JAMF Pro v9.101.0. There's nothing in the release notes for that version about a known problem with computing checksums.
Computer Management --> Security --> Package Validation is set to "Never". Any other setting results in a verification failure.
I can't find any relevant error messages in /var/log/jamf.log or /var/log/system.log.
Any ideas?
Solved! Go to Solution.
Posted on 12-28-2017 09:53 AM
Fixed. It was a file permissions issue.
It seems Casper Admin chooses one of /sbin/md5
or /usr/bin/shasum
to calculate checksums.
Checking the executable immediately identified the problem:
$ ls -l /usr/bin/shasum -rw-rw-rw- 37 root wheel 811 Sep 9 2014 /usr/bin/shasum $
The fix was to restore execute permissions to this ... um... executable:
$ sudo chmod 755 /usr/bin/shasum Password: $ ls -l /usr/bin/shasum -rwxr-xr-x 37 root wheel 811 Sep 9 2014 /usr/bin/shasum $
Voila! A quick test in Casper Admin shows the checksums are once again being computed and stored, but with a twist: Checksums are now SHA-512 hashes, not MD5 or SHA-1 or whatever was being used before.
Unresolved: Why did /usr/bin/shasum
on my Mac admin machine a) lose its execute permissions and b) become world writable?
Possible answer: The /usr/bin/shasum
"executable" is actually a perl script, and its file permissions may have been inadvertently modified when I downloaded and installed some perl libraries.
Curious: What logic does Casper Admin use to choose whether to compute checksums using MD5, SHA1, or SHA512 hashes?
Possible answer: I'm guessing it's related at least in part to the JAMF Pro and macOS versions (I'm running v9.101.0 on Yosemite), but that may not be the full story.
Anyway, thanks to all to read or responded. Happy holidays!
Posted on 12-22-2017 01:35 AM
Isn't it better to deploy Mac App Store Apps likes Xcode through VPP?
Posted on 12-22-2017 06:29 AM
When this happens for me I can usually right click on the file(s) and calculate checksum. If it fails, I rename the file (not the display name, the actual file name) to something slightly different and try calculating it again.
Posted on 12-28-2017 09:33 AM
@cddwyer Sure, VPP would be good, but I can't use it (yet) because of internal bureaucracy at my organization.
Posted on 12-28-2017 09:36 AM
@justinssmith
I had already tried Casper Admin --> right click on package --> Calculate Selected Packages Checksum. Noworkee...
I tried renaming the file, and ... still noworkee.
Thanks anyway for the suggestions.
Posted on 12-28-2017 09:53 AM
Fixed. It was a file permissions issue.
It seems Casper Admin chooses one of /sbin/md5
or /usr/bin/shasum
to calculate checksums.
Checking the executable immediately identified the problem:
$ ls -l /usr/bin/shasum -rw-rw-rw- 37 root wheel 811 Sep 9 2014 /usr/bin/shasum $
The fix was to restore execute permissions to this ... um... executable:
$ sudo chmod 755 /usr/bin/shasum Password: $ ls -l /usr/bin/shasum -rwxr-xr-x 37 root wheel 811 Sep 9 2014 /usr/bin/shasum $
Voila! A quick test in Casper Admin shows the checksums are once again being computed and stored, but with a twist: Checksums are now SHA-512 hashes, not MD5 or SHA-1 or whatever was being used before.
Unresolved: Why did /usr/bin/shasum
on my Mac admin machine a) lose its execute permissions and b) become world writable?
Possible answer: The /usr/bin/shasum
"executable" is actually a perl script, and its file permissions may have been inadvertently modified when I downloaded and installed some perl libraries.
Curious: What logic does Casper Admin use to choose whether to compute checksums using MD5, SHA1, or SHA512 hashes?
Possible answer: I'm guessing it's related at least in part to the JAMF Pro and macOS versions (I'm running v9.101.0 on Yosemite), but that may not be the full story.
Anyway, thanks to all to read or responded. Happy holidays!
Posted on 10-21-2019 09:06 AM
Not the same issues as op but confirmed having an apostrophe in package name causes checksum failure only when using JAMF Admin. JAMF 10.15.1. Web upload if using cloud works fine.