[kgb-maintainers] Bug#691304: kgb-bot: Reload should check and report on config errors

Martín Ferrari tincho at debian.org
Wed Oct 24 02:26:27 UTC 2012


Package: kgb-bot
Version: 1.23-1
Severity: wishlist

While trying to find out why kgb was not joining a channel, I saw in the log:

2012.10.24 03:23:11: Signal HUP received, reloading...
2012.10.24 03:23:11: Error in configuration file: /etc/kgb-bot/kgb.conf.d/kernel.conf is world-readable

It would be a lot more user-friendly if the reload command performed a
configuration check so it can report to the user this kind of issues.

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kgb-bot depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  kgb-client             1.23-1            client for KGB (IRC collaboration 
ii  libjson-perl           2.21-1            Perl module to parse and convert t
ii  libpoe-component-irc-p 6.35+dfsg-1       POE Component for manipulating IRC
ii  libpoe-component-serve 1.14-1            POE component to publish event han
ii  libpoe-perl            2:1.2890-1        event-driven component architectur
ii  libproc-pid-file-perl  1.27-1            Perl module for managing process i
ii  libschedule-ratelimite 0.01-1            Perl library to prevent events fro
ii  libyaml-perl           0.71-1            YAML Ain't Markup Language
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 

kgb-bot recommends no packages.

Versions of packages kgb-bot suggests:
pn  libfile-which-perl          <none>       (no description available)
ii  libipc-run-perl             0.89-1       Perl module for running processes
ii  polygen                     1.0.6.ds2-10 generator of random sentences from

-- Configuration Files:
/etc/default/kgb-bot changed [not included]
/etc/kgb-bot/kgb.conf [Errno 13] Permission denied: u'/etc/kgb-bot/kgb.conf'

-- no debconf information



More information about the kgb-maintainers mailing list