Bug#1014244: dhelp: Cron weekly gives email with /etc/cron.weekly/dhelp: error
Package: swish++
Version: 6.1.5-6
Followup-For: Bug #1014244
X-Debbugs-Cc: tmcconnell168@gmail.com
Package: dhelp
Version: 0.6.28
Severity: normal
X-Debbugs-Cc: tmcconnell168@gmail.com
Dear Maintainer,
What led up to the situation?Weekly Cron job failed so I ran it manually via
sudo /etc/cron.weekly/dhelp.
What exactly did you do (or not do) that was effective (or ineffective)?Not
sure it was either, I think the cron job ran successfully. It ended with line
numbers in /usr/sbin/dhelp_parse.
What was the outcome of this action?Cron job ran but ended with:
using /usr/bin/index++ --config-file /usr/share/dhelp/config/swish++.conf
--index-file /var/lib/dhelp/documents.index --follow-links -
(/usr/lib/ruby/vendor_ruby/dhelp.rb:612:in `rescue in index'
/usr/lib/ruby/vendor_ruby/dhelp.rb:605:in `index'
/usr/sbin/dhelp_parse:171:in `do_deferred_indexing'
/usr/sbin/dhelp_parse:205:in `main'
/usr/sbin/dhelp_parse:221:in `<main>')
What outcome did you expect instead? Not sure if that is a problem and if that
is why the weekly job failed? I checked the log file at /var/lib/dhelp/tmp and
in the earliest time 6:08 AM it shows:
Dhelp::IndexerError: Couldn't index using /usr/bin/index++ --config-file
/usr/share/dhelp/config/swish++.conf --index-file
/var/lib/dhelp/documents.index --follow-links --incremental -
(/usr/lib/ruby/vendor_ruby/dhelp.rb:616:in `index'
/usr/sbin/dhelp_parse:171:in `do_deferred_indexing'
/usr/sbin/dhelp_parse:205:in `main'
/usr/sbin/dhelp_parse:221:in `<main>')
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-2-rt-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dhelp depends on:
ii doc-base 0.11.1
ii ghostscript 9.56.1~dfsg-1
ii libcgi-pm-perl 4.54-1
ii libdata-page-perl 2.03-1
ii libhtml-parser-perl 3.78-1
ii liblocale-gettext-perl 1.07-4+b2
ii libtemplate-perl 2.27-1+b4
ii liburi-perl 5.10-1
ii perl 5.34.0-4
ii poppler-utils 22.02.0-3
ii ruby 1:3.0+1
ii ruby-debian 0.3.10+b6
ii ruby-gettext 3.3.3-2
ii sensible-utils 0.0.17
ii sgml-base 1.30
ii swish++ 6.1.5-6
ii ucf 3.0043
dhelp recommends no packages.
Versions of packages dhelp suggests:
ii apache2 [httpd-cgi] 2.4.54-1
pn catdvi <none>
ii chromium [www-browser] 103.0.5060.53-1
ii epiphany-browser [www-browser] 42.2-1
ii firefox-esr [www-browser] 91.10.0esr-1
ii info2www 1.2.2.9-24.2
ii links [www-browser] 2.27-1
ii luakit [www-browser] 1:2.3-1
ii lynx [www-browser] 2.9.0dev.10-1
ii man2html 1.6g-14
ii w3m [www-browser] 0.5.3+git20220429-1+b1
-- Configuration Files:
/etc/apache2/conf-available/dhelp.conf changed:
<Location ~ /cgi-bin/d(search|help_fetcher)(\?.*)?>
Require local
Options -Indexes -MultiViews
</Location>
<Directory /usr/share/doc>
Require local
Options Indexes MultiViews FollowSymLinks
</Directory>
Alias /doc /usr/share/doc
/etc/apache2/conf.d/dhelp.conf changed:
<Location ~ /cgi-bin/d(search|help_fetcher)(\?.*)?>
order deny,allow
deny from all
allow from localhost
Options -Indexes -MultiViews
</Location>
<Directory /usr/share/doc>
order deny,allow
deny from all
allow from localhost
Options Indexes MultiViews FollowSymLinks
</Directory>
Alias /doc /usr/share/doc
ScriptAlias /cgi-bin /usr/lib/cgi-bin
<Directory /usr/lib/cgi-bin>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
order allow,deny
allow from all
</Directory>
Alias /doc/HTML /usr/share/doc/HTML
Alias /doc/dhelp/css /usr/share/doc/dhelp/css
-- no debconf information
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.18.0-2-rt-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages swish++ depends on:
ii libc6 2.33-7
ii libstdc++6 12.1.0-2
ii perl 5.34.0-4
ii zlib1g 1:1.2.11.dfsg-4
swish++ recommends no packages.
Versions of packages swish++ suggests:
pn antiword <none>
ii poppler-utils [xpdf-utils] 22.02.0-3
-- no debconf information
Reply to: