[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#280800: gringotts: does not start on kernels >= 2.6.9



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I investigated a little more, and it seems[1] that usage of mlockall()
under 2.6.9 kernels breaks some other functions, amongst them the
needed getpwuid_r().
[1] http://bugs.gentoo.org/show_bug.cgi?id=69458

Here are some configurations:

- - gringotts binary is setuid, kernel 2.6.8 --> works
- - gringotts binary is setuid, kernel 2.6.9 --> broken
- - gringotts binary is setuid, kernel 2.6.9, being run with strace
  or gdb --> works
- - gringotts binary is not setuid, kernel 2.6.[89] --> works
  note: removing the setuid bit from gringotts disables the call
  to mlockall()

I am CC'ing the kernel team; I have no idea why mlockall() is all
of a sudden causing problems in 2.6.9 kernels.

If there is no immediate fix for this, I will upload a version
with the setuid bit removed from /usr/bin/gringotts. Then the
mlockall() feature will not be available.


Regards, Bastian

- -- 
  ,''`.    Bastian Kleineidam  .  calvin (at) debian.org
 : :' :
 `. `'    GnuPG Schlüssel http://kampfwurst.net/gpgkey.txt
   `-

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBm9QfeBwlBDLsbz4RAuWeAKDOS9MgeJiLhA+u1fSW8nI80WmCkgCeN1aq
8UIBsBdLcknJ8NnIHQ074yI=
=wnsc
-----END PGP SIGNATURE-----



Reply to: