First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96535
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars T. Mikkelsen <ltm@mulm.dk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mrtg.rc.patch mrtg.rc.patch patch Lars T. Mikkelsen 2005-06-19 09:51 0000 296 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96535 depends on: Show dependency tree
Bug 96535 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-19 09:50 0000
The init script of mrtg sets LANG=C if LANG=*utf8 in order to make mrtg start.
The script does, however, miss the case where LANG=*UTF-8 (with a dash):

# set | grep LANG
LANG=en_DK.UTF-8
# /etc/init.d/mrtg start
-----------------------------------------------------------------------
ERROR: Mrtg will most likely not work properly when the environment
       variable LANG is set to UTF-8. Please run mrtg in an environment
       where this is not the case. Try the following command to start:

       env LANG=C /usr/bin/mrtg --check /etc/mrtg.conf 
-----------------------------------------------------------------------
 * Starting mrtg ...                                                      [ ok
]

------- Comment #1 From Lars T. Mikkelsen 2005-06-19 09:51:12 0000 -------
Created an attachment (id=61504) [edit]
mrtg.rc.patch

Patch to fix UTF-8 locales

------- Comment #2 From Marcelo Goes 2005-06-19 11:26:10 0000 -------
Tested and confirmed it.
Thanks for reporting, your fix is in CVS.

First Last Prev Next    No search results available      Search page      Enter new bug