#44496: startupitem_install not working as expected -----------------------------+--------------------- Reporter: ora.et.labora@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: guide | Version: 2.3.1 Keywords: | Port: -----------------------------+--------------------- The documentation at https://guide.macports.org/chunked/installing.macports.html states:
After installing the second instance you might need to add '''startupitem_install no''' to $MP_PREFIX/etc/macports/macports.conf to avoid conflicts in /Library/LaunchAgents.''
The documentation is probably not entirely precise as I assume, that nothing should be installed outside of ${MP_PREFIX-/opt/local} if this option is set to "no". Cause it does not only conflict in /Library/LaunchAgents but also in /Library/LaunchDaemons or any other "shared" place. However, even with ''startupitem_install no''' a conflict is created as the following session demonstrates: {{{ $ port version Version: 2.3.1 $ fgrep startupitem /opt/local/etc/macports/macports.conf [..] startupitem_type default startupitem_install no # check whether installed (-L to list sym links) $ find -L /Library/Launch* ~/Library/Launch* -type f | fgrep -i mysql $ sudo port install mysql56-server [..] # bingo! $ find -L /Library/Launch* ~/Library/Launch* -type f | fgrep -i mysql /Library/LaunchDaemons/org.macports.mysql56-server.plist }}} -- Ticket URL: <https://trac.macports.org/ticket/44496> MacPorts <http://www.macports.org/> Ports system for OS X