[MacPorts] #41179: wemux @2.2.0_0 points to file in /etc instead of ${prefix}/etc
MacPorts
noreply at macports.org
Mon Nov 4 11:55:51 PST 2013
#41179: wemux @2.2.0_0 points to file in /etc instead of ${prefix}/etc
---------------------+--------------------------------
Reporter: nando@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: wemux
---------------------+--------------------------------
After a freshly-installed wemux, I copied the sample config at
'/opt/local/etc/wemux.conf.example' to '/opt/local/etc/wemux.conf' with a
modified 'host_list' including my login name. However, I still couldn't
start the server as an unprivileged user. It works OK with 'sudo' though.
A 'sudo dtruss wemux start' gives the following relevant info:
{{{
...
read(0xFF, "# Set $EDITOR default to vi if not configured on host
machine.\neditor=${EDITOR:=\"vi\"}\n\n# Load configuration options from
/etc/wemux.conf\n[ -f /etc/wemux.conf ] && . /etc/wemux.conf\n\n# Sanitize
session name, replace spaces and underscores with dashes.\n# Rem", 0x2000)
= 8192 0
sigprocmask(0x1, 0x0, 0x7FFF53F80900) = 0x0 0
...
stat64("/etc/wemux.conf\0", 0x7FFF53F7FF80, 0x10BCC49EC) =
-1 Err#2
...
}}}
Then I moved the file to /etc and there was no problem with wemux. So,
shouldn't the config file be read from '${prefix}/etc' instead of '/etc' ?
-- My '/opt/local/etc/macports/macports.conf' prefix var points to
'/opt/local' btw.
Thanks in advance,
//nando
--
Ticket URL: <https://trac.macports.org/ticket/41179>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list