Public bug reported: When upgrading my precise mail server to trusty, spamassasin errored out the upgrade by running a login shell somewhere. I could tell it happened because it ran /usr/games/fortune and tried to use some bash login files sourced from the official ones:
Setting up spamassassin (3.4.0-1ubuntu1) ... I note with interest that my beloved is now partway lodged in a hedgerow. Just makin' all my dreams come true. -- Ryan, SGR 2009-06-18 -su: 1: /etc/local.login: whoson: not found Current users: (0 people logged in) -su: 28: /etc/bash_completion: [[: not found -su: 34: /etc/bash_completion: [[: not found -su: 51: /etc/bash_completion: Bad substitution dpkg: error processing spamassassin (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: spamassassin ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: spamassassin 3.4.0-1ubuntu1 Uname: Linux 3.14.0-031400rc6-generic x86_64 ApportVersion: 2.14.1-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Sun Apr 20 17:07:57 2014 EcryptfsInUse: Yes PackageArchitecture: all SourcePackage: spamassassin UpgradeStatus: Upgraded to trusty on 2014-02-25 (53 days ago) ** Affects: spamassassin (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- 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 about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1310307/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs