From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.4.3) Gecko/20040803 Description of problem: racoonctl can administrate a running racoon daemon. racoonctl from ipsec-tools-0.2.5-0.5 RPM in RHEL3 does not work. [root]# racoonctl reload-config 08000000 18f00408 racoonctl: connect: No such file or directory racoonctl needs the /tmp/.racoon socket to connect the racoon daemon. There was no "--enable-adminport" use in the ipsec-tools-0.2.5-0.5.src.rpm spec file for build the daemon and tool. For racoonctl function the racoon daemon must compile with: %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --exec-prefix=/ \ --libdir=/%{_lib} \ --sysconfdir=/etc \ --mandir=%{_mandir} \ --with-kernel-headers=`pwd`/kernel-headers \ --enable-adminport Version-Release number of selected component (if applicable): ipsec-tools-0.2.5-0.5 How reproducible: Always Steps to Reproduce: 1. start the racoon daemon 2. use racoonctl (racoonctl reload-config) 3. Actual Results: racoonctl does not work Expected Results: racoonctl should work Additional info:
Confirmed at RHEL3 U2.
Looking at ipsec-tools-0.2.5/src/racoon/admin.c, I see the following: if (com.ac_cmd == ADMIN_RELOAD_CONF) { /* reload does not work at all! */ signal_handler(SIGHUP); goto end; } I notice also that the switch statement in signal_handler() doesn't have a case for SIGHUP, so I suspect this will just get a little further than before and still not work.
I see. Then it would be better upgrading ipsec-tools to version 0.3 which also have support for the NAT traversal, see #136775. NAT traversal is a relevant feature we need today. ipsec-tools-0.3.3-x is already in RHEL4_BETA2.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2004-513.html