Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92343 - iptables init script should not "need logger"
Summary: iptables init script should not "need logger"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 92406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-12 02:51 UTC by Jakub Drwal
Modified: 2005-06-26 02:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Drwal 2005-05-12 02:51:31 UTC
When your /etc/syslog-ng/syslog-ng.conf is broken, /etc/init.d/syslog-ng restart causes firewall to stop, then says that cannot start syslog, and finally, do not start firewall again.

Reproducible: Always
Steps to Reproduce:
1. broke your /etc/syslog-ng/syslog-ng.conf
2. # /etc/init.d/syslog-ng restart


Actual Results:  
# /etc/init.d/syslog-ng restart
 * Stopping 
firewall ...                                                                   
                                                                           [ 
ok ]
 * Stopping syslog-
ng ...                                                                         
                                                                    [ ok ]
syntax error at 1
Parse error reading configuration file, exiting. (line 1)
 * Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-
ng.conf)                                                                       
             [ !! ]

(now, i've fixed syslog-ng.conf and)
# /etc/init.d/syslog-ng 
restart                                                                        
                                                [ ok ]
 * Starting syslog-
ng ...                                                                         
                                                                    [ ok ]

Where is my firewall?


Expected Results:  
If syslog-ng init script is smart enough to clear firewall before restarting 
syslogd (wtf? what is the reason of this?) it should be also able to set rules 
again, no matter if restarting syslog itself was successful, or not.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-05-12 07:03:39 UTC
fix your firewall script.  It shouldn't "need logger".  Not a problem with syslog-ng.
Comment 2 Jakub Drwal 2005-05-12 10:41:39 UTC
I use default /etc/init.d/iptables from distro, so You should consider it as a buggy one and fix it (I've done it for myself earlier, thanks for your suggestions.)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-05-12 10:45:01 UTC
No.  It's not a bug in syslog-ng.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-05-12 23:48:34 UTC
Going to reopen and assign properly...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 01:06:22 UTC
Oops, it
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-13 01:06:22 UTC
Oops, it´s already fixed in Bug 92406. Sorry for bugspam.
Comment 7 SpanKY gentoo-dev 2005-06-26 02:05:18 UTC
*** Bug 92406 has been marked as a duplicate of this bug. ***