Package: dwww
Version: 1.13.4+nmu3
Severity: important

Dear Maintainer,

After upgrading to buster, I failed to get any man pages showing in my
dwww output.  The <pre class="man"> tag is completely empty.

After editing dwww-convert for debugging, I found an error from man:
    man: nroff: Bad system call

Then, I found an example of that on another bug report, which led me to
add a line to dwww-convert:

...begin patch
--- dwww-convert.orig   2019-12-11 14:51:25.131093890 -0800
+++ dwww-convert        2019-12-11 15:14:02.625790098 -0800
@@ -246,6 +246,7 @@
     $dir =~ s/\/[^\/]*$//;
     chdir ("$dir/..") or die "Can't chdir!\n";
     $ENV{'MAN_KEEP_FORMATTING'} = 1;
+    $ENV{'MAN_DISABLE_SECCOMP'} = 1;
     my $IN_FH = &OpenPipe("man  -EUTF-8 -P/bin/cat  -l \"$filename\" 
2>/dev/null | dwww-txt2html --man --utf8", "r");
     chdir ("/");
     while (<$IN_FH>) {
...end patch

That got it working... but I don't really know why. :-)
Hopefully this will lead you to the proper fix!

Thanks!
Chad.


-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8), 
LANGUAGE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dwww depends on:
ii  apache2 [httpd-cgi]    2.4.38-3+deb10u3
ii  debconf [debconf-2.0]  1.5.71
ii  debianutils            4.8.6.1
ii  doc-base               0.10.8
ii  file                   1:5.35-4+deb10u1
ii  libc6                  2.28-10
ii  libfile-ncopy-perl     0.36-2
ii  libmime-types-perl     2.17-1
ii  man-db                 2.8.5-2
ii  mime-support           3.62
ii  perl                   5.28.1-6
ii  ucf                    3.0038+nmu1

Versions of packages dwww recommends:
ii  apache2 [httpd]  2.4.38-3+deb10u3
ii  apt              1.8.2
ii  dlocate          1.07+nmu1
ii  info2www         1.2.2.9-24
ii  swish++          6.1.5-5

Versions of packages dwww suggests:
ii  chromium [www-browser]          78.0.3904.108-1~deb10u1
ii  doc-debian                      6.4
pn  dpkg-www                        <none>
ii  elinks [www-browser]            0.13~20190125-3
ii  epiphany-browser [www-browser]  3.32.1.2-3~deb10u1
ii  firefox-esr [www-browser]       68.3.0esr-1~deb10u1
ii  w3m [www-browser]               0.5.3-37

-- Configuration Files:
/etc/apache2/conf-available/dwww.conf changed [not included]

-- debconf information:
* dwww/cgidir: /usr/lib/cgi-bin
* dwww/serverport: 80
  dwww/badport:
* dwww/docrootdir: /var/www
  dwww/nosuchuser:
* dwww/cgiuser: www-data
  dwww/index_docs: false
  dwww/nosuchdir:
* dwww/servername: ws78.int.tlc

Reply via email to