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
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 18:39 UTC by Reuben Martin
Modified: 2023-06-25 22:41 UTC (History)
3 users (show)

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


Attachments

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:
/usr/lib64/python3.4/site-packages/cloudinit/distros/gentoo.py

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.
Comment 4 Skyler Mäntysaari 2023-02-06 05:42:56 UTC
Is this pretty much waiting on patches to be submitted to upstream cloud-init or should them be done in portage?
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2023-02-06 22:51:06 UTC
ya, patches are needed at this point