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

Bugfix: sh (dash) dose not support &> /dev/null. #576

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

evshary
Copy link
Contributor

@evshary evshary commented Oct 30, 2023

Since sh (link to dash in Ubuntu) does not support &> /dev/null, the if-condition will always fail and won't create zenohd users.
I believe this is why systemd fails to run zenohd while bootup.

Is there any way to build the deb file locally? I don't know how to create the deb file easily for testing.

@gabrik
Copy link
Contributor

gabrik commented Oct 30, 2023

Hi @evshary

Is there any way to build the deb file locally? I don't know how to create the deb file easily for testing.

I think cargo deb -p zenohd should do the trick.

@evshary
Copy link
Contributor Author

evshary commented Oct 30, 2023

@gabrik Thanks! I didn't know the trick before!
After some tests, I think the PR fixes the problem.
I just found that it's related to the issue #515

@OlivierHecart OlivierHecart merged commit b2959f0 into eclipse-zenoh:master Nov 6, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants