Ubuntu 23.10 - Failed to execute program net.openvpn.v3.sessions: Permission denied #233
-
Hello. I cannot figure out how it's possible that I'm getting "permission denied" as root (and as a normal user) when I launch openvpn3 on Ubuntu 23.10 :
I'm using this version of openvpn3 :
Something might be missing execute permission, but I cannot figure out from this error message what that might be. In any event, I followed the installation instructions exactly as written so I'm at a loss. Any suggestions on where to begin troubleshooting this ? Since this error is similar to this one : I will post the same informations that you asked on that post :
|
Beta Was this translation helpful? Give feedback.
Replies: 46 comments 15 replies
-
First a heads-up; OpenVPN 3 Linux on Ubuntu 23.10 is currently not stable - and in many cases - not functional at all. This is related to the issues in #171. I am fully focused on resolving that first. It might be that there are further changes in 23.10 which makes the current glib2 implementation fail as well. I will follow up on this ticket once the work on #171 is ready for more widely testing. |
Beta Was this translation helpful? Give feedback.
-
Isn't there supposed to be a service file like this ? I don't know why it is not there. Anyway,I've created this service file on /usr/lib/systemd/user : net.openvpn.v3.sessions.service :
now,what should I do ? |
Beta Was this translation helpful? Give feedback.
-
There are two types of What you need to do is to just wait; I'm working full time on a complete overhaul of the D-Bus implementation to make it run well with glib2-2.76 and newer. Ubuntu 23.10 ships with glib2-2.78. This is not expected to work due to glib2 is now behaving slightly differently under the hood, which makes the glib2 integration layer in OpenVPN 3 Linux misbehave very badly. |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
I changed os (from linux to FreeBSD) and the problem has gone ;)
Il lun 1 gen 2024, 22:04 appz ***@***.***> ha scritto:
… Hi
The same issue on 23.10
Any news? At least solution
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFYNCZIAAXN3M5GHZ32B3DYMMQEHAVCNFSM6AAAAAA7LAKOXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGQ3TSNBWGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Marietto2008 Can you please share how you managed to install the client at all on 23.10? |
Beta Was this translation helpful? Give feedback.
-
@diman82 Can you please try the development snapshot? Details here: #171 (comment) If that works, we can probably close this ticket. |
Beta Was this translation helpful? Give feedback.
-
@dsommers Can confirm all works like a charm, thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks! Closing this one. Please re-open if there are other issues related to |
Beta Was this translation helpful? Give feedback.
-
Here on github I see the bad habit to close the tickets very soon,before to have reached a good number of positive reviews. I think it's not good. Anyway,it does not still work for me with Ubuntu 23.10 :
|
Beta Was this translation helpful? Give feedback.
-
@Marietto2008 How did you install OpenVPN 3 Linux? If you have modified the If you have modified any of the Once re-installed, please provide the contents of Also, since you had a reply where you said you had switched to FreeBSD, I took your words for it and expected you were no longer interested in this project. |
Beta Was this translation helpful? Give feedback.
-
Same error as before :
What should be the content of this file ? ---> net.openvpn.v3.sessions.service because actually I have renamed it to net.openvpn.v3.sessions.service_ since I hadn't any content inside it.
I use both the Oses,Linux and FreeBSD. |
Beta Was this translation helpful? Give feedback.
-
This file is shipped by the openvpn3 package. It should be exactly what that package uses. That differs slightly between each Linux distribution. But typically something along these lines:
Please try to enable
If it does not give any errors, try to start a VPN session - but try first without DCO. |
Beta Was this translation helpful? Give feedback.
-
---> Please try to enable sh or bash on the openvpn user account how ? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Anyway I want to create a thread on the Ubuntu forums to ask if my Ubuntu 23.04 is broken like you think it is. And for sure,how to fix it without destroying the system. |
Beta Was this translation helpful? Give feedback.
-
You can do:
|
Beta Was this translation helpful? Give feedback.
-
Don't close the ticket. I can't reboot the PC for the next 3 days. Then I will tell you if reinstalling dbus worked or not. |
Beta Was this translation helpful? Give feedback.
-
If it will not work when I will reboot,I have the plan B ready : https://www.reddit.com/r/Ubuntu/comments/1afg5t2/ubuntu_2310_failed_to_execute_program/ |
Beta Was this translation helpful? Give feedback.
-
Just looked at your reddit post .... I don't understand how you managed to interpret my "reinstall dbus" as I did a test changing the group ownership from
This is exactly the same error you get. From the log files:
And an Manually restoring it:
I still recommend REINSTALLING (not removing) the But I'm closing this now. This is not an issue or bug related to openvpn3-linux. |
Beta Was this translation helpful? Give feedback.
-
Just a note on the Regardless, reinstalling the |
Beta Was this translation helpful? Give feedback.
-
---> Just looked at your reddit post .... I don't understand how you managed to interpret my "reinstall dbus" as apt remove dbus. That will of course brick your system. The whole systemd stack depends on it. Don't worry. I asked that question before you suggested that I could have used :
---> I did a test changing the group ownership from messagebus to root. I'm really curious to understand what changed such setting, because I didn't do it intentionally. |
Beta Was this translation helpful? Give feedback.
-
I made progress,but it still does not work :
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Sorry to tell you,but usually I'm not able to read the man pages because they are too full of technicalities. I prefer to read more concise and easy tutorials or to ask help to someone. Sorry again for that,but if I want to really understand how something work,knowing what are my weakness,I should do in this way. That's because I haven't solid basis on computer sciences. This is only an hobby for me. I try to do my best. My job is totally different. Anyway,this is the openvpn config file that I usually use on FreeBSD where it works perfectly,but I don't think that on FreeBSD I use openvpn3. I'm trying to use it with openvpn3 on Ubuntu.
so,this is how I tried to use it with openvpn3 :
can you tell me what's missing ? thanks. |
Beta Was this translation helpful? Give feedback.
-
While it is easier to make it work using openvpn2 :
|
Beta Was this translation helpful? Give feedback.
-
---> If you had bothered to read the man page for the openvpn3 command, you would have seen there is a openvpn3 config-import command which explains what that command does. And by checking openvpn3 config-manage man page (referenced in the "SEE ALSO" section), it is explained how to use it to modify/manage imported configuration profiles. please don't think that I don't read man pages because I'm lazy. I love the computers. For me to read the man pages is very hard because often I'M NOT ABLE TO UNDERSTAND WHAT IT MEANS,WHAT SHOULD I DO. For me there is some serious understanding problems. |
Beta Was this translation helpful? Give feedback.
-
Man,this is exactly the kind of informations that my mind find hard to "process" ; I also think that this is NOT the right method to explain something. There aren't practical example,there aren't backgrounds,situation that you can use to drain some further informations that can help you to correctly assemble the command you need :
I have no idea about how to create a profile,reading that. I imagine that you don't see how much difficult can be for me,because you are experienced,you know how to orient yourself in that mess,but not me. |
Beta Was this translation helpful? Give feedback.
@Marietto2008
Just checked two of my Ubuntu development boxes now - 22.04 and 23.04 ... both have
messagebus
as the group owner.The privileges ("file mode") are the same as on your system,
4754
. I don't expect this to have changed in Ubuntu 23.10 at all.And just to double check other distributions (Fedora, RHEL and Debian). Debian 11 and 12 are identical to Ubuntu 22.04 and 23.04 (
messagebus
is the group owner, mode4754
). Fedora has switched to usingdbus-broker
instead ofdbus-daemon
, so that is not comparable (different implementation of the core s…