Just to quickly further explicate, /etc/environment parsing as per linux-pam explicitly supports comments as per:
https://github.com/linux-pam/linux- pam/blob/1fbf123d982b90d41463df7b6b59a4e544263358/modules/pam_env/pam_env.c#L906 /* skip blanks lines and comments */ if (key[0] == '#') continue; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2125808 Title: /usr/sbin/update-info-dir from ubuntu package "install-info" sources /etc/environment, which is not a shell script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/texinfo/+bug/2125808/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
