[MacPorts] #53524: openvpn2 @2.4.0: startupitem needs syslog

MacPorts noreply at macports.org
Thu Feb 9 14:44:44 UTC 2017


#53524: openvpn2 @2.4.0: startupitem needs syslog
-----------------------------------------+----------------------
 Reporter:  smradman                     |      Owner:
     Type:  defect                       |     Status:  new
 Priority:  Normal                       |  Milestone:
Component:  ports                        |    Version:  2.4.0
 Keywords:  openvpn2 startupitem syslog  |       Port:  openvpn2
-----------------------------------------+----------------------
 When loading openvpn2 with {{{port load openvpn2}}} the output does not
 get to syslog (tested with 2.4.0).
 The example {{{server.conf}}} mentions that
 {{{
 # By default, log messages will go to the syslog (or
 }}}
 which apparently is only true in {{{--daemon}}} mode (at least for 2.4.0).
 Starting openvpn2 on a terminal without options sends the output to
 stdin/stdout/stderr.

 Since {{{daemondo}}} closes stdin, stdout and stderr it should direct
 openvpn2 to syslog e.g.
 {{{
 <key>Label</key><string>org.macports.openvpn2</string>
 <key>ProgramArguments</key>
 <array>
         <string>/opt/local/bin/daemondo</string>
         <string>--label=openvpn2</string>
         <string>--start-cmd</string>
         <string>/opt/local/sbin/openvpn2</string>
         <string>--syslog</string>
         <string>--config</string>
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53524>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list