Subject: Re: pkg/31547 (gnupg needs setuid-bit on Linux)
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: None <joel@carnat.net>
List: pkgsrc-bugs
Date: 12/28/2006 09:30:03
The following reply was made to PR pkg/31547; it has been noted by GNATS.
From: joel@carnat.net
To: "Joerg Sonnenberger" <joerg@britannica.bec.de>
Cc: gnats-bugs@netbsd.org, rillig@netbsd.org,
linux-pkg-people@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, joerg@netbsd.org
Subject: Re: pkg/31547 (gnupg needs setuid-bit on Linux)
Date: Thu, 28 Dec 2006 12:27:25 +0100 (CET)
I dont have enough technical knowledge to answer.
All I can say is that the gpg binary required setuid-bit when I tried
using it on 2.4.31 (slackware 10.2) and that it doesn't anymore on
2.6.11.12-xenU (slackware 10.2 as a NetBSD/xen domU).
Maybe it just had something to do with memory management on 2.4.x kernel
series.
Regards,
Jo
Le Jeu 28 décembre 2006 00:14, Joerg Sonnenberger a écrit :
>> If you can't or don't want to install GnuPG setuid(root), you can use
>> the option "--no-secmem-warning"
>
> You can also disable the warning in the config file. Explaining why it
> might be wanted or not is what I want to see in the man page.
>
> On the NetBSD for example, there's a normal rlimit on the number of
> locked pages, unless you go over that limit you don't need setuid at all.
>
> Joerg
>
>