Posted on 09-09-2015 02:07 PM
I've been doing some searching around the discussions and knowledge base, but I can't find definitive info on whether Casper Suite is yet compatible with 10.11 El Capitan (beta) and whether there is a timeline when it will be.
I had a user running OS X 10.11 beta trying to enroll using self-enrollment with Quickadd (JSS 9.73), and it would not work. She could not open the Quickadd package, error was "The operation could not be completed. (com.apple.installer.pagecontroller error -1). She is a software engineer and tried to unpack the package various ways with no luck, "Error while extracting archive: (PackageInfo): archived-checksum MD5's do not match (No such file or directory)." She did not believe the error stemmed from 10.11 on her machine. I didn't know there was any problem with 10.11 until I searched the Internets.
Could someone let me know whether the problems she had do (likely) stem from 10.11 incompatibility, or if that would be something else? I am still new to the wonders of OS X management with JAMF, as in I often “wonder” whether I am in over my head. :(
Thanks!
Posted on 09-09-2015 02:17 PM
Not sure about that specific issue but you will need to hang on for the next version of the JSS for full 10.11 compatibility AFAIK. You could try a sudo jamf enrol
instead assuming the jamf binary successfully installed on the Mac.
Posted on 09-09-2015 02:17 PM
Hey @tony.schaps,
Someone correct me if I'm wrong, but in the past JAMF has offered zero-day compatibility with new OS X releases, so if Phil's "leaked" e-mail is correct, we'll be getting a patch from JAMF on or around September 30.
El Cap is bringing a lot of changes, though. System Integrity Protection (a.k.a. rootless), and among other things, NetBoot servers will now need to be trusted. These changes are big for Casper, which relies heavily on OS X's underlying architecture. So, I'm not surprised at all to hear that your client is having difficulty.
So no, I don't think you're over your head! If you have the option, I would wait until the (presumed) Casper 9.8 binary is released, and then get your client enrolled. Even then, you'll want to upgrade them off the beta and on to the final Release Candidate (again, presumably available on 9/30).
Posted on 09-09-2015 02:29 PM
If you look on apple.com/osx the Sept 30 date is on there too.....little more official then the leaked email.
Posted on 09-09-2015 02:33 PM
In my experience, some apps can survive the upgrade to 10.11 with all or most functionality intact, but the app cannot be reinstalled or installed on 10.11.
Posted on 09-09-2015 02:39 PM
Thanks everyone--
Just recently rolled out Casper Suite at our growing software development company. I only knew she'd updated to 10.11 beta because our Aerohive HiveManager detected it. Not sure it was a good idea to upgrade to 10.11 beta in a production environment, but not sure software engineers care what TechOps thinks :)
We're really trying to get our holdouts to get enrolled, so waiting for Sept. 30 is undesirable. All of this talk has put a bit of fear in me what we can expect with El Capitan.
@davidacland If the Quickadd wouldn't launch, then the jamf binary could not be installed, or do I understand that process incorrectly?
Thanks again--
Posted on 09-09-2015 02:45 PM
@tony.schaps it will depend what stage the installer fails. If it starts but then fails to actually enroll, it might have got far enough to get the jamf binary on there.
Failing that you could grab the binary from another Mac, then run it and see if you can get it enrolled.
That all being said, I'd probably wipe the Mac, re-install 10.10.5, enroll and then setup the beta 10.11 installer as restricted software.
Posted on 09-09-2015 09:55 PM
You could consider adding El Cap to restricted software, with disclaimer message, I've used
Due to recently discovered compatibility issues, YouCoName IT recommends that staff do not upgrade to OSX 10.11 El Capitan at this time. We fully expect these OSX compatibility issues to be resolved in short order by Apple in the coming OSX update.
Posted on 09-09-2015 10:16 PM
Installed the GM of 10.11 today and Casper apps run fine, JSS picks up OS level in the Inventory update.
Packages being pushed out work, still testing for issues.
MS Lync does not work with 10.11 GM
Posted on 09-09-2015 10:32 PM
@dmw3 good info, did you try launching the Quickadd package on 10.11 GM, or did you upgrade an existing installation? thx
Posted on 09-09-2015 10:35 PM
@tony.schaps It was an in place upgrade, will be running a Quickadd.pkg test tomorrow when I redo a computer.
Posted on 09-09-2015 10:38 PM
@dmw3 Great, I will look forward to hearing the result, please report back. Thanks!
Posted on 09-09-2015 10:49 PM
@davidacland The Quickadd package would not even launch for this person, and she said it was not Gatekeeper related (i.e. she knows how to handle that, and it was also in our instructions). We're evolving from a small shop, and rolling out Casper is a step forward, but these devs have managed their own machines themselves the past few years. Requiring one to re-image is not something I'd probably get support for as long as a dev is doing a good job with their tools.
:)
Thanks
Posted on 09-10-2015 05:08 AM
@dmw3 Which part of MS Lync isn't working for you? I'm able to fire up MS Lync and login without issue.
Posted on 09-10-2015 06:57 AM
@dmw3 I have experienced the same issue with MS Lync crashing after an OS upgrade to Yosemite. The fix is fairly simple...
rm ~/Library/Preferences/com.microsoft.Lync.plist
rm ~/Library/Preferences/ByHost/MicrosoftLyncRegistrationDB.*
rm -rf ~/Documents/Microsoft User Data/Microsoft Lync Data/
Killall cfpfefsd
This should completely remove any Lync settings and allow you to reconfigure it.
Posted on 09-10-2015 07:16 AM
@tony.schaps I am able to get our JAMF binaries on to a 10.11 GM machine but I cannot use a QuickAdd directly from the enrollment page or the from Recon. I took our standard QuickAdd and opened it inside of Composer. I moved the standard install location from /usr/sbin and put them in /tmp (updating permissions to be owned by root:wheel). I then added a line to move the binaries to /usr/sbin and left everything else in place. With these settings it worked without issue.
JSS 9.65
Posted on 09-10-2015 07:52 AM
Oh it's not just me, @andrew.nicholas! I've been trying to get the QuickAdd to install all morning to no avail. Was just about to dig into the QuickAdd package when you posted this. It's nice to know I'm not suffering alone.
Posted on 09-10-2015 08:14 AM
@emilykausalik Glad to help! I'm also noticing that Casper Imaging is no bueno as well. 9.65 (Prod) crashes out right and 9.73 (Test) will try to start but throws a NilObject error and then crashes. Self Service once enrolled works great at least so I can offer a solution to any outliers that just HAVE to run 10.11.
All tests done on a fresh 10.11GM install.
Posted on 09-10-2015 08:15 AM
As an aside, I've also noticed some changes with createmobileaccount. It no longer throws the two ignorable errors when successfully completing, so thats cool.
Posted on 09-10-2015 08:27 AM
So basically the JSS has been updated but none of the Suite software has? That's the impression I'm getting, anyway.
Posted on 09-10-2015 02:33 PM
We're running the beta of the next version. While I guess we can't talk about it here, I would think that you are going to see things change with this release.
There are a lot of changes in 10.11 and I would recommend at least signing up for the betas as you can see what's going on over there and discuss.
Posted on 09-10-2015 02:33 PM
I was Wunderding if it was just me.
The Suite Software worked around beta 3 or 4 then stopped at the next beta release.
Hope to see a fix to this shortly.
Posted on 09-10-2015 03:32 PM
@bracyj_SAIC Thanks, had removed all but the ByHost files, so Lync now works. I will have to get a script up to remove those files on an upgrade to 10.11.
Posted on 09-11-2015 07:31 AM
Hey @andrew.nicholas any chance you can share the modifications you made to the postinstall script in the QuickAdd.pkg?
Posted on 09-11-2015 08:19 AM
@emilykausalik Sure thing!
This is how I delivered the binaries:
This is how I moved them into place:
Posted on 09-11-2015 08:42 AM
I just imaged a machine in Imaging (9.72) using a 10.11 GM base created in AutoDMG, and for the most part it seems to work as expected. The machine does enroll in the JSS (using the automatic enrollment in the configuration), and updates inventory, though with a minor error. Self Service lets me auth and presents a list of policies but will not run anything.
Posted on 09-11-2015 08:44 AM
@dgreening Was the environment you were running casper Imaging from within 10.11?
Posted on 09-11-2015 08:47 AM
Nope, its on a 10.10.4 based NetBoot created with AutoCasperNBI.
Posted on 09-11-2015 08:54 AM
The initial testing I did with imaging using Casper Imaging on my production (9.73) JSS had the machine image, but enrollment failed and none of the policies worked (all software is installed after CI lays down the OS X package on a custom trigger called by a script).
Posted on 09-11-2015 09:07 AM
It's no surprise that in-place upgrades to El Capitan are going smoothly.
Did you know that Apple has added a Compatibility exception list to the System Integrity Protection function?
That list can be found here:
/System/Library/Sandbox/Compatibility.bundle/Contents/Resources/paths
In my other post on this topic, I discovered that the "paths" file contains hundreds of exceptions for programs like puppet, vagrant, shake, gutenprint, nortonscanner, folding@home, VirtualBox, and filesystem extensions like Fuse and Tuxera.
These are very well known tools in the Mac community, and the creation of this exception list means that at least a few engineers at Apple have taken notice. The exception list has also persisted for several beta cycles AND is included in the GM Candidate of El Capitan that was released yesterday.
The JAMF Software Engineers need to be made aware that this change will not be required as they had initially planned when the first beta of El Capitan had dropped.
Posted on 09-11-2015 09:11 AM
Why does the existence of the exception list matter? Apple giveth, Apple can also taketh away.
In the long run, it's best to go with what the OS vendor says you should do as a best practice.
Posted on 09-11-2015 09:11 AM
One more thing...
In a recent Casper 9.8 beta, this is how JAMF has moved the binaries:
/usr/local/jamf // symbolic link
/usr/local/jamfAgent // symbolic link
/usr/local/jamf/bin/jamf // actual file
/usr/local/jamf/bin/jamfAgent // actual file
To JAMF Software Engineers, I would say this: "Bro, do you even UNIX?"
Have you looked at the "PATH" environment variable on a stock OS X system lately?
declare -x PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Please correct me if I'm wrong, but if JAMF moves the binaries to the location(s) mentioned above, it's my understanding that the scripts will break because they are not in locations that are part of the PATH environment variable. It will be their responsibility to modify the PATH variable with an export command.
Posted on 09-11-2015 09:15 AM
You can see status of this using
csrutil status
To disable it (for testing) you boot into the Recovery HD and run:
csrutil disable
I'm not sure if there's a way to disable it on an active system, but that is what I know.
Posted on 09-11-2015 09:16 AM
@rtrouton , I agree that JAMF should be following standard practice.
The binaries should go to /usr/local/bin . I sincerely hope they fix that before the final release of 9.8.
Posted on 09-11-2015 09:24 AM
You're wrong. The symlink is actually stored in /usr/local/bin/
, so it's /usr/local/bin/jamf
.
You should be able to verify this by running which jamf
in Terminal on your test box. It should return /usr/local/bin/jamf
.
Posted on 09-11-2015 09:26 AM
So then maybe part of the problem is the directory structure, unless I'm reading this incorrectly (which is likely):
if [ $major_version -lt 10 ] || [ $major_version -eq 10 -a $minor_version -lt 7 ];then
jamfCLIPath=/usr/sbin/jamf
/bin/rm /Applications/JAMFQuickAdd/Binaries/jamf
/bin/mv /Applications/JAMFQuickAdd/Binaries/jamf2 $jamfCLIPath
else
jamfCLIPath=/usr/local/jamf/bin/jamf
/bin/rm /Applications/JAMFQuickAdd/Binaries/jamf2
/bin/mkdir -p /usr/local/jamf/bin
/bin/mv /Applications/JAMFQuickAdd/Binaries/jamf /usr/local/jamf/bin/jamf
/bin/ln -s /usr/local/jamf/bin/jamf /usr/local/bin
fi
It looks like it's trying to use /usr/local/jamf/bin/jamf
instead of /usr/local/bin/jamf/
.
Posted on 09-11-2015 09:27 AM
Thanks, @rtrouton. I did say a "recent" 9.8 beta, but I didn't say which one. Are you running 9.8 b2?
Posted on 09-11-2015 09:33 AM
My cloud instance is running 9.8b1.
Posted on 09-11-2015 09:38 AM
@alexjdale and I were talking yesterday after he noticed the individual recovery key disappears and the system no longer shows up as encrypted in the JSS after upgrading to 10.11. I tested on my 9.72 JSS this morning and noticed the same thing. This could cause major issues...has anyone else noticed this?
Posted on 09-12-2015 01:58 PM
Yep. Recovery key escrow breaks for me too.