Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10434 closed defect (fixed)

openvpn fails to launch due to empty pidfile variable

Reported by: anonymous Owned by: nico
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openvpn pid Cc:

Description

from /etc/init.d/openvpn:

        SERVICE_PID_FILE="/var/run/openvpn-$s.pid" \
        service_start /usr/sbin/openvpn --syslog "openvpn($s)" --writepid "$SERVICE_PID_FILE" $ARGS

log output:

Dec 31 19:01:17 ZOMGWTFBBQWIFI daemon.err openvpn(custom_config)[1749]: Open error on pid file : No such file or directory (errno=2)

strace shows this gets execed with "" for the $SERVICE_PID_FILE argument.

$ svn info
Path: .
URL: svn://svn.openwrt.org/openwrt/trunk
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 29182
Node Kind: directory
Schedule: normal
Last Changed Author: nico
Last Changed Rev: 29165
Last Changed Date: 2011-11-15 18:40:39 -0500 (Tue, 15 Nov 2011)

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to accepted

comment:2 Changed 6 years ago by nico

  • Resolution set to fixed
  • Status changed from accepted to closed

Should be fixed in r29184, thanks!

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.