hide.client.linux icon indicating copy to clipboard operation
hide.client.linux copied to clipboard

Systemd Service File Dependency on /run/systemd/resolve Causes Failure to Start

Open itsmeherefolks opened this issue 1 year ago • 0 comments

Description

After installing the latest version (hide.me-linux-amd64-0.9.9.tar.gz ) of the Hide.me CLI VPN client on Manjaro Linux, the systemd service for the VPN connection fails to start due to a missing /run/systemd/resolve directory, which results in a Failed to set up mount namespacing error.

Steps to Reproduce

  1. Install Hide.me CLI VPN client version 0.9.9 on Manjaro Linux.
  2. Enable and start the systemd service for a VPN connection.
  3. Observe the service failing to start with a status=226/NAMESPACE error.

Workaround Implemented

I modified "/opt/hide.me/[email protected]" by removing the reference to /run/systemd/resolve in the ReadWritePaths directive. This allowed the service to start successfully.

Suggested Fix

It might be beneficial to evaluate the necessity of referencing /run/systemd/resolve in the service file, considering it may not exist on all systems or when systemd-resolved is not in use. An alternative approach or configuration flexibility would help accommodate various system setups.

Additional Context

This problem seems to have been addressed in a previous commit (3795591), but the issue persists or has resurfaced under certain conditions.

Thank you for looking into this matter. Thomas

itsmeherefolks avatar Apr 04 '24 16:04 itsmeherefolks