On Wed, 2003-12-03 at 09:36, Michael Lake wrote: > On a virtual server I may not need exim but when i test to see what will > happen when I remove it I get this: *snip* > It would remove logrotate ! Thats used to rotate my apache-perl, mysql > logs. > Do I just backup logrotate.conf and logrotate.d directory and let exim > remove logroate then just reinstall logrotate or what? > Whats the right way to handle this ?
Here's what's happening. Running 'apt-cache show logrotate', we get Depends: libc6 (>= 2.2.4-4), libpopt0 (>= 1.6.2-1), cron (>= 3.0pl1-53)\ | anacron, mailx, base-passwd (>= 2.0.3.4) Logrotate depends on mailx, which is supicious. Doing the same for mailx, Depends: libc6 (>= 2.2.4-4), liblockfile1 (>= 1.0),\ mail-transport-agent, base-files (>= 2.2.0) So yeah. Logrotate indirectly depends on having an MTA around, so the right way to handle it is to make sure you've got one installed. :-) If you don't want the overhead of a full-blown mail server, then it's probably worth looking in to lighter replacements like nullmailer. -- Pete -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
