Opened 8 years ago

Last modified 8 years ago

#53524 new defect

openvpn2 @2.4.0: startupitem needs syslog

Reported by: smradman (Stefan Radman) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: Cc:
Port: openvpn2

Description

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>

Change History (3)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: openvpn2 startupitem syslog removed

As reporter, you do not need to Cc yourself.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

See also #52525.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Cc: smradman removed
Note: See TracTickets for help on using tickets.