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
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
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
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,
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
Processing control commands:
> retitle -1 Discourage 'su -' in maintscripts, in favour of plain 'su'
Bug #884964 [debian-policy] using "su - " in postinst causing some installs to
fail
Changed Bug title to 'Discourage 'su -' in maintscripts, in favour of plain
'su'' from 'using "su - " in
Processing control commands:
> reassign -1 debian-policy
Bug #884964 [debconf-doc] using "su - " in postinst causing some installs to
fail
Bug reassigned from package 'debconf-doc' to 'debian-policy'.
No longer marked as found in versions debconf/1.5.61.
Ignoring request to alter fixed versions
7 matches
Mail list logo