amavisd-new-cronjob fails
Bug #1232222 reported by
Storefront
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Cron email subject:
Cron <email address hidden> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
Cron email body:
/etc/cron.
-su: 6: /etc/profile.
-su: 35: [: -ne: unexpected operator
To post a comment you must log in.
Changing /bin/sh to /bin/bash will fix the issue. This is bacause Ubuntu uses dash as /bin/sh. Hope you can update this package; otherwise people have to fix this manually in 12.04.
22c22
< exec /bin/su -s /bin/sh - "${SUUSER}" -c "$*" >/dev/null
---
> exec /bin/su -s /bin/bash - "${SUUSER}" -c "$*" >/dev/null