Package: racoon
Version: 1:0.6.6-3
Severity: wishlist

I wish racoon ran on sparc...
Symptom:

# racoon -d -v -F
Foreground mode.
2006-12-07 12:02:35: INFO: @(#)ipsec-tools 0.6.6 
(http://ipsec-tools.sourceforge.net)
2006-12-07 12:02:35: INFO: @(#)This product linked OpenSSL 0.9.8c 05 Sep 2006 
(http://www.openssl.org/)
2006-12-07 12:02:35: DEBUG: call pfkey_send_register for AH
2006-12-07 12:02:35: DEBUG: call pfkey_send_register for ESP
2006-12-07 12:02:36: DEBUG: call pfkey_send_register for IPCOMP
2006-12-07 12:02:36: DEBUG: reading config file /etc/racoon/racoon.conf
2006-12-07 12:02:36: DEBUG: compression algorithm can not be checked because 
sadb message doesn't support it.
2006-12-07 12:02:36: DEBUG: open /var/run/racoon/racoon.sock as racoon 
management.
Bus error

strace output:
....
write(1, "2006-12-07 12:03:15: DEBUG: open"..., 832006-12-07 12:03:15: DEBUG: 
open /var/run/racoon/racoon.sock as racoon management.
) = 83
time([1165510995])                      = 1165510995
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
rt_sigreturn(0x3)                       = 111
socket(PF_NETLINK, SOCK_RAW, 0)         = 5
rt_sigpending(ptrace: umoven: Input/output error
[?])                      = 0
getsockname(5, {sa_family=AF_NETLINK, pid=25773, groups=00000011}, [12]) = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 6
sendto(6, "\0\0\0\24\0\26\3\1\0\0\0\1\0\0\0\0\0<\7\220", 20, 0, 
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(6, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, 
msg_iov(1)=[{"\0\0\0<\0\24\0\2\0\0\0\1\377\377\357\326\2\10\200\376\0"..., 
8192}], msg_controllen=0, msg_flags=0}, 0) = 128
--- SIGBUS (Bus error) @ 0 (0) ---
+++ killed by SIGBUS +++

gdb reports:
Program received signal SIGBUS, Bus error.
grab_myaddrs () at grabmyaddr.c:152
152                     while (NLMSG_OK(h, status)) {


Work-around:
Rebuild without compiler optimization,

$ apt-get source ipsec-tools
$ cd ipsec-tools-0.6.6
$ fakeroot debian/rules DEB_BUILD_OPTIONS=noopt binary
# dpkg -i../racoon*sparc.deb

At which point racoon runs just fine. So I got my wish.

Perhaps this bug is in compiler optimization rather than in racoon,
but perhaps the package needs to handle optimization differently
for sparc to avoid the problem.

Thanks,
-Maitland

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-sparc64-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)

Versions of packages racoon depends on:
ii  debconf  1.5.8                           Debian configuration management sy
ii  ipsec-to 1:0.6.6-3                       IPsec tools for Linux
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2006.11.14+dfsg-1 common error description library
ii  libkrb53 1.4.4-4                         MIT Kerberos runtime libraries
ii  libpam0g 0.79-4                          Pluggable Authentication Modules l
ii  libssl0. 0.9.8c-4                        SSL shared libraries
ii  perl     5.8.8-6.1                       Larry Wall's Practical Extraction

racoon recommends no packages.

-- debconf information:
* racoon/config_mode: direct


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to