Package: kgb-bot Version: 1.19-1 Severity: normal File: kgb Tags: patch
The init script should use the value of the "RUN_AS" variable when setting the owner of newly created logfiles, because otherwise the daemon itself can't write to its logfile when "RUN_AS" is modified in the /etc/default/kgb-bot file. Patch attached. Thanks Alex -- System Information: Debian Release: 6.0.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.19-1 client for KGB (IRC collaboration 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-17squeeze4 Larry Wall's Practical Extraction kgb-bot recommends no packages. Versions of packages kgb-bot suggests: ii libfile-which-perl 1.08-1 Perl module for searching paths fo ii libipc-run-perl 0.89-1 Perl module for running processes pn polygen <none> (no description available) -- Configuration Files: /etc/default/kgb-bot changed [not included] /etc/init.d/kgb-bot changed [not included] /etc/kgb-bot/kgb.conf [Errno 13] Permission denied: u'/etc/kgb-bot/kgb.conf' -- no debconf information
--- /etc/init.d/kgb-bot.orig 2012-10-01 13:21:10.000000000 +0200 +++ /etc/init.d/kgb-bot 2013-01-26 15:00:56.000000000 +0100 @@ -59,7 +59,7 @@ if ! test -e $LOG; then touch $LOG - chown Debian-kgb:root $LOG + chown "$RUN_AS":root $LOG chmod 0644 $LOG fi }