Trouble installing SmartClient on MacOS Sierra



  • Server
    • FOG Version: 1.3.0 RC14
    • OS: Ubuntu 14 LTS
    Client
    • Service Version: SmartInstaller.exe
    • OS: Sierra
    Description

    Unable to install smartinstaller.exe to MacBook Pro running Sierra. I followed the guide using Mono.
    Error message attached

     20/10/2016 1:42 PM Installer ERROR: Method: PinFOGCert
     20/10/2016 1:42 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
     20/10/2016 1:42 PM Installer ERROR: Unable to install FOG CA cert
     20/10/2016 1:42 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
     20/10/2016 1:42 PM Installer ERROR: Method: PinFOGCert
     20/10/2016 1:42 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
     20/10/2016 1:51 PM Installer ERROR: Unable to install FOG CA cert
     20/10/2016 1:51 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
     20/10/2016 1:51 PM Installer ERROR: Method: PinFOGCert
     20/10/2016 1:51 PM Installer ERROR: Access to the path "/usr/share/.mono" is denied.
    

    Any ideas? I checked /usr/share/.mono but there is no folder called .mono

    Thanks



  • @Joe-Schmitt

    Mono version
    1_1477352533349_mac fog 2.png

    When i tried running mono to install smartclient.exe
    0_1477352533348_mac fog 1.png



  • @Tom-Elliott there isnt a folder called “share”



  • @Tom-Elliott Hi Tom,
    It listed different folder but none of them is .mono


  • Senior Developer

    @Wayne-Workman thanks for pinging me, I was meaning to get back to this topic.

    @kwetiaw in short here’s what’s happening. Starting with El Capitan OSX ships with a feature called system integrity protection (SIP). Many applications have had some difficulty adjusting to the new security model. Mono included. With the release of El Capitan they had to rebuild parts of their build process to be in compliance with SIP. Even then it took them awhile to figure out how to ensure their root keystore was also compliant with SIP. The client was actually OSX compatible a long time ago, but I and @Tom-S had to wait for mono to patch this issue.

    I suspect with the release of OSX Sierra some changes were made to SIP. While mono still works (hence you can run the smart installer), the keystore is once again broken. This keystore is what allows the client to “pin” your FOG server for security purposes. If you can ensure you are running the latest version of mono (and if so report back with the exact version number mono --version) I can confirm the issue and check in with the Mono team about this issue. Also if you can, upload the entire SmartInstaller.log file.

    To clarify; this is not an issue with the client, but rather a bug with mono dealing with Apple’s SIP.


  • Senior Developer

    Also, can you check if sudo -lhart "/usr/local/share/.*" has .mono within it?


  • Moderator

    Pinging @Joe-Schmitt because this is outside my knowledge area at this point, and I have zero Mac devices to test on.


  • Senior Developer

    @kwetiaw That’s what’s odd. The statements in the file aren’t saying anything about file not existing. It’s stating permission denied, which is a totally different error.

    If you run ls -lhart in terminal as sudo ls -lhart "/usr/share/.*" is nothing returned?



  • @Tom-Elliott I did use elevated access as root.

    As mentioned, the hidden folder .mono is simply not there.



  • @Wayne-Workman Hi Wayne

    Sorry for late reply, yes I installed the latest mono as described in the guide.


  • Senior Developer

    Have you tried installing using root/admin permissions?


  • Moderator

    Have you installed the very latest mono as the instructions say?


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.