Add official setpriv-wrapper.sh which implements gosu in pure POSIX shell via setpriv#143
Add official setpriv-wrapper.sh which implements gosu in pure POSIX shell via setpriv#143tianon wants to merge 1 commit intotianon:masterfrom
setpriv-wrapper.sh which implements gosu in pure POSIX shell via setpriv#143Conversation
8903867 to
3c1fd16
Compare
|
I think "fragile" is probably the best description of this code. It definitely does The Thing, but probably not the best answer for an actual "load bearing" component of another system, so perhaps I should leave this as-is and only include the README shuffling? Perhaps even with a reference to this PR for users who really want to dig themselves a hole? 🤔 |
|
FWIW SUSE folks have gone the |
|
I don't love the implementation, but it's fine -- however, I really find it offputting that they call it Edit: dug in to find the place it was added and raised this with those folks in SUSE/BCI-dockerfile-generator#963 (comment) Edit 2: now in SUSE/BCI-dockerfile-generator#2070 Edit 3: and done/renamed in SUSE/BCI-dockerfile-generator#2134 |
…he most appropriate alternative) See also #143
…IX shell via `setpriv`
This promotes
setprivto the official (coveted) "top" spot in the list of Alternatives.