[CentOS] creating script for init.d

Wed Dec 20 21:43:20 UTC 2006
Linux Man <linuxman.uru at gmail.com>

If I hit ENTER anything hapens (even with a lots of enter's)
In /var/log/messages seems to compleate the scrips, I'm realy comfiusing
(and :( of course)
Can be SElinux? can I disable it to try?
At terminal all work smooth, I don't understand why hangs at boot time
Thanks a lot guys for you help!!

2006/12/20, Michael Velez <mikev777 at hotmail.com>:
>
>
>
>
> > -----Original Message-----
> > From: centos-bounces at centos.org
> > [mailto:centos-bounces at centos.org] On Behalf Of Linux Man
> > Sent: Tuesday, December 19, 2006 11:40 PM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] creating script for init.d
> >
> > Sorry, i sent the spript to as particular adress but not for
> > the adress that I wanted (all centos mailing list), again, sorry
> >
> > If I execute it in a terminal as root, works, without
> > problem, but if i put it to load a boot time (with chkconfig)
> > there isn't a visual error, just hang.
> >
> > Using "echo" I isolate, ther problematic part, this is:
> >
> > > #Flush everything, start from scratch
> > > $IPTABLES -F
> > > $IPTABLES -F -t mangle
> > > $IPTABLES -F -t nat
> > > $IPTABLES -X
> > > $IPTABLES -X -t mangle
> > > $IPTABLES -X -t nat
> > >
> > > #Set default policies to DROP
> > > $IPTABLES -P INPUT DROP
> > > $IPTABLES -P OUTPUT DROP
> > > $IPTABLES -P FORWARD DROP
> >
> > Why hangs? any idea?
> > Thanks a lot
> >
>
>
> Is there any message that appears in /var/log/messages?
>
> What happens if you just press the <ENTER> key when it hangs?
>
> Michael
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20061220/51abad95/attachment-0005.html>