Bug 44827 - new install on Sierra is missing /etc/paths
Summary: new install on Sierra is missing /etc/paths
Alias: None
Product: Installers
Classification: Mono
Component: General ()
Version: 4.6.0 (C8)
Hardware: PC Mac OS
: --- normal
Target Milestone: 4.8.0 (C9)
Assignee: Rodrigo Kumpera
Depends on:
Reported: 2016-09-28 13:57 UTC by Luis Aguilera
Modified: 2016-10-06 07:15 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Luis Aguilera 2016-09-28 13:57:21 UTC
this bug tracks this: https://github.com/dotnet/core-setup/pull/362

apparently, on a new install on Sierra, the /etc/paths file is not created. This does not occur in the case of upgrades (from El Cap to Sierra) since the /etc/paths file would already be present on the system
Comment 2 Alexander Köplinger [MSFT] 2016-09-28 18:36:25 UTC
Small correction: it's not the /etc/paths file that is missing on Sierra, but the /etc/paths.d *directory* (note the .d at the end).

We're trying to place a file into this directory during postinstall in the Mono .pkg which wouldn't work if the directory doesn't exist.