Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605558 - tmpfiles.eclass could not be used in systems with stable OpenRC
Summary: tmpfiles.eclass could not be used in systems with stable OpenRC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 605368
  Show dependency tree
 
Reported: 2017-01-13 09:43 UTC by Sergey Popov
Modified: 2017-04-06 07:35 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 Sergey Popov gentoo-dev 2017-01-13 09:43:09 UTC
As a solution for bug #605368, tmpfiles.eclass was recommended. But it seems that it can not be used on current stable systems with OpenRC.

Current stable OpenRC is 0.22.4

tmpfiles.eclass adds dependency on virtual/tmpfiles, which is currently unstable, but that's not a problem, let's unmask it. What's happens next?

It pulls either sys-apps/opentmpfiles or sys-apps/systemd. We have OpenRC system, so we go for the first one...

No, just look at sys-apps/opentmpfiles and we will see:

RDEPEND="!<sys-apps/openrc-0.23"

Which is fine, because it's new mechanism, that was split from openrc package in bug #599044.

So, user should update openrc to unstable, which could be not what he wants.

This is not a major issue(as virtual dependency is already unstable, the whole eclass can be for unstable only systems), but apparently, it is the blocker for bug #605368, unless other solution for it can be achieved(for example - manual reimplementing directory creation in pkg_postinst for some ebuilds).

Or we just could wait for openrc >0.23 to become stable :-)

Bug was filed by mgorny's request as a 'reminder'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-01-13 13:27:53 UTC
Since it is quite a major change and 'just' a QA warning being fixed, I believe it would be reasonable to revbump to ~arch and have the new revision stabilized in its own time.

Also, the reminder part was about the dependency being used on Linux only which defeats its purpose.
Comment 2 Sergey Popov gentoo-dev 2017-04-06 07:35:32 UTC
OpenRC 0.23 is stable now, closing this as FIXED