Package: dsyslog
Version: 0.3.0
Severity: normal

A failed message was encountered when running /etc/init.d/dsyslog start

To try and see what had failed I ran dsyslog from the command line and 
experienced the output below.

r...@uklon92:/etc# dsyslog -c /etc/dsyslog.conf
(ERROR) dsyslog_module.c:40 [dsyslog_module_load]: Loading module 
//usr/lib/dsyslog/filter_droppriority.so failed: 
//usr/lib/dsyslog/filter_droppriority.so: cannot open shared object file: No 
such file or directory
(INFO ) dsyslog_main.c:33 [dsyslog_daemonize]: Launching into background as 
process 3452

r...@uklon92:/usr/lib/dsyslog# cd /usr/lib/dsyslog/
r...@uklon92:/usr/lib/dsyslog# ls *.so | wc -l
11
r...@uklon92:/usr/lib/dsyslog# ls -l 
total 56
-rw-r--r-- 1 root root 3572 2008-07-19 07:22 cond_literal.so
-rw-r--r-- 1 root root 3792 2008-07-19 07:22 cond_pattern.so
-rw-r--r-- 1 root root 3924 2008-07-19 07:22 cond_regexp.so
-rw-r--r-- 1 root root 3012 2008-07-19 07:22 filter_dropprog.so
-rw-r--r-- 1 root root 3828 2008-07-19 07:22 filter_regexp.so
-rw-r--r-- 1 root root 3368 2008-07-19 07:22 output_file.so
-rw-r--r-- 1 root root 3932 2008-07-19 07:22 output_udp.so
-rw-r--r-- 1 root root 4704 2008-07-19 07:22 source_klogfile.so
-rw-r--r-- 1 root root 5120 2008-07-19 07:22 source_localsock.so
-rw-r--r-- 1 root root 3596 2008-07-19 07:22 source_mark.so
-rw-r--r-- 1 root root 5664 2008-07-19 07:22 source_udp.so
r...@uklon92:/usr/lib/dsyslog# cat /etc/*version
5.0.5
r...@uklon92:/usr/lib/dsyslog# 

To workaround the problem I commented out loadmodule "filter_droppriority.so";
in dsyslog.conf

The attached diff comments out loadmodule and deals with a separate issue
for which I will file another bug report.

I think that the file /usr/lib/dsyslog/filter_droppriority.so is missing in the 
Squeeze version
and the Lenny version of dsyslog.


-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-164.2.1.el5.028stab066.7 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dsyslog depends on:
ii  libc6                       2.7-18lenny4 GNU C Library: Shared libraries
ii  libglib2.0-0                2.16.6-3     The GLib library of C routines

Versions of packages dsyslog recommends:
ii  logrotate                     3.7.1-5    Log rotation utility

Versions of packages dsyslog suggests:
pn  dsyslog-module-mysql          <none>     (no description available)
pn  dsyslog-module-postgresql     <none>     (no description available)

-- no debconf information
25c25
< #loadmodule "filter_droppriority.so";
---
> loadmodule "filter_droppriority.so";
83,89c83,86
< #output file {
< #	path "/var/log/auth.log";
< #	condition pattern { facility "auth*"; };
< #};
< output file { path "/var/log/auth.log"; condition literal { facility auth; }; };
< output file { path "/var/log/auth.log"; condition literal { facility authpriv; }; };
< output file { path "/var/log/auth.log"; condition literal { program sshd; }; };
---
> output file {
> 	path "/var/log/auth.log";
> 	condition pattern { facility "auth*"; };
> };
99,102c96,99
< output file {	
< 	path "/var/log/cron.log";
< 	condition literal { facility cron; };
< };
---
> #output file {	
> #	path "/var/log/cron.log";
> #	condition literal { facility cron; };
> #};

Reply via email to