#52 Can't check error if tmp file is removed

open
nobody
None
5
2013-03-18
2013-03-18
Jari Aalto
No

C.f Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703341

The following message is displayed:

/tmp/.firehol-tmp-13381-27844-14191/firehol-tmp.sh: line 51: unexpected EOF while looking for matching `"'
/tmp/.firehol-tmp-13381-27844-14191/firehol-tmp.sh: line 54: syntax error: unexpected end of file

Unfortunately the file does not exist, because the /sbin/firehol removes
it. The fireall is started but left in inconsistent state where some
rules have been applied and some haven't

SUGGESTION

Please add an option to firehol to *not* *remove* temporay file. This will
make it possibly to examine the cause of the error from the temporary file as
the error contains line number information.

Currently the file is removed and there is no direct possibility to map
errors to user's configuration settings.

Discussion