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

ovpmd.service wrong exe path... #47

Closed
ozburn opened this issue Sep 18, 2017 · 3 comments
Closed

ovpmd.service wrong exe path... #47

ozburn opened this issue Sep 18, 2017 · 3 comments
Assignees
Labels

Comments

@ozburn
Copy link

ozburn commented Sep 18, 2017

Hello , i'm really excited with this project , a light in the end of tunnel ;) , Thankyou very much to this iniciative...

I Just do a clean install on a new and updated ubtuntu 16.04 LTS version , and got a little problem...
After install and try to start with systemctl start ovpmd.service , it's not starting, doing a LOG look, i found the ovpmd.service at /usr/lib/systemd/system/ovpmd.service , set o wrong path to ovpmd.
ExecStart=/sbin/ovpmd

On my system is on /usr/sbin/ , after edit the file above, everything works perfect..!

Forgot to say that i install using the Debian/Ubuntu method, adding the repo onubuntu and using apt-get install ovpmd..!

Thanks again..!! i will try now to understand how it works, and if i can set it up to work like i already use on another server ;) Cya.

@cad
Copy link
Owner

cad commented Sep 18, 2017

@ozburn thanks for letting me know. The work I do for this project is mostly tested on CentOS. So, it's nice to hear from the Ubuntu side as well. :)

I will fix this shortly.

@cad cad self-assigned this Sep 18, 2017
@cad cad added the bug label Sep 18, 2017
@ozburn
Copy link
Author

ozburn commented Sep 18, 2017

@cad , i'm glad to help..!! , Got another issue on ubuntu...

On these days, default openvpn instalation on ubuntu, don't create user and group "openvpn" , instead, it's use.. the nobody user and nogroup group.

I change the user and group on /var/db/ovpm/server.conf and it's finally start openvpn service....

It's ok to change parameters on server.conf ?? , i mean... can be overwriten by another ovpm process ?

Thanks again..!! i have some ubuntu servers in production, i'm here to help ;)

By the way , sorry my Bad English too :)

@cad
Copy link
Owner

cad commented Sep 18, 2017

@ozburn nope /var/db/ovpm/server.conf is a write only target for ovpmd. It will get overwritten every once in a while. So, use ovpm CLI instead.

If you need to do something that is not available right now via ovpm CLI. I would be glad to hear it as I may incorporate it in the upcoming versions.

For the user issue, you can create openvpn user & group to work around it for now. Every major distro is installing openvpn with nobody user & group now. I will switch to nobody as well.

cad added a commit that referenced this issue Sep 18, 2017
We've been using using *openvpn* user and group as server launch
config options.

But latest versions of the popular distros are packaging OpenVPN
to be used with *nobody* user and group and they are not creating
openvpn user anymore, as also stated in #47.

Signed-off-by: Mustafa Arici <mustafa@arici.io>
@cad cad closed this as completed in a052e9b Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants