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

[Bug] Deb install do not found systemctl even if it's present #139

Open
ggari-robotnik opened this issue May 6, 2024 · 4 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@ggari-robotnik
Copy link

Describe the bug

The installation of the zenoh-bridge-ros2dds 0.11.0-rc2 fails to found systemctl command, even if the command is found

To reproduce

command -v systemctl
/usr/bin/systemctl
echo $?
0
sudo dpkg -i zenoh-plugin-ros2dds_0.11.0-rc.2_amd64.deb
....
Setting up zenoh-bridge-ros2dds (0.11.0-rc.2) ...
WARNING: 'systemctl' not found - cannot install zenoh-bridge-ros2dds as a service.
/usr/bin/systemctl
``

### System info

- Platform: ubuntu 22.04.3 server
- CPU:  Intel(R) Core(TM) i7-10710U
- Zenoh version: 0.11.0-rc2 (deb)
@ggari-robotnik ggari-robotnik added the bug Something isn't working label May 6, 2024
@Mallets
Copy link
Member

Mallets commented May 6, 2024

Tagging @diogomatsubara

@diogomatsubara
Copy link
Contributor

Hi @ggari-robotnik, thanks for the bug report!

I was unable to reproduce the exact issue you mentioned as it seems our debian repository is broken at the moment. I got a different error trying to install the zenoh-bridge-ros2dds package via apt on a pristine Ubuntu container. I'll debug this further today but I'm curious why you choose to install the zenoh-bridge-ros2dds via dpkg instead of apt. Did you get an error installing the zenoh-* packages on Ubuntu via apt and then tried to install the individual package manually using dpkg?

@ggari-robotnik
Copy link
Author

Dear @diogomatsubara I use dpkg because sometimes in the past the zenoh apt repo has mixed versions. I wanted make sure that I have that version.

@diogomatsubara
Copy link
Contributor

Hi @ggari-robotnik , we just released 0.11.0-rc.3 and I tried the debian repository on a pristine ubuntu install and couldn't reproduce the issue. Could you give it a try? Another thing to consider is if there are any security profile applied to your OS which would make systemctl inacessible or not in the $PATH for the install process.

@diogomatsubara diogomatsubara self-assigned this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants