Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511384 - app-emulation/cloud-init - add USE=syslog
Summary: app-emulation/cloud-init - add USE=syslog
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Alex Brandt (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-24 16:14 UTC by Alex Brandt (RETIRED)
Modified: 2014-08-24 23:55 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 Alex Brandt (RETIRED) gentoo-dev 2014-05-24 16:14:28 UTC
It would be very convenient if cloud-init provided a syslog logging configuration that was togglable via a USE flag.  This would allow systems or providers that guarantee syslog's availability to simply integrate from the time of first boot or configuration.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-24 20:07:45 UTC
If it includes a run-time configurable syslogging feature, then why would you want to completely re-emerge the package instead?
Comment 2 Alex Brandt (RETIRED) gentoo-dev 2014-05-25 15:26:52 UTC
I don't want to re-emerge the package.  I want to make it easier for cloud providers to use the syslog mechanism so that new fresh images have captured the cloud-init output using that facility.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-06-30 06:05:48 UTC
(In reply to Alex Brandt from comment #2)
> I don't want to re-emerge the package.  I want to make it easier for cloud
> providers to use the syslog mechanism so that new fresh images have captured
> the cloud-init output using that facility.

This appears to be a good case for use of a virtual package.  Your 'wise' colleague suggests it ought be put behind a tailor made virtual package rather then a flag stipulating one specific syslog selected package. 'Luxury of choice'.   virtual would mean that the package could depend on it via addition in DEPEND.  This way, you get to choose your favoured syslog 'provider'. 

Well being the evangelist of all things 'cloud' as you are, and a pretty smart dev, 'we' expect you to knock it up in a flash, or at least inside the time of a few commercial breaks.
Comment 4 Alex Brandt (RETIRED) gentoo-dev 2014-08-10 18:23:03 UTC
I have an ebuild ready for review that fixes not only this problem but adds systemd unit support among other minor updates.  I have not yet run tests on the ebuild but will do that shortly.

prometheanfire, can you review the changes in my overlay on the app-emulation/cloud-init branch and provide feedback before I add the ebuild to the tree and close this bug?
Comment 5 Alex Brandt (RETIRED) gentoo-dev 2014-08-17 20:52:22 UTC
Tests don't pass on a clean install of cloud-init due to improper isolation of the SmartOS unit tests.  I'll report an upstream issue to get these fixed in the next release but for now I think we can publish this updated ebuild.  If no objections by Saturday I'll go ahead and push my -r2 to the tree.
Comment 6 Alex Brandt (RETIRED) gentoo-dev 2014-08-17 21:02:42 UTC
Upstream bug report: https://bugs.launchpad.net/cloud-init/+bug/1358026
Comment 7 Alex Brandt (RETIRED) gentoo-dev 2014-08-18 14:58:51 UTC
Does anyone have a problem with simply dropping the SmartOS tests on this particular release so the tests pass in this version?