#899143 man-db: man - Error clone: main.c Operation not permitted

Package:
man-db
Source:
man-db
Description:
tools for reading manual pages
Submitter:
Thomas Renard
Date:
2019-10-21 17:27:03 UTC
Severity:
normal
#899143#5
Date:
2018-05-19 19:40:01 UTC
From:
To:
Dear Maintainer,

I am not able to run man anymore:

- enter: man ls

Expected:

- man page is shown

Actual behavior:

Error clone: main.c:2453 main: Operation not permitted
man: Befehl mit Exit-Status 1 beendet: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R MAN_PN=ls(1) less

#899143#10
Date:
2018-07-22 10:06:03 UTC
From:
To:
Sorry for the delay in getting back to you.  Please could you run "sudo
strace -f -o man.trace -s 1024 man ls", and attach the resulting
man.trace file in an email to me?

#899143#15
Date:
2019-06-18 06:44:38 UTC
From:
To:
Dear all,

I also have this problem in sid. As a user I get this error:

As root it works. I created the strace file as root as you suggested to use sudo (I don't use sudo myself on this machine).

Best regards,
Martin

#899143#20
Date:
2019-10-21 16:59:55 UTC
From:
To:

Hey,

I actually got the same issue on my machine after having updated to
bullseye/testing. Man pages were only viewable as root. I noticed that
this behaviour originates from firejail which happened to wrap "less"
through a symlink "/usr/local/bin/less" to "/usr/bin/firejail", which
was once installed by firecfg. However, there was no such link for man
itself.

I could solve the issue by either starting man in firejail right away
(`firejail man ls`), or by removing the link for less in
"/usr/local/bin/less".

Best

Maximilian