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: 2020-12-20 12:30 UTC (History)
2 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?