FS#42958 - [paxd] incompatibility to mendeleydesktop

Attached to Project: Community Packages
Opened by Michael Schönitzer (Nudin) - Saturday, 29 November 2014, 21:40 GMT
Last edited by Daniel Micay (thestinger) - Wednesday, 03 December 2014, 15:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daniel Micay (thestinger)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
mendeleydesktop does not start when using grsec-Kernel. Exits after splash-screen without comment.

Additional info:
* aur/mendeleydesktop 1.12.3-1
* community/linux-grsec 3.17.4.201411260107-1
This task depends upon

Closed by  Daniel Micay (thestinger)
Wednesday, 03 December 2014, 15:14 GMT
Reason for closing:  Fixed
Comment by Daniel Micay (thestinger) - Sunday, 30 November 2014, 13:10 GMT
Is this with paxd installed (which sets kernel.pax.softmode=0)?
Comment by Michael Schönitzer (Nudin) - Sunday, 30 November 2014, 13:22 GMT
Yes. community/paxd 18-1 is installed. I also use 'nopcid' bootparameter, since without this the system don't boot (intel-CPU).
Comment by Daniel Micay (thestinger) - Sunday, 30 November 2014, 13:48 GMT
Does PaX print an error to the kernel log when you start it? It probably just needs an MPROTECT exception.
Comment by Michael Schönitzer (Nudin) - Monday, 01 December 2014, 14:41 GMT
Here's the kernel-log:
[ 1405.946930] grsec: denied RWX mmap of <anonymous mapping> by /opt/mendeleydesktop/lib/mendeleydesktop/libexec/mendeleydesktop.x86_64[mendeleydesktop:5496] uid/euid:1000/1000 gid/egid:100/100, parent /opt/mendeleydesktop/bin/mendeleydesktop[mendeleydesktop:5491] uid/euid:1000/1000 gid/egid:100/100
[ 1405.951632] PAX: execution attempt in: (null), 00000000-00000000 00000000
[ 1405.951637] PAX: terminating task: /opt/mendeleydesktop/lib/mendeleydesktop/libexec/mendeleydesktop.x86_64(Thread (pooled)):5505, uid/euid: 1000/1000, PC: (nil), SP: 0000036645e70178
[ 1405.951640] PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??
[ 1405.951660] PAX: bytes at SP-8: 0000000000000000 0000000000000000 0000000000000292 0000000000f8ddeb 0000000000000001 0000000000000002 0000000000000000 0000000000000005 0000036645e73db8 000003665c50d210 0000000000000001
Comment by Daniel Micay (thestinger) - Monday, 01 December 2014, 15:03 GMT
It looks like you need an `em /opt/mendeleydesktop/lib/mendeleydesktop/libexec/mendeleydesktop.x86_64` exception in /etc/paxd.conf.
Comment by Daniel Micay (thestinger) - Tuesday, 02 December 2014, 22:44 GMT
Let me know if that works and I'll add exceptions for this.
Comment by Michael Schönitzer (Nudin) - Tuesday, 02 December 2014, 22:59 GMT
Works! Thanks a lot for your effort.

Loading...