Bug 1222194

Summary: kubo ipfs tries to start before the network appears and fails with an error
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dmitry Markov <werwolf131313>
Component: OtherAssignee: Bernhard Wiedemann <bwiedemann>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: werwolf131313
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dmitry Markov 2024-03-31 20:31:33 UTC
kubo ipfs tries to start before the network appears and fails with an error

> [werwolf@power] ~  
> ❯ sudo LANG=c zypper info kubo
> Refreshing service 'openSUSE'.
> Loading repository data...
> Reading installed packages...
> 
> 
> Information for package kubo:
> -----------------------------
> Repository     : filesystems
> Name           : kubo
> Version        : 0.26.0-16.17
> Arch           : x86_64
> Vendor         : obs://build.opensuse.org/filesystems
> Installed Size : 79.2 MiB
> Installed      : Yes
> Status         : up-to-date
> Source package : kubo-0.26.0-16.17.src
> Upstream URL   : https://github.com/ipfs/kubo
> Summary        : IPFS implementation in Go
> Description    : 
>     IPFS is a global, versioned, peer-to-peer filesystem. It combines good ideas from Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single bittorrent swarm, exchanging git objects. IPFS provides an interface as simple as the HTTP web, but with permanence
>     built in. You can also mount the world at /ipfs.

As far as I understand, the problem can be solved by simply adding one line to the systemd service file

> Wants=network-online.target
> After=network-online.target
Comment 1 OBSbugzilla Bot 2024-04-04 17:55:02 UTC
This is an autogenerated message for OBS integration:
This bug (1222194) was mentioned in
https://build.opensuse.org/request/show/1165002 Factory / kubo
Comment 2 Bernhard Wiedemann 2024-04-05 06:00:43 UTC
It should be fixed with the 0.27.0 version in the next Tumbleweed snapshot.
If it still does not work, please re-open this bug.