Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR #18 causes Syntax Errors #20

Closed
ab623 opened this issue May 28, 2015 · 3 comments
Closed

PR #18 causes Syntax Errors #20

ab623 opened this issue May 28, 2015 · 3 comments

Comments

@ab623
Copy link
Contributor

ab623 commented May 28, 2015

Ran a fresh git clone, built and run, and getting this syntax error.

admin@snow:~/dev/docker/torrent/docker-transmission-openvpn$ docker logs a7
Starting OpenVPN using config Netherlands.ovpn
Overriding resolv.conf...
Setting PIA credentials...
Thu May 28 09:58:26 2015 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
Thu May 28 09:58:26 2015 WARNING: file '/config/pia-credentials.txt' is group or others accessible
Thu May 28 09:58:26 2015 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu May 28 09:58:26 2015 UDPv4 link local: [undef]
Thu May 28 09:58:26 2015 UDPv4 link remote: [AF_INET]109.201.154.147:1194
Thu May 28 09:58:26 2015 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu May 28 09:58:26 2015 [Private Internet Access] Peer Connection Initiated with [AF_INET]109.201.154.147:1194
Thu May 28 09:58:29 2015 TUN/TAP device tun0 opened
Thu May 28 09:58:29 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu May 28 09:58:29 2015 /sbin/ip link set dev tun0 up mtu 1500
Thu May 28 09:58:29 2015 /sbin/ip addr add dev tun0 local 10.139.1.6 peer 10.139.1.5
Thu May 28 09:58:29 2015 /etc/transmission-daemon/start.sh tun0 1500 1542 10.139.1.6 10.139.1.5 init
/etc/transmission-daemon/start.sh: 4: /etc/transmission-daemon/environment-variables.sh: Syntax error: newline unexpected
Thu May 28 09:58:29 2015 WARNING: Failed running command (--up/--down): external program exited with error status: 2
Thu May 28 09:58:29 2015 Exiting due to fatal error

/etc/transmission-daemon/start.sh: 4: /etc/transmission-daemon/environment-variables.sh: Syntax error: newline unexpected

@haugene
Copy link
Owner

haugene commented May 28, 2015

Have not encountered this when building on my system. And it does not occur in the trusted build.

Away for the weekend, but I can try to reproduce this next week. Are you running boot2docker? Are you on a Linux host? Or Windows?

@ab623
Copy link
Contributor Author

ab623 commented May 28, 2015

'Linux host. Ill give it another shot, but not sure whats causing it, but its been constantly happening.

@ab623
Copy link
Contributor Author

ab623 commented May 29, 2015

Updated docker version and this resolved this issue. Raised PR #21 to ensure this wont happen again to future people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants