Public bug reported:
I've upgraded a server running Ubuntu 12.04 LTS to 14.04 LTS and now I'm
getting these emails from cron:
From: Cron Daemon <[email protected]>
To: [email protected]
Subject: Cron <root@fridge> test -x /usr/sbin/anacron || ( cd / &&
run-parts --report /etc/cron.daily )
Date: Thu, 28 Apr 2016 08:06:26 +0300 (EEST)
/etc/cron.daily/amavisd-new:
Please run this cronjob as user amavis
run-parts: /etc/cron.daily/amavisd-new exited with return code 1
I see that the amavisd-new package has two cron scripts:
$ dpkg -S amavisd-new|grep /etc/cron
amavisd-new: /etc/cron.daily/amavisd-new
amavisd-new: /etc/cron.d/amavisd-new
The one in /etc/cron.d/amavisd-new already runs the commands as user
'amavis', so it looks like the upgrade left a stale cron script lying
around.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: amavisd-new 1:2.7.1-2ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-85.129-generic 3.13.11-ckt36
Uname: Linux 3.13.0-85-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Thu Apr 28 08:56:28 2016
PackageArchitecture: all
ProcEnviron:
LC_CTYPE=lt_LT.UTF-8
TERM=xterm-256color
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: amavisd-new
UpgradeStatus: Upgraded to trusty on 2016-04-27 (0 days ago)
mtime.conffile..etc.amavis.conf.d.15.content.filter.mode: 2015-05-04T09:16:03
** Affects: amavisd-new (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/1576041
Title:
Spams "Please run this cronjob as user amavis" from cron after
upgrading 12.04 -> 14.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1576041/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs