Bug#2397: sysklog - Problem with 'postinst'
Package: syslogd
Status: install ok installed
Priority: required
Section: base
Maintainer: Martin Schulze <joey@infodrom.north.de>
Version: 1.2-19
The 'postinst' script tries to create the directory "/var/logs/news",
which fails because there is no directory /var/logs. Later, it tries
to access the same directory as /var/log/news.
The offending lines are:
--------------------------------------------------
# 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
fi
fi
if [ ! -d /var/log/news ]; then
mkdir /var/logs/news <---------
chmod 2755 /var/log/news
chown news.news /var/log/news
fi
--------------------------------------------------
Apparently, a fix was made for this typo, but the typo itself was not
fixed.
Brian
( bcwhite@bnr.ca )
-------------------------------------------------------------------------------
In theory, theory and practice are the same. In practice, they're not.
Reply to: