[SOLVED] (possibly I don't want to appear too arrogant on my first post :) I updated my 12.04 to 14.04 with no problems and then recently I decided to increase my security with various tools like tripwire, ,tiger and lynis and one of the "recommendations" was to tighten up the security on gcc which I chmodded.
Another recommendation was to install libpam-tmpdir About two weeks later I then purged my system of half installed packages and config files which because a lot of kernel files were involved I decided to reboot my system. I then find out that amavis is not working suggesting running sa-update Sep 22 19:02:54 rayzd amavis[17019]: Deleting db files __db.003,__db.002,snmp.db,nanny.db,__db.001 in /var/lib/amavis/db Sep 22 19:02:54 rayzd amavis[17019]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.54, libdb 5.3 Sep 22 19:02:54 rayzd amavis[17019]: (!!)TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'? Sep 22 19:02:54 rayzd amavis[17019]: (!)_DIE: Suicide () TROUBLE in pre_loop_hook: config: no rules were found! Do you need to run 'sa-update'? (I am being verbose so that search engines pick up because there are many more than 4 users affected and there are multiple causes and initial suspects). After running sa-update with no errors many times and still not getting a working email system, I researched clamav all the users and groups were fine, the socket for amavis and clamav matched, so I disabled spam assassin in /etc/amavis/conf.d/15-content_filter_mode *even though spam assassin was running fine and restarting and the process was clearly visible*. The mailqueue flushed and it was obvious there was an issue with spam assassin. because the error message is obscure on a purge and then re-install like the above or /bin/sh: 1: cc: Permission denied make: *** [body_0.o] Error 126 command 'make >>/tmp/.spamassassin and doesn't explicitly point to gcc permissions then there are 100's of open forums and threads not just related to upgrades but to fresh installs. I believe that the upgrade process may have some legacy permission issues, certainly gcc needs to be checked for it's permissions and I noticed that sa-compile has a --sudo option, so the package scripts may be able to be altered (depending on a security risk assessment). With me, changing gcc's permissions back after having gone through the rest of the permission structure and then purging rebooting, removing libpam-tmp and changing login.def's umask back to 022 finally solved the problem. Once again I apologise for the SEO protracted explanation and example of possible errors this bug has caused but there are many versions affecting more than 4 people. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1313133 Title: sa-compile error on ubuntu 14.04 LTS upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1313133/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs