[Bug 2055402] Re: Though lintian call: error: troff: Segmentation fault
Loïc Minier
2055402 at bugs.launchpad.net
Thu Feb 29 11:26:10 UTC 2024
This is due to the apparmor profile and the man pipeline trying to flush
and stat the output file which can be anywhere in the fs
[Thu Feb 29 11:23:53 2024] audit: type=1400 audit(1709205849.791:651): apparmor="DENIED" operation="file_inherit" class="file" namespace="root//lxd-daily_<var-snap-lxd-common-lxd>" profile="man_groff" name="/tmp/output" pid=97274 comm="troff" requested_mask="w" denied_mask="w" fsuid=1001000 ouid=1001000
[Thu Feb 29 11:23:53 2024] audit: type=1400 audit(1709205849.819:652): apparmor="DENIED" operation="getattr" class="file" info="Failed name lookup - disconnected path" error=-13 namespace="root//lxd-daily_<var-snap-lxd-common-lxd>" profile="/usr/bin/man" name="apparmor/.null" pid=97274 comm="troff" requested_mask="r" denied_mask="r" fsuid=1001000 ouid=0
[Thu Feb 29 11:23:53 2024] audit: type=1400 audit(1709205849.819:653): apparmor="DENIED" operation="getattr" class="file" info="Failed name lookup - disconnected path" error=-13 namespace="root//lxd-daily_<var-snap-lxd-common-lxd>" profile="man_groff" name="apparmor/.null" pid=97274 comm="troff" requested_mask="r" denied_mask="r" fsuid=1001000 ouid=0
** Description changed:
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
--
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