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
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
** 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
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
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