control: retitle -1 Discourage 'su -' in maintscripts, in favour of plain 'su' control: user debian-policy@packages.debian.org control: usertags normative proposal Hello, On Thu, Dec 21, 2017 at 09:17:50PM -0600, LinuxChix SysAdmin wrote: > The use of "su - " in postinst is breaking package installs/upgrades only > when there are file(s) in /etc/profile.d. > > Details are in the two bug reports: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884955 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875958 > > I do not know what other packages may use "su - " but would suggest that > this issue be documented in debconf-doc so maintainers/devs can avoid this. > If I should file this some place else, please let me know. The proposal to discourage the use of 'su -' seems uncontroversial, so now we need a patch to the Policy Manual. I suggest we use "should not" rather than "must not" as there may be cases unknown to us where 'su -' is needed. -- Sean Whitton
Attachment:
signature.asc
Description: PGP signature