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

Re: Bug#99871: sendmail should depend on logrotate



My inclination is to close this, but I'm cc:ing -policy for further
comments.

The issue is providing files for use of another package, without
depending upon the package.

If this is against policy, we're doing a severe disservice to our
users by limiting cross-package cooperation.

On Mon, 4 Jun 2001, Raphael Manfredi wrote:

> Sendmail installs /etc/logrotate.d/sendmail without depending on logrotate.

And what, exactly is the problem ?

logrotate is not required, or even used by Sendmail... Sendmail provides
/etc/logrotate.d/sendmail as a convienence for the sysadmin.  Those
files will be deleted upon Sendmail's removal.

Sendmail also provides /etc/ip-{up,down}.d/sendmail - because without
them, management of Dial-On-Demand links is problematic...
You'd have Sendmail depend upon ppp?

Sendmail soon will provide
/etc/logcheck/{ignore,violations}.d.*/sendmail files as well, and no,
I dont plan to depend upon logcheck.

Here's a list of non-Sendmail files provided by Sendmail (from an
as yet unreleased version) - all of these files will be removed
upon package removal (and directories deleted if need be) - I believe
this list is complete:
/etc/logcheck
/etc/logcheck/ignore.d.paranoid
/etc/logcheck/ignore.d.paranoid/sendmail
/etc/logcheck/ignore.d.server
/etc/logcheck/ignore.d.server/sendmail
/etc/logcheck/ignore.d.workstation
/etc/logcheck/ignore.d.workstation/sendmail
/etc/logcheck/violations.ignore.d
/etc/logcheck/violations.ignore.d/sendmail
/etc/logrotate.d
/etc/logrotate.d/sendmail
/etc/ppp
/etc/ppp/ip-up.d
/etc/ppp/ip-up.d/sendmail
/etc/ppp/ip-down.d
/etc/ppp/ip-down.d/sendmail

Under certain conditions, Sendmail will also create the following files
(condition being - recognizing the requisite packages/directories
installed):
/usr/lib/sasl/Sendmail.conf       -- required for sendmail
/etc/ssl/certs/sendmail.pem       -- required for sendmail
/usr/lib/sasl/saslpasswd.conf     -- should be in libsasl package, but isn't
/etc/ldap/schema/sendmail.schema  -- OpenLDAP V2
/etc/openldap/sendmail.schema     -- OpenLDAP V1
/etc/umich-ldap/sendmail.schema   -- UMich LDAP V3

Of which, only the first two can be safely removed on package removal (the
others may be included in slapd.conf files or just should've been there
already).
-- 
Rick Nelson
...and scantily clad females, of course.  Who cares if it's below zero
outside.
	-- Linus Torvalds



Reply to: