amavisd-new-cronjob fails

Bug #1232222 reported by Storefront
6
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.daily/amavisd-new:
-su: 6: /etc/profile.d/ps1.sh: shopt: not found
-su: 35: [: -ne: unexpected operator

Revision history for this message
Storefront (storefront-mha) wrote :

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

Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Thanks for reporting this
Please can you specify Ubuntu version and package version that you are having problems with?

Best
Yolanda

Changed in amavisd-new (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for amavisd-new (Ubuntu) because there has been no activity for 60 days.]

Changed in amavisd-new (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.