Subject: Bug#3899: mgetty doesn't remove logfiles when purged

From: Ian Jackson <[email-masked]>
Date: Wed, 24 Jul 96 01:26 BST

Package: mgetty
Version: 0.98-2

-root@chiark:~> dpkg --purge mgetty
(Reading database ... 20209 files and directories currently installed.)
Removing mgetty ...
dpkg - warning: while removing mgetty, directory `/var/log/mgetty' not empty so not removed.
dpkg - warning: while removing mgetty, directory `/etc/mgetty' not empty so not removed.
Purging configuration files for mgetty ...
-root@chiark:~> ll /var/log/mgetty/
total 17
drwxr-xr-x   2 root     root         1024 Jul 24 01:14 ./
drwxrwsr-x   9 root     adm          3072 Jul 24 00:42 ../
-rw-r--r--   1 root     root         2260 Jul 24 01:15 mg_115200.log
-rw-r--r--   1 root     root         4560 Jul 24 01:14 mg_DT115200.log
-rw-r--r--   1 root     root         1177 Jul 24 01:22 mg_ttyc0.log
-rw-r--r--   1 root     root         2410 Jul 24 01:16 mg_unknown.log
-root@chiark:~> ll /etc/mgetty/
total 5
drwxr-xr-x   2 root     root         1024 Jul 24 01:24 ./
drwxr-xr-x  30 root     root         4096 Jul 24 00:49 ../
-root@chiark:~> 

The fact that /etc/mgetty is left behind is a dpkg problem.  The fact
that these logs are left is a bug in mgetty.

Ian.

PS: I've just spotted that Nils Rennebarth is the mgetty maintainer.