Thank you again, Simon, for your concise explanations.
We do have a policy on shell usage and the snippets were tested against
those shells, but not against /bin/sh. My fault, I'm afraid, since I
hadn't considered system users. We'll be adding that to our policy.
I've sent the info to the two
On Sat, 23 Dec 2017 at 22:04:44 -0600, LinuxChix SysAdmin wrote:
> Changing the shell to /bin/bash for tuptime for example, eliminates the
> error with using 'su -'.
When writing profile.d snippets, you can't assume that every user has
bash as their login shell. profile.d snippets need to be writt
Simon,
Thank you for your comments.
> Arguably the bug here is that there was a file in /etc/profile.d that
> assumed bash syntax, rather than guarding bashisms with a check for
> $BASH_VERSION or similar. I would recommend changing those profile
> snippets so the problematic parts only run on s
On Sat, 23 Dec 2017 at 19:42:05 +, Sean Whitton wrote:
> control: retitle -1 Discourage 'su -' in maintscripts, in favour of plain 'su'
Plain 'su' is also problematic, because it inherits the entire
environment, including variables like HOME, XDG_RUNTIME_DIR, XDG_*_HOME,
DBUS_SESSION_BUS_ADDRE
control: retitle -1 Discourage 'su -' in maintscripts, in favour of plain 'su'
control: user debian-pol...@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 insta
Control: reassign -1 debian-policy
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-b
Package: debconf-doc
Version: 1.5.61
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?b
7 matches
Mail list logo