[Bug 2055402] Re: Though lintian call: error: troff: Segmentation fault

Seth Arnold 2055402 at bugs.launchpad.net
Fri Mar 1 03:19:21 UTC 2024


Loïc, it's possible the 'fix' (really a work-around) is to add
`flags=(attach_disconnected)` to the profile in question. (I'm guessing
that would be enough to prevent AppArmor from replacing the file.)

In your logs it looks like it's already trying to use /tmp/output. This
might be unsafe, depending upon the specific sequence of systemcalls
used and the settings of:

/proc/sys/fs/protected_fifos
/proc/sys/fs/protected_hardlinks
/proc/sys/fs/protected_regular
/proc/sys/fs/protected_symlinks


Thanks

-- 
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