[Openswan dev] Re: Building Openswan RPM's, shutdown hangs

Dag Wieers dag at wieers.com
Mon Apr 26 23:27:14 CEST 2004


On Mon, 26 Apr 2004, Kenneth Porter wrote:

> I built Dag's RPM on Fedora Core 1 using the 2188 kernel source. I build as 
> a mortal instead of using UML, so I first had to chown the kernel sources 
> to buildmeister, the mortal I use. I then ran this command:
> 
> rpmbuild -ba --target=i686-redhat-linux 
> kernel-module-openswan-2.1.1-dag.spec
> 
> For some reason RPM wants to build the i386 version if --target is not 
> specified, and the spec file fails when it attempt to build the SMP 
> version, as Fedora isn't providing a SMP kernel config for i386, just the 
> later architectures. A check for the existence of the config file should 
> probably be present in the %build section.

Yes, I know this. If you have an i386, I don't think you want to run 
openswan anyway ;)

 
> I installed the resulting RPM's but I'm finding that the system won't shut 
> down if a client is trying to connect. The system hangs unloading the 
> iptables ip_conntrack_ftp module, with modprobe using almost 100% of the 
> CPU. Also, when I issue "service network stop" and then "ifconfig", I see 
> an interface named "-00" left behind, presumably because the ipsec0 
> interface can't be completely unloaded while a client is trying to 
> negotiate. This hang happens in both the uniprocessor and SMP builds.

Hmm, did you try my own packages ? I'm using them all the time and never 
had the mentioned problem. Maybe there's something wrong with the 
build-environment, did you compare your buildlogs against mine ?

Are you using a clean kernel-source installation ?

--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]


More information about the Dev mailing list