NebraLtd / hm-miner

Helium Miner Container
https://nebra.io/hnt
MIT License
16 stars 16 forks source link

Dbus wait script - improve failure #37

Closed shawaj closed 2 years ago

shawaj commented 2 years ago

See comment here - https://github.com/NebraLtd/helium-miner-software/pull/159#commitcomment-57722628

When it fails with "no such file or directory" it still shows "dbus now accepting connections" and continues, when it should not

shawaj commented 2 years ago

@marvinmarnold #41 didn't seem to work. Getting constant output like follows, and never completes:

 helium-miner     array [
 helium-miner        string "org.freedesktop.DBus"
 helium-miner        string ":1.16133"
 helium-miner     ]: out of range
 helium-miner  sh: method return time=1634046835.445064 sender=org.freedesktop.DBus -> destination=:1.16134 serial=3 reply_serial=2
 helium-miner     array [
 helium-miner        string "org.freedesktop.DBus"
 helium-miner        string ":1.16134"
 helium-miner     ]: out of range
 helium-miner  sh: method return time=1634046835.558691 sender=org.freedesktop.DBus -> destination=:1.16135 serial=3 reply_serial=2
 helium-miner     array [
 helium-miner        string "org.freedesktop.DBus"
 helium-miner        string ":1.16135"
 helium-miner     ]: out of range
 helium-miner  sh: method return time=1634046835.676673 sender=org.freedesktop.DBus -> destination=:1.16136 serial=3 reply_serial=2
 helium-miner     array [
 helium-miner        string "org.freedesktop.DBus"
 helium-miner        string ":1.16136"
 helium-miner     ]: out of range
 helium-miner  sh: method return time=1634046835.800251 sender=org.freedesktop.DBus -> destination=:1.16137 serial=3 reply_serial=2
 helium-miner     array [
 helium-miner        string "org.freedesktop.DBus"
 helium-miner        string ":1.16137"
 helium-miner     ]: out of range

Investigating

shawaj commented 2 years ago

fixed by https://github.com/NebraLtd/hm-miner/commit/77f954817be7c2e5ce3de7383134fd7417fc507b