You are not logged in.

#1 2009-07-02 12:39:42

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

[solved] rc.firewall complaining about set locale after latest updates

see topic,
error generated during boot, refers to the line 812 of /etc/rc.firewall stating that script is unable to set locale (US)

Last edited by broch (2009-07-06 12:59:09)

Offline

#2 2009-07-02 19:31:15

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [solved] rc.firewall complaining about set locale after latest updates

Did you generate rc.firewall using an app or write it yourself?  What is in the script and what's on line 812?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2009-07-02 19:44:03

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [solved] rc.firewall complaining about set locale after latest updates

Thank you,
this script was generated three years ago and worked without error. Generated by Guarddog

obviously line 812 of rc.firewall refers to set locale:
LC_ALL=US

Offline

#4 2009-07-02 20:00:45

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: [solved] rc.firewall complaining about set locale after latest updates

Maybe I'm wrong, but try changing it to this:

LC_ALL=en_US

Simplicity is the ultimate sophistication
~Leonardo da Vinci

Offline

#5 2009-07-03 05:08:41

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [solved] rc.firewall complaining about set locale after latest updates

Brownigan09 wrote:

Maybe I'm wrong, but try changing it to this:

LC_ALL=en_US

thanks for suggestion, unfortunately it did not help

Offline

#6 2009-07-03 19:00:10

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [solved] rc.firewall complaining about set locale after latest updates

If you have not done so perhaps try using Guarddog to regenerate rc.firewall in case a newer version uses different settings.

I use Guarddog and the locale settings are:

UARDDOG_BACKUP_LC_ALL=$LC_ALL
LC_ALL=US
export LC_ALL

And my locale settings are:

LANG=en_GB.utf-8
LC_CTYPE="en_GB.utf-8"
LC_NUMERIC="en_GB.utf-8"
LC_TIME="en_GB.utf-8"
LC_COLLATE=C
LC_MONETARY="en_GB.utf-8"
LC_MESSAGES="en_GB.utf-8"
LC_PAPER="en_GB.utf-8"
LC_NAME="en_GB.utf-8"
LC_ADDRESS="en_GB.utf-8"
LC_TELEPHONE="en_GB.utf-8"
LC_MEASUREMENT="en_GB.utf-8"
LC_IDENTIFICATION="en_GB.utf-8"
LC_ALL=

I do not have any errors.  Sorry I can't be more helpful.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#7 2009-07-04 01:39:54

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [solved] rc.firewall complaining about set locale after latest updates

thanks,
script complaints that LC_ALL: cannot change locale (which in my case looks similar to yours except that
en_GB.utf-8 is replaced by en_US.utf8

probably I will have to re-create rc.firewall

Offline

#8 2009-07-05 20:07:03

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [solved] rc.firewall complaining about set locale after latest updates

This may not just be your firewall script.  Several others are reporting locale issues.

http://bbs.archlinux.org/viewtopic.php?id=75401

http://bbs.archlinux.org/viewtopic.php?id=75376


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#9 2009-07-06 03:54:39

gamegarro
Member
Registered: 2009-07-06
Posts: 2

Re: [solved] rc.firewall complaining about set locale after latest updates

Thank you for your discussion. The same problem happened to me. It is very helpful to me.

Offline

#10 2009-07-06 12:58:45

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: [solved] rc.firewall complaining about set locale after latest updates

this is a bug in guarddog found by  Roman (Romashka) and Jan (JGC).
I filed the bug report which is now closed, so I would like to thank them both here.

Thank you

Offline

#11 2009-08-24 08:17:54

ProfessorTomoe
Member
From: Garland, TX
Registered: 2008-02-12
Posts: 61

Re: [solved] rc.firewall complaining about set locale after latest updates

So, what is the solution to the "unable to set locale" problem?  Is guarddog no longer compatible with Arch Linux until someone fixes it upstream?  If so, what is the recommended replacement for someone who is hopelessly lost when it comes to trying to figure out iptables?

(Edit:  I am running Arch on a system behind a Verizon FiOS Actiontec router/firewall box.  Call me paranoid, but I still want the extra protection if I can get it without having to jump through hoops.)

Last edited by ProfessorTomoe (2009-08-24 08:22:28)

Offline

#12 2009-08-24 18:52:07

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [solved] rc.firewall complaining about set locale after latest updates

I started getting this error in the last couple of days.  I keep my system up-to-date so can't figure out what has caused it to just start.  The firewall rules appear to be loaded correctly however.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB