Skip to content

rework on rc_service_*env api#1025

Open
navi-desu wants to merge 3 commits into
masterfrom
environagain
Open

rework on rc_service_*env api#1025
navi-desu wants to merge 3 commits into
masterfrom
environagain

Conversation

@navi-desu

Copy link
Copy Markdown
Member

the original api was made before we settled on reexport

having the reexport list makes it simpler and cleaner to handle
exported variabes one-at-a-time over as a block, and allow us to
trivially enforce that only the reexported list are loaded into
dependees

also, it's more intuitive as it matches what libc's getenv/setenv looks like

the original api was made before we settled on reexport

having the reexport list makes it simpler and cleaner to handle
exported variabes one-at-a-time over as a block, and allow us to
trivially enforce that only the reexported list are loaded into
dependees
the service must be started, and the listed variables must be in the
`reexport` list
avoids leaking reexports from parent openrc-run processes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant