MacOS Remoting host package fails to install host service correctly |
||||
Issue description
I can build, sign, and install our MacOS package however I can't actually run the service or uninstall the package. I get similar results with the official builds.
I tracked down the issue to the {pre|post}flight and keystone_install scripts not being marked executable.
In the out directory, the script is marked this way:
-rwxr-xr-x 1 joedow eng 3565 Oct 26 09:17 .//gen/remoting/host/installer/mac/remoting_installation/Scripts/remoting_preflight.sh
In the zip file, the scripts look like this:
-rwxr--r-- 1 joedow eng 3565 Jan 1 2001 .//remoting-me2me-host-mac/Scripts/remoting_preflight.sh
I was able to build a working package by running chmod +x on the script files and regenerating the package.
,
Oct 30
,
Oct 30
I ran some additional tests using different permutations of the execute bit but I couldn't generate a working package again, therefore I'm not sure if the execute bit is the problem. I'll need to dig in a big more :P
,
Oct 31
Glad to be a part of your discussion. If you are facing issue while installing MacOS Remoting host Package service then i suggest you to read proper guideline before installing it by following this blog: https://www.mactechnicalsupportnumbers.com/blog/get-easy-fixes-for-mac-error-code-43/, to get your solution.
,
Oct 31
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c59577a4fe417b3a947f1176eb09bf79e67350d6 commit c59577a4fe417b3a947f1176eb09bf79e67350d6 Author: Nico Weber <thakis@chromium.org> Date: Wed Oct 31 10:22:18 2018 Make build_utils.ZipDir() preserve group and other executable bits too. Apparenly preserving the user x bit isn't enough for remoting's installer. Follow-up to https://chromium-review.googlesource.com/c/chromium/src/+/1301793 Bug: 900303 ,875279, 870611 Change-Id: Ibbdf71b1d33941b0d6bde5e6cc3c964404a653c0 Reviewed-on: https://chromium-review.googlesource.com/c/1308759 Reviewed-by: agrieve <agrieve@chromium.org> Commit-Queue: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#604198} [modify] https://crrev.com/c59577a4fe417b3a947f1176eb09bf79e67350d6/build/android/gyp/util/build_utils.py
,
Oct 31
That change worked! Setting the execute bit(s) on the scripts must not have been enough. My local Mac package built and isntalled correctly with this change. Thanks! Marking as fixed. Also, I will install tomorrow's official build to verify.
,
Nov 1
Official Mac build succeeded today, w00t!
,
Nov 2
Glad to hear it :-) |
||||
►
Sign in to add a comment |
||||
Comment 1 by thakis@chromium.org
, Oct 30