[BlueOnyx:10946] Re: yum update mail producing .bin attachment
Maurice de Laat
mdlaat at muisnetwerken.nl
Tue Jul 10 01:53:37 -05 2012
On Sun, Jun 17, 2012 at 04:48:52PM +0100, Jason Ozin wrote:
> Well I fixed it by piping the file yum.update through sed to remove the \r
> characters from the file before sending the mail.
>
> So Line 16 of /usr/sausalito/handlers/base/swupdate/yum-update.sh
> Now reads:
>
> /bin/cat /tmp/yum.update | /bin/sed 's/\r//' | /bin/mail -s "`/bin/hostname`
> Yum Update output for `/bin/date +\%m`-`/bin/date +\%d`-`/bin/date +\%y`"
> $EMAILRECIPIENT
I can confirm this fix working. I would suggest a permanent fix in BQ.
--
Maurice de Laat
More information about the Blueonyx
mailing list