Bug 114257 - sendmail needs to depend on newer chkconfig version
Summary: sendmail needs to depend on newer chkconfig version
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: sendmail
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-25 14:42 UTC by Jonathan Kamens
Modified: 2007-04-18 17:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-28 17:03:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Kamens 2004-01-25 14:42:31 UTC
Apparently the /usr/lib/sendmail link was removed recently from the
sendmail package because alternatives is supposed to provide it, but
the version of alternatives I'm running doesn't.  I think sendmail's
RPM needs to have a dependency on the version of chkconfig (or later)
in which the link was first introduced.

Comment 1 Thomas Woerner 2004-01-28 11:20:08 UTC
What exactly have you done to get the error? It works for me without
any problem.

Comment 2 Jonathan Kamens 2004-01-28 13:13:29 UTC
Perhaps that's because you don't have anything installed on your
system which assumes that /usr/lib/sendmail exists.  I have such
scripts installed on my system, and they stopped working when I
installed the new sendmail RPM because /usr/lib/sendmail was removed
from it.

There was no "error" per se, just the disappearance of a program from
a standard location.


Comment 3 Thomas Woerner 2004-01-28 13:52:39 UTC
Please use system-switch-mail and switch to sendmail again. The link
will be there, then.

/usr/lib/sendmail is a symlink for copatibility reasons. Newer
programs should not use it anymore.

Comment 4 Jonathan Kamens 2004-01-28 14:13:21 UTC
System-switch-mail solved the problem, but this does not change the
fact that upgrading sendmail made the link go away.  You need to do
something in the postinstall scripts to refresh the alternatives mta
state to get it to recreate the link.  Otherwise you're breaking
people's systems when they upgrade sendmail.

I will try to track down and replace my usages of /usr/lib/sendmail
with /usr/sbin/sendmail, but this doesn't change the fact that you
shouldn't break /usr/lib/sendmail on upgrade unless you're consciously
choosing not to support it at all anymore.


Comment 5 Thomas Woerner 2004-01-28 17:03:26 UTC
Fixed in rawhide in rpm sendmail-8.2.11-2 or newer.


Note You need to log in before you can comment on or make changes to this bug.