[Bug 2055402] Re: Though lintian call: error: troff: Segmentation fault
Loïc Minier
2055402 at bugs.launchpad.net
Thu Feb 29 11:39:31 UTC 2024
I'm not sure how to properly fix this, we allow the shell to write
anywhere, then file_inherit is triggered because we don't want man to
write anywhere, which seems to be what we typically want to achieve with
the apparmor profile.
Should we teach lintian and perhaps every other tool to use a specific
directory?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to groff in Ubuntu.
https://bugs.launchpad.net/bugs/2055402
Title:
Though lintian call: error: troff: Segmentation fault
Status in groff package in Ubuntu:
Confirmed
Bug description:
groff crash when redirecting output to a file
% man --warnings -E UTF-8 -l -Tutf8 -Z /usr/share/man/man1/cat.1.gz >output
troff:<standard input>:3: fatal error: unable to flush output file: Permission denied
groff: error: troff: Segmentation fault (core dumped)
man: command exited with status 2: /usr/libexec/man-db/zsoelim | /usr/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | groff -mandoc -Z -rLL=78n -rLT=78n -wmac -Tutf8
This is typically triggered by lintian when scanning man pages
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/groff/+bug/2055402/+subscriptions
More information about the foundations-bugs
mailing list