VSYSCALL deprecated - s@h client recompile needed

Questions and Answers : Unix/Linux : VSYSCALL deprecated - s@h client recompile needed
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21237
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1886252 - Posted: 26 Aug 2017, 16:03:27 UTC
Last modified: 26 Aug 2017, 16:08:00 UTC

As noted in the thread Compute errors Linux "stock" app, newer Linux distros with more recent kernels now default to the very old VSYSCALL no longer being enabled.

Note that the present s@h client lists for example:

<core_client_version>7.6.31</core_client_version>
<![CDATA[
<message>
process exited with code 193 (0xc1, -63)
</message>
<stderr_txt>
setiathome_v8 8.00 Revision: 3335 g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
libboinc: BOINC 7.7.0


There should be no need to use vsyscall since glibc v2.15. The function is known to be open to a local malware attack and so is now disabled by default (since kernel 4.4).

As a temporary workaround, vsyscall can be reenable on the kernel command line with “vsyscall=emulate”.


Can the s@h client be recompiled please with a more recent libc?

Thanks,
Martin

See:

security things in Linux v4.4 - x86_64 vsyscall CONFIG

vsyscall is now disabled on latest Linux distros

And thanks to Steve for finding the cause.
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1886252 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1886290 - Posted: 26 Aug 2017, 20:42:20 UTC - in response to Message 1886252.  

I'm not sure who makes the SAH Linux applications, so I forwarded that to Eric.
ID: 1886290 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21237
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1886327 - Posted: 26 Aug 2017, 23:38:10 UTC - in response to Message 1886290.  

Thanks Jord,


Happy crunchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1886327 · Report as offensive
Profile Mr. Kevvy Crowdfunding Project Donor*Special Project $250 donor
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 3806
Credit: 1,114,826,392
RAC: 3,319
Canada
Message 1886335 - Posted: 26 Aug 2017, 23:58:10 UTC

ID: 1886335 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21237
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1891051 - Posted: 21 Sep 2017, 0:10:22 UTC

My next kernel update has vsyscall=none set.

Is this where I am knocked off being able to run s@h?

:-(

Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1891051 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1891111 - Posted: 21 Sep 2017, 8:28:26 UTC - in response to Message 1891051.  

Christian Beer wrote:
For kernel 4.11 and newer you need to set the kernel option vsyscall=emulate in order to run applications compiled with older glibc.

Also here.
ID: 1891111 · Report as offensive
Profile ML1
Volunteer moderator
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 21237
Credit: 7,508,002
RAC: 20
United Kingdom
Message 1891136 - Posted: 21 Sep 2017, 12:58:19 UTC - in response to Message 1891111.  
Last modified: 21 Sep 2017, 12:58:50 UTC

Christian Beer wrote:
For kernel 4.11 and newer you need to set the kernel option vsyscall=emulate in order to run applications compiled with older glibc.

Also here.

Thanks Jord for that.

Sorry, my post was more a "rhetorical reminder"...

If now no new app after 25 days+ now, are we going to see a recompile to remove the too old vsyscall at all?


Keep searchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1891136 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1891148 - Posted: 21 Sep 2017, 14:51:13 UTC - in response to Message 1891136.  

I still don't know who make the Linux apps, but if that's Eric, I presume you're better off trying to make your own.
ID: 1891148 · Report as offensive

Questions and Answers : Unix/Linux : VSYSCALL deprecated - s@h client recompile needed


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.