WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] dCore-buster64rc and man-db  (Read 2976 times)

Offline volkerp

  • Jr. Member
  • **
  • Posts: 63
[Solved] dCore-buster64rc and man-db
« on: November 05, 2020, 01:23:25 AM »
I didn't have problems viewing manual pages in  dCore-stretch. In dCore-buster64 I ran into a problem I'm unable to solve:

Code: [Select]
tc@box:~$ man man
man: nroff: Bad system call
man: command exited with status 159: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -Tutf8)
tc@box:~$

Any advice appreciated. Thanks in advance!

Volker
« Last Edit: November 05, 2020, 04:46:06 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: dCore-buster64rc and man-db
« Reply #1 on: November 05, 2020, 06:49:27 AM »
Hi volkerp
A couple of ideas. Does it still crash if you start it like this:
Code: [Select]
MAN_DISABLE_SECCOMP=1 man man
Try downgrading  man-db  back to the one supplied by  dCore-stretch.

Offline volkerp

  • Jr. Member
  • **
  • Posts: 63
Re: dCore-buster64rc and man-db
« Reply #2 on: November 05, 2020, 02:35:39 PM »
Hi Rich,
Quote
Does it still crash if you start it like this:
 
Code: [Select]
MAN_DISABLE_SECCOMP=1 man man
No, it doesn't. You hit the bullseye! Thanks a lot, Rich!
You can the thread mark solved.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: [Solved] dCore-buster64rc and man-db
« Reply #3 on: November 05, 2020, 05:27:12 PM »
Hi volkerp
... Thanks a lot, Rich! ...
You're very welcome.

Just to add some context to that solution, a  sandboxing  issue was mentioned as the cause of the problem and this
creates a security exception for the man program.

You can probably get this to work automatically by adding this to the  export  section of your  .profile  file:
Code: [Select]
export MAN_DISABLE_SECCOMP=1Then logout and login.

Offline volkerp

  • Jr. Member
  • **
  • Posts: 63
Re: [Solved] dCore-buster64rc and man-db
« Reply #4 on: November 06, 2020, 09:36:19 AM »
Hi Rich,
you are really very kind and helpful. Thank you very much for your additional elucidations!