Bug#884964: using "su - " in postinst causing some installs to fail

2017-12-21 Thread LinuxChix SysAdmin
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

Bug#884964: using "su - " in postinst causing some installs to fail

2017-12-23 Thread LinuxChix SysAdmin
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

Bug#884964: Bug#875958: sa-compile: The package fails to run sa-compile

2017-12-23 Thread LinuxChix SysAdmin
An update. We experienced the same problem with the package tuptime and I filed a bug report there[1]. I had some comments from the other bug reports which led me to do some more testing. Here's what I found. Three packages have had this issue - spamassassin, sa-compile and tuptime. The user

Bug#884964: using "su - " in postinst causing some installs to fail

2017-12-24 Thread LinuxChix SysAdmin
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

Bug#875958: sa-compile: The package fails to run sa-compile

2017-12-12 Thread LinuxChix SysAdmin
The problem seems to occur only if you have script(s) in /etc/profile.d. On the last upgrade to 9.3 Stretch, we experienced this issue. Also, see comment by Vagnerr at https://askubuntu.com/questions/422264/how-to-debug-dpkg-configure-error-in-subprocess-post-installation describing this probl