Bug 1222194 - kubo ipfs tries to start before the network appears and fails with an error
Summary: kubo ipfs tries to start before the network appears and fails with an error
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Bernhard Wiedemann
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-31 20:31 UTC by Dmitry Markov
Modified: 2024-04-05 06:00 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.