[systemd-bugs] [Bug 85709] New: RFE: EnvironmentExecutable= or EnvironmentOneshot= that provides environment

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 31 10:52:22 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85709

            Bug ID: 85709
           Summary: RFE: EnvironmentExecutable= or EnvironmentOneshot=
                    that provides environment
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: rektide at voodoowarez.com
        QA Contact: systemd-bugs at lists.freedesktop.org

This is rapidly becoming standard practice in container-land- a program which
provides Environment for another. This should be supported directly in systemd,
rather than requiring each project to cobble together their own executable
wrapper.

Programs doing this themselves:

https://github.com/kelseyhightower/confd
https://github.com/hashicorp/envconsul
https://github.com/mattn/etcdenv
https://github.com/GoogleCloudPlatform/kubernetes/issues/2068

The actual format suggested- an EnvironmentExecutable- is completely
negotiable, it merely seemed to be the simplest option to me.

Far more interestingly, perhaps an EnvironmentOneshot could specify a oneshot
service whose stdout could be used. This would, to me, be far more complete, as
it solves the question of what execution environment to frame the execution
environment generator in and allows for all the levels of stupidly recursive
one could ever dream.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141031/7eaef12f/attachment-0001.html>


More information about the systemd-bugs mailing list