Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610720 - app-emulation/cloud-init needs separate distro profiles for OpenRC and systemd
Summary: app-emulation/cloud-init needs separate distro profiles for OpenRC and systemd
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
Depends on:
Reported: 2017-02-23 18:39 UTC by Reuben Martin
Modified: 2022-08-13 14:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Martin 2017-02-23 18:39:07 UTC
The cloud-init package includes systemd service units, but they will fail to work correctly since the included python scripts all assume the system is using openrc.

The first file encountered causing problems under systemd is:

Reproducible: Always
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2017-02-26 05:30:51 UTC
yes, upstream cloud-init needs a bit of love in that area and in the network config area, we are still using the 'old' netconfig stuff.
Comment 2 f0o 2020-12-20 12:30:02 UTC
3 Years have passed and it seems that the issue remains. I just ran into it today with app-emulation/cloud-init-20.1

shouldn't a patch that's applied based on use-flags suffice to rewrite the rc-update & co lines with systemd specifics?
Comment 3 Skyler Mäntysaari 2022-08-13 14:36:11 UTC
I faced this issue today as well, I hadn't even thought that systemd-networkd wouldn't be supported when a systemd system usually does use it.