[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2494: installation of syslogd

Package: syslogd
Status: install ok half-configured
Priority: required
Section: base
Maintainer: Martin Schulze <joey@infodrom.north.de>
Version: 1.2-19
Depends: libc5
 /etc/cron.weekly/sysklogd ef808f04034ea3b339f6eeef4d1f5dd5
 /etc/init.d/sysklogd b10fdfc6f99663ad1c6bb9e95b946448
 /etc/syslog.conf 28851fb3477afab173bf8fd0a168235d
Description: Kernel and system logging daemons.

The result of running dpkg --pending --configure is
 Setting up syslogd ...
 mkdir: cannot make directory `/var/logs/news': No such file or directory

It appears that an old typo managed to worm its way into the new
syslogd.postinst as shown in the following segment from that file.

  # This was an error caused by a typo...
  if [ -d /var/logs/news ]; then
    if [ ! -d /var/log/news ]; then
      mv -f /var/logs/news /var/log/news
  #  else
  #    echo Old files found in /var/logs/news

  if [ ! -d /var/log/news ]; then
    mkdir /var/logs/news
----------------  ^ -------------
    chmod 2755 /var/log/news
    chown news.news /var/log/news

Note the presence of the 's' again where it is not wanted.

Douglas Bates             Dept. of Statistics, U. of Wisconsin-Madison
            (visiting at: Dept. of Statistics, U. of Adelaide)
   bates@stat.wisc.edu    or   dbates@stats.adelaide.edu.au

Reply to: