Currently --group-entry and --passwd-entry function differently in relation to the --user flag, contrary to the documentation. Namely while the --userns flag enables --passwd-entry to function as expected, it does not enable --group-entry to function at all, with only --user seemingly enabling --group-entry to work.
This is only made more confusing by the existence of the --passwd flag whose function seems to disable appending to both /etc/passwd and /etc/group but is documentated as if it were a prequiste to the --*-entry flags.
Suggest potential solution
Removal of all prerequisites on --*-entry flags enabling them to work all conditions; the user should be expected to understand the implications of these flags and the adverse effects to their containers if they use them incorrectly.
Feature request description
Currently
--group-entry
and--passwd-entry
function differently in relation to the--user
flag, contrary to the documentation. Namely while the--userns
flag enables--passwd-entry
to function as expected, it does not enable--group-entry
to function at all, with only--user
seemingly enabling--group-entry
to work.This is only made more confusing by the existence of the
--passwd
flag whose function seems to disable appending to both /etc/passwd and /etc/group but is documentated as if it were a prequiste to the--*-entry
flags.Suggest potential solution
Removal of all prerequisites on
--*-entry
flags enabling them to work all conditions; the user should be expected to understand the implications of these flags and the adverse effects to their containers if they use them incorrectly.Clarifying documentation of
--passwd
flagHave you considered any alternatives?
N/A
Additional context
N/A