Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377553 - app-office/akonadi-server-1.6.0 /usr/bin/akonadi_agent_launcher segfaults with grsecurity
Summary: app-office/akonadi-server-1.6.0 /usr/bin/akonadi_agent_launcher segfaults wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 12:45 UTC by Agostino Sarubbo
Modified: 2011-10-19 21:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
grsec.log (grsec.log,3.03 KB, text/plain)
2011-08-03 12:45 UTC, Agostino Sarubbo
Details
pax.log (pax.log,1.19 KB, text/plain)
2011-08-03 12:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-08-03 12:45:48 UTC
Created attachment 281947 [details]
grsec.log

/usr/bin/akonadi_agent_launcher segfaults with grsecurity

See attached log.

Qt: 4.7.3
KDE Development Platform: 4.7.00 (4.7.0)


Portage 2.1.10.3 (hardened/linux/x86, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-hardened-r8  i686)                                                                                              
=================================================================                                                                                                                   
System uname: Linux-2.6.39-hardened-r8-i686-Intel-R-_Celeron-R-_M_CPU_430_@_1.73GHz-with-gentoo-2.0.3                                                                                    
Timestamp of tree: Mon, 01 Aug 2011 19:00:01 +0000                                                                                                                                  
app-shells/bash:          4.1_p9                                                                                                                                                    
dev-lang/python:          2.7.1-r1                                                                                                                                                  
dev-util/cmake:           2.8.4-r1                                                                                                                                                  
dev-util/pkgconfig:       0.26                                                                                                                                                      
sys-apps/baselayout:      2.0.3                                                                                                                                                     
sys-apps/openrc:          0.8.3-r1                                                                                                                                                  
sys-apps/sandbox:         2.4                                                                                                                                                       
sys-devel/autoconf:       2.13, 2.68                                                                                                                                                
sys-devel/automake:       1.9.6-r3, 1.11.1                                                                                                                                          
sys-devel/binutils:       2.20.1-r1                                                                                                                                                 
sys-devel/gcc:            4.4.5                                                                                                                                                     
sys-devel/gcc-config:     1.4.1-r1                                                                                                                                                  
sys-devel/libtool:        2.2.10                                                                                                                                                    
sys-devel/make:           3.82                                                                                                                                                      
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)                                                                                                                             
sys-libs/glibc:           2.12.2                                                                                                                                                    
Repositories: gentoo x-portage                                                                                                                                                      
ACCEPT_KEYWORDS="x86"                                                                                                                                                               
ACCEPT_LICENSE="*"                                                                                                                                                                  
CBUILD="i686-pc-linux-gnu"                                                                                                                                                          
CFLAGS="-O2 -march=prescott -g0 -w"                                                                                                                                                 
CHOST="i686-pc-linux-gnu"                                                                                                                                                           
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"                                                                                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                    
CXXFLAGS="-O2 -march=prescott -g0 -w"
DISTDIR="/media/sources"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en en_GB"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apic bash-completion berkdb bzip2 cairo cli consolekit cracklib crypt custom-cflags custom-optimization cxx dbus dri dvd extras ffmpeg gdbm gpm gtk hardened iconv jpeg jpeg2k kde lame lm_sensors mad mmx modules mp3 mudflap ncurses networkmanager nls nptl nptlonly nsplugin opengl openmp pam pcre perl pic png policykit pppd python qt3support qt4 readline semantic-desktop session sse sse2 ssl svg symlink sysfs tcpd threads tiff udev urandom x264 x86 xorg zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LINGUAS="en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Agostino Sarubbo gentoo-dev 2011-08-03 12:48:47 UTC
Created attachment 281949 [details]
pax.log

Attached also pax.log because at same time there is an issue.
Comment 2 Anthony Basile gentoo-dev 2011-08-04 02:14:53 UTC
(In reply to comment #1)
> Created attachment 281949 [details]
> pax.log
> 
> Attached also pax.log because at same time there is an issue.

Ago, did you try to resetting any pax flags on /usr/bin/akonadi_agent_launcher to see if helps?
Comment 3 Agostino Sarubbo gentoo-dev 2011-08-11 15:56:03 UTC
(In reply to comment #2)
> Ago, did you try to resetting any pax flags on /usr/bin/akonadi_agent_launcher
> to see if helps?

Atm I've dropped -M, and i don't see anything in pax/grsec.log
Comment 4 Agostino Sarubbo gentoo-dev 2011-08-15 12:31:25 UTC
I've reproduced it also with -M, Now I'm resetting all pax flags
Comment 5 Agostino Sarubbo gentoo-dev 2011-08-15 18:21:37 UTC
Finally, with all flags dropped:

devil ago # paxctl -v /usr/bin/akonadi_agent_launcher 
PaX control v0.5
Copyright 2004,2005,2006,2007 PaX Team <pageexec@freemail.hu>

- PaX flags: -p-s-m-x-e-r [/usr/bin/akonadi_agent_launcher]
        PAGEEXEC is disabled
        SEGMEXEC is disabled
        MPROTECT is disabled
        RANDEXEC is disabled
        EMUTRAMP is disabled
        RANDMMAP is disabled

I see always segfault in grsec.log, but nothing in pax.log.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-10-17 20:00:14 UTC
Is this still happening with 1.6.2?
Comment 7 Agostino Sarubbo gentoo-dev 2011-10-17 20:04:13 UTC
atm I didn't see any warning(s)/error(s)
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-10-19 21:48:27 UTC
(In reply to comment #7)
> atm I didn't see any warning(s)/error(s)

OK cool. 1.6.0 is gone, so this should be fixed.