Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406085

Summary: net-misc/openswan-2.6.37 with USE +caps fails to find cacert (X.509)
Product: Gentoo Linux Reporter: Plüss Roland <roland>
Component: [OLD] ServerAssignee: Mike Gilbert <floppym>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Log of failed connection compiled with "caps" USE flag
Log of successful connection compiling without "caps" USE flag

Description Plüss Roland 2012-02-27 22:13:38 UTC
Compiling openswan with the USE flag "caps" (as some other packages require it suddenly) results in VPN road warrior connections using X.509 certificates to fail with the error "issuer cacert not found". Without "caps" USE flag connections work fine.

Reproducible: Always

Steps to Reproduce:
1. Emerge openswan package using "caps" USE flag
2. Connect using a roadwarrior client using an X.509 certificate
Actual Results:  
Connection fails with error "issuer cacert not found" (see attached error logs)

Expected Results:  
Connection established as it is with openswan compiled without "caps" USE flag.

Portage (hardened/linux/amd64, gcc-4.4.5, glibc-2.13-r4, 2.6.34-hardened-r6 x86_64)
System uname: Linux-2.6.34-hardened-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-gentoo-2.0.3
Timestamp of tree: Mon, 27 Feb 2012 02:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_LICENSE="* -@EULA dlj-1.1 Oracle-BCLA-JavaSE"
CFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="7zip acl acpi amd64 apache2 authdaemond bash-completion berkdb bzip2 caps cdr cgi cli cracklib crypt ctype cups cxx dlz dri dvd dvdr enscript exif expat fam fontconfig foomaticdb ftp gd gdbm geoip gif gpm hardened hpijs iconv icq imagemagick imap imlib jabber javascript jbig jpeg jpeg2k justify kerberos lcsm ldap libcaca lm_sensors logrotate mbox mime mmx mng modules mpeg msn mudflap multilib mxdatetime ncurses new-hpcups nls nptl nptlonly ogg openldap openmp oscar pam pax_kernel pcre pdf perl php png posix postgres ppds pppd python readline samba sasl scanner session slang sse sse2 ssl stream svg sysfs tcpd theora threads tiff truetype unicode urandom usb vhosts vorbis xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Plüss Roland 2012-02-27 22:15:34 UTC
Created attachment 303547 [details]
Log of failed connection compiled with "caps" USE flag
Comment 2 Plüss Roland 2012-02-27 22:18:51 UTC
Created attachment 303549 [details]
Log of successful connection compiling without "caps" USE flag
Comment 3 Pacho Ramos gentoo-dev 2015-04-26 12:57:59 UTC