Bug 60770

Summary: cron.daily script should set LANG=C
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: innAssignee: Florian La Roche <laroche>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-06 09:39:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2002-03-06 09:39:20 UTC
Description of Problem:

When running /etc/cron.daily/inn-cron-expire with an other locale than C, mails
containing 8bit headers can be produced. This wiil be a violation of RFC 822.

E.g. in the de_DE locale this month will be expressed as 'Mdr' (bugzilla will
eat the middle char [228 dec in latin1] probably...) and subjects like:

| Subject: <host> Daily Usenet report for Die Mdr 5 04:02:01 CET 2002
                                               ^
                                          8bit german umlaut

will be produced. When using strict MTA settings such mails will be bounced.

I am seeing two solutions:
- fix innreport to produce correct encoded headers
- add 'LANG=C' to /etc/cron.daily/inn-cron-expire; perhaps it can be reduced to
'LC_TIME=C' also, but I am not sure if there are other effects


Version-Release number of selected component (if applicable):

inn-2.3.2-9

Comment 1 Florian La Roche 2002-04-08 13:23:15 UTC
should be fixed in 2.3.2-11 from rawhide.

Thanks,

Florian La Roche