New issue
Advanced search Search tips

Issue 900303 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Oct 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug

Blocking:
issue 870611



Sign in to add a comment

MacOS Remoting host package fails to install host service correctly

Project Member Reported by joedow@chromium.org, Oct 30

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.
 
Blocking: 870611
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
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.

Project Member

Comment 5 by bugdroid1@chromium.org, 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

Status: Fixed (was: Started)
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.
Status: Verified (was: Fixed)
Official Mac build succeeded today, w00t!
Glad to hear it :-)

Sign in to add a comment