Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply --rmenv immediately to help to avoid the env var length check #3674

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

topimiettinen
Copy link
Collaborator

Remove environment variables with --rmenv (and profile rmenv)
immediately. This fixes removing long environment variables (LS_COLORS
generated by vivid), previously the length filter would trip before
the command was processed.

This changes user visible behavior slightly, for example --rmenv=LANG
now applies also to Firejail, while earlier it would only apply to
sandboxed program.

Closes #3673.

Signed-off-by: Topi Miettinen [email protected]

Remove environment variables with --rmenv immediately. This fixes
removing long environment variables (LS_COLORS generated by vivid),
previously the length filter would trip before the command was
processed.

This changes user visible behavior slightly, for example --rmenv=LANG
now applies also to Firejail, while earlier it would only apply to
sandboxed program.

Partially fixes netblue30#3673, but not handling `rmenv` in profiles.

Also suggest --rmenv when there are problems with enviroment
variables.

Signed-off-by: Topi Miettinen <[email protected]>
@netblue30
Copy link
Owner

All in, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants