close
The Wayback Machine - https://web.archive.org/web/20210111185112/https://github.com/yggdrasil-network/yggdrasil-go/issues/637
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

Don't depend on systemd #637

Open
DaniellMesquita opened this issue Dec 21, 2019 · 5 comments
Open

Don't depend on systemd #637

DaniellMesquita opened this issue Dec 21, 2019 · 5 comments

Comments

@DaniellMesquita
Copy link

@DaniellMesquita DaniellMesquita commented Dec 21, 2019

Unpacking yggdrasil (0.3.9) ...
dpkg: error processing archive yggdrasil-0.3.9-i386.deb (--install):
unable to create '/etc/systemd/system/yggdrasil.service.dpkg-new' (while processing 'etc/systemd/system/yggdrasil.service'): No such file or directory
Errors were encountered while processing:
yggdrasil-0.3.9-i386.deb

There are Linux distros such as AntiX (Debian) and Gentoo which doesn't uses systemd. Can't install yggdrasil in those.

@neilalexander
Copy link
Member

@neilalexander neilalexander commented Dec 21, 2019

This will require alternative packages to be created.

@DaniellMesquita
Copy link
Author

@DaniellMesquita DaniellMesquita commented Dec 21, 2019

Yggdrasil isn't distributed for Gentoo?
About .deb, the installer can first verify if the distro uses systemd before working with 'etc/systemd/system/yggdrasil.service'.

@neilalexander
Copy link
Member

@neilalexander neilalexander commented Dec 22, 2019

I’m not aware that anyone has created a Gentoo package yet.

@janicez
Copy link

@janicez janicez commented Feb 25, 2020

Installing manually (i.e. with ./build) on FreeBSD works fine. systemd isn't even /available/ for that platform.

Thin would be better directed at yggdrasil-go-packagers (which needs to be a thing, because it's not yet)

@wstrm
Copy link
Contributor

@wstrm wstrm commented Mar 5, 2020

I have had Gentoo ebuilds in my overlay for a while: https://github.com/wstrm/gentoo-overlay/blob/master/net-p2p/yggdrasil-go/yggdrasil-go-0.3.13.ebuild

Supports both Systemd and OpenRC on Gentoo.

You can add my overlay:

eselect repository enable optmzr

Or just copy and paste the ebuild and install with the ebuild command.

I've been looking into adding it to Gentoo, but I haven't had time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.