Bernard, I re-checked the syntax... it's Ok. The problem is not the patch. I sent an e-mail to our contact in Mandriva relating the problem and asking for help. Considering pfilter is a 'noarch' package, it would not be good to have a special package compiled for Mandriva, but right now I'm not disregarding this possibility. The only difference would be a 'sleep' time before the command that calls 'ifconfig'.
I've tested it in different hardwares and the results are the same. Cheers, Fernando Bernard Li a écrit : > Hi Fernando: > > Here are the details of the patch: > > http://svn.oscar.openclustergroup.org/trac/oscar/ticket/12 > > Can you check the new syntax of sort on Mandriva and see if it works? > > However, I don't see how this syntax change should cause such a huge > problem... > > Cheers, > > Bernard > > >>-----Original Message----- >>From: Fernando Laudares Camargos >>[mailto:[EMAIL PROTECTED] >>Sent: Friday, July 07, 2006 11:37 >>To: Bernard Li >>Cc: [email protected] >>Subject: Re: [Oscar-devel] Updated RPMs for TORQUE, SGE, pfilter >> >>John, Bernard, >> >>I know it will sound strange, since I should have looked at >>this in the first time, but I tried to rebuild the package >>without the new Patch default.rulesset and it worked - so the >>problem is still with the output of ifconfig, but it depends >>when it will be executing. >> >>I can't look further at it right now, I just wanted to let you know. >>I will send you more news once I study the case. >> >>Cheers, >>Fernando >> >>Bernard Li a écrit : >> >>>Hi Fernando: >>> >>>Yes on Red Hat it's also 10: >>> >>># chkconfig: 2345 10 90 >>> >>>I'm cc:ing Neil Gorsuch to see if he has any opinions >> >>regarding this. >> >>>I'm assuming pfilter is at 11 because it wants to be >> >>started immediately after network is brought up since after >>all, it is a firewall... >> >>>Thanks, >>> >>>Bernard >>> >>> >>> >>>>-----Original Message----- >>>>From: Fernando Laudares Camargos >>>>[mailto:[EMAIL PROTECTED] >>>>Sent: Thursday, July 06, 2006 13:34 >>>>To: Fernando Laudares Camargos >>>>Cc: Bernard Li; [email protected] >>>>Subject: Re: [Oscar-devel] Updated RPMs for TORQUE, SGE, pfilter >>>> >>>>Actually, >>>> >>>>what I was trying to say is this: looking at pfilter in >>>>/etc/init.d/pfilter I see the following line for chkconfig: >>>># chkconfig: - 11 92 >>>>while /etc/init.d/network has the following line >>>># chkconfig: 2345 10 90 >>>> >>>>As you can see, network start as the 10th service and pfilter >>>>as the 11th. If I pass pfilter, for example, to 15th or >>>>above, it works (what causes the delay in the stablishment of >>>>the network is dhclient, that needs some time to get the >>>>reply from the dhcp server). >>>> >>>>What do you guys think about that? Does 'network' has also >>>>'10' the second chkconfig parameter in Fedora/RedHat? >>>> >>>>Thanks again, >>>>Fernando >>>> >>>>Fernando Laudares Camargos a écrit : >>>> >>>> >>>>>Hi, >>>>> >>>>>I haven't had this problem before 2006. This could simply >>>> >>>>be solved by forcing the service to start before network >>>>(like putting it in the end of the queue). >>>> >>>> >>>>>I dont't believe there's a hardware issue that could be >>>> >>>>causing this. >>>> >>>> >>>>>I will contact the Mandriva developers. >>>>>Thanks, >>>>>Fernando >>>>> >>>>>Bernard Li a écrit : >>>>> >>>>> >>>>> >>>>>>Hi Fernando: >>>>>> >>>>>>I do not routinely test pfilter, but usually it works as >>>> >>>>long as I update my kernel (on the headnode) to the latest version. >>>> >>>> >>>>>>Anyways, this is a new issue with Mandriva 2006? Did you >>>> >>>>encounter this with 10.0/10.1? >>>> >>>> >>>>>>Perhaps others who test with pfilter can pitch in, but I do >>>> >>>>not believe this is an issue on the other distroes. >>>> >>>> >>>>>>Is this something you can bring attention to the Mandriva >>>> >>>>developers? Also, I wonder if there are any hardware issues >>>>which is causing the delay to bring up the network interface? >>>>Have you tried on different hardware and they all have the >>>>same issue? >>>> >>>> >>>>>>Cheers, >>>>>> >>>>>>Bernard >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>-----Original Message----- >>>>>>>From: Fernando Laudares Camargos >>>>>>>[mailto:[EMAIL PROTECTED] >>>>>>>Sent: Wednesday, July 05, 2006 8:06 >>>>>>>To: Bernard Li >>>>>>>Cc: [email protected] >>>>>>>Subject: Re: [Oscar-devel] Updated RPMs for TORQUE, SGE, pfilter >>>>>>> >>>>>>>Hello, >>>>>>> >>>>>>>I finally realised what was the problem with Pfilter and >>>>>>>Mandriva 2006. >>>>>>>The service 'pfilter' starts right after the service 'network >>>>>>>in this distribution', but the network is not 'entirely' up >>>>>>>at this point. So when the function 'find_interfaces', which >>>>>>>uses the output from /sbin/ifconfig, is called it cannot >>>>>>>recover any network information and throws the following warning: >>>>>>>----------------------------------- >>>>>>>/usr/sbin/pfilter: cannot find any interface names with >>>>>>>/sbin/ifconfig command >>>>>>>---------------------------------- >>>>>>> >>>>>>>That explains why re-starting pfilter once the node is up >>>>>>>solve the problem - then the network is already stablished. >>>>>>> >>>>>>>I didn't find an elegant way to fix this problem. What I >>>>>>>tried with success was use a 'sleep' time of 1-2 seconds in >>>>>>>the pfilter code source before the 'find_interfaces' command >>>>>>>is called, which give enough time for the network to be up. >>>>>>> >>>>>>>Do you know if the order of initialization of network and >>>>>>>pfilter is the same in other distros? >>>>>>> >>>>>>>Can you suggest any other way to deal with this problem? >>>>>>> >>>>>>>Thanks, >>>>>>>Fernando >>>>>>> >>>>>>> >>>>>>>Bernard Li a écrit : >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>I have rebuilt RPMs for TORQUE and SGE in trunk, so you >>>>>>> >>>>>>>will need to >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>rebuild them on your OS/arch (unless you're on fc5-x86 >>>>>>> >>>>>>>;-)). Please let >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>me know if you encounter any issues. >>>>>>>> >>>>>>>>pfilter has also been updated, but since it is noarch, I am not >>>>>>>>expecting any issues. >>>>>>>> >>>>>>>>And the other package I'm working on is almost done too, so >>>>>>> >>>>>>>stay tuned >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>for that. >>>>>>>> >>>>>>>>Cheers, >>>>>>>> >>>>>>>>Bernard >>>>>>> >>>>>>>-- >>>>>>>Fernando Laudares Camargos >>>>>>> >>>>>>> Révolution Linux >>>>>>>http://www.revolutionlinux.com >>>>>>>--------------------------------------- >>>>>>>* Tout opinion et prise de position exprimée dans ce message >>>>>>>est celle de son auteur et pas nécessairement celle de >>>>>>>Révolution Linux. >>>>>>>** Any views and opinion presented in this e-mail are solely >>>>>>>those of the author and do not necessarily represent those of >>>>>>>Révolution Linux. >>>>>>> >>>>> >>>>> >>>>-- >>>>Fernando Laudares Camargos >>>> >>>> Révolution Linux >>>>http://www.revolutionlinux.com >>>>--------------------------------------- >>>>* Tout opinion et prise de position exprimée dans ce message >>>>est celle de son auteur et pas nécessairement celle de >>>>Révolution Linux. >>>>** Any views and opinion presented in this e-mail are solely >>>>those of the author and do not necessarily represent those of >>>>Révolution Linux. >>>> >> >>-- >>Fernando Laudares Camargos >> >> Révolution Linux >>http://www.revolutionlinux.com >>--------------------------------------- >>* Tout opinion et prise de position exprimée dans ce message >>est celle de son auteur et pas nécessairement celle de >>Révolution Linux. >>** Any views and opinion presented in this e-mail are solely >>those of the author and do not necessarily represent those of >>Révolution Linux. >> -- Fernando Laudares Camargos Révolution Linux http://www.revolutionlinux.com --------------------------------------- * Tout opinion et prise de position exprimée dans ce message est celle de son auteur et pas nécessairement celle de Révolution Linux. ** Any views and opinion presented in this e-mail are solely those of the author and do not necessarily represent those of Révolution Linux. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
