[Bug 1310307] Re: spamassassin postinst uses a login shell

2018-11-10 Thread Stefan Tauner
In my case the culprit is/was '/etc/profile.d/mate-qt.sh' from package 'ubuntu-mate-default-settings'. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1310307 Title: spamassassin postinst uses a login

[Bug 1310307] Re: spamassassin postinst uses a login shell

2018-11-10 Thread Stefan Tauner
And I just noticed that this bug is about 5 years old... this is with Ubuntu 18.04 and ubuntu-mate-default-settings version 18.04.17. The actual output is: Installing new version of config file /etc/init.d/spamassassin ... -su: 2: [: x: unexpected operator -su: 2: [: x: unexpected oper

[Bug 1310307] Re: spamassassin postinst uses a login shell

2014-04-22 Thread Robie Basak
** Changed in: spamassassin (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1310307 Title: spamassassin postinst uses a login shell To manage notifications a

[Bug 1310307] Re: spamassassin postinst uses a login shell

2014-04-20 Thread Nick Moffitt
Getting rid of the '-' in the above 'su -' fixes this neatly for me. It was caused partly by the /etc/login containing some bashisms, because I never expected dash to be used as an interactive shell on that system -- You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 1310307] Re: spamassassin postinst uses a login shell

2014-04-20 Thread Nick Moffitt
It would appear most likely that this is caused by the line that runs: su - $OWNER -c "sa-update --gpghomedir /var/lib/spamassassin/sa- update-keys --import /usr/share/spamassassin/GPG.KEY" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to