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
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
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
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
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
5 matches
Mail list logo