Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix journalctl --since #865
Difficult to explain, as it's more sensations and difficult to reproduce...
Sometime you try to install a package and even if the service is started and the
Same during package_check with services fail to starts but start during manual installation
Diving in ynh_systemd_action and in journalctl arguments. It seems that
How to test
Make some install and check what happens :/
I'm like 95% of the issue I had but no proof, no logs, no screenshot, nothing....
I can just tell the conditions...
I was working on YunoHost-Apps/distbin_ynh#52 => applying last example_ynh on distbin_ynh
As I worked like a barbarian, change_url script wasn't working.... And as I didn't took time to read all logs, I decided to test manually change_url on distbin_ynh
I applied a snapshot and started a virtual machine, launch three ssh windows with a command for each one:
At the end of the install, ynh_systemd_action was waiting distbin service start... but in the
I have seen that a few times on different packages but wasn't able to reproduce systematically...
I will try to make additional tests. and let you know.
The thing is, using
The behavior is the same, as said before, between now and 0s before now.
You should probably try to follow
Also, instead of a sleep 60, you can use the timeout option of ynh_systemd_action.