man-db-devel
[Top][All Lists]
Advanced

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

Re: [Man-db-devel] man-db-2.8.0: cannot read any man-page without disabl


From: Pascal Ernster
Subject: Re: [Man-db-devel] man-db-2.8.0: cannot read any man-page without disabling seccomp
Date: Thu, 8 Feb 2018 21:47:17 +0100

[2018-02-07 16:15] Colin Watson:
> On Tue, Feb 06, 2018 at 11:54:28PM +0000, Colin Watson wrote:
>> On Tue, Feb 06, 2018 at 11:33:41PM +0000, Colin Watson wrote:
>>> OK, this is extremely weird - strace makes the problem go away!  I know
>>> of no reason it should, as the seccomp filter still seems to be being
>>> installed.
>>
>> Ah, of course, it's because man is setuid.  Will fix, thanks!
> 
> I've committed fixes to master; some preliminary refactoring followed by
> https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=10027a400d6a05f463f3981e1191a2f35d0cc02b.
> I expect to put out a 2.8.1 release at some point in the next couple of
> days.

I'm seeing a very similar error on Archlinux with man-db 2.8.0, with one
main difference: only a single manpage is affected (man 5 smb.conf), and
only if a non-UTF-8 locale is set (eg LANG=en_US instead of
LANG=en_US.UTF-8). Also, the error does not occur with
MAN_DISABLE_SECCOMP=1.

I've filed a bug in the Archlinux bugtracker with detailed instructions
to reproduce this using just the normal a live-booted Archlinux
installer ISO:

https://bugs.archlinux.org/task/57436

I've also tried the latest git-master (2.8.0-8-g3d4ab156), but that
didn't fix the issue either.


Regards
Pascal



reply via email to

[Prev in Thread] Current Thread [Next in Thread]