Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] can't get rid of OpenVPN service output in tty (Read 330 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] can't get rid of OpenVPN service output in tty

I have enabled the openvpn runit service, but at boot time the console is flooded by the service output and I can't even see my login prompt (i am not using any DM). I have tried to use the fix that I found elsewhere in this section, that is appending 2>/dev/null to the command in the run file:
Code: [Select]
#!/bin/sh
[ -r conf ] && . ./conf
exec openvpn --config ${CONF_FILE:=/etc/openvpn/openvpn.conf} 2>/dev/null
however it didn't work.

Re: can't get rid of OpenVPN service output in tty

Reply #1
Ok. I think I am closer to the solution, but still needing help. I noticed that the service doesn't have a log folder. So maybe such a folder should be added with a run file. But I'm not sure wether this run file should have something like 
Code: [Select]
exec svlogd -tt /var/log/openvpn
  or
Code: [Select]
exec logger -t openvpn

 

Re: can't get rid of OpenVPN service output in tty

Reply #2
Fixed with the latest build, thanks