On Sun, 25 Feb 2018, Colin Watson wrote:
> On Fri, Feb 23, 2018 at 11:34:32PM +0100, Mikulas Patocka wrote: > > Mandb recently started to apply seccomp policy to its subprocesses. > > Unfortunatelly, the seccom policy is badly written, so that > > mandb for foreign architectures (i386 or x32) crashes. > > > > * What exactly did you do (or not do) that was effective (or > > ineffective)? > > > > Install man-db:i386 or man-db:x32 on an amd64 system, try to view some > > manpage and you'll get crashes. > > > > The bug also happens if you use man-db:amd64, but /bin/sh is pointing > > to i386 or x32 shell (i.e. if you install dash:i386 or dash:x32 and > > make it a default shell). > > I guess I could add some other likely architectures to the filter, but > it's not particularly clear which ones I should add in general. The > scenarios above seem like rather contrived situations: can you explain > how and why you have an installation like this so that I can better > understand it? > > -- > Colin Watson [cjwat...@debian.org] x32 is faster than amd64, so I am running Debian-amd64-sid with x32 foreign architecture and with x32 dash, gcc and other packages. Mikulas