Bug 766897 - Removal of exim removes /usr/sbin/sendmail
Summary: Removal of exim removes /usr/sbin/sendmail
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: exim
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mark Chappell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 19:06 UTC by Orion Poplawski
Modified: 2019-10-14 22:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-14 22:17:29 UTC
Type: ---


Attachments (Terms of Use)

Description Orion Poplawski 2011-12-12 19:06:53 UTC
Description of problem:

[root@josiah ~]# yum -y remove exim
[root@josiah ~]# ls -l /usr/sbin/sendmail
ls: cannot access /usr/sbin/sendmail: No such file or directory
[root@josiah ~]# alternatives --display mta
mta - status is auto.
 link currently points to /usr/sbin/sendmail.sendmail
/usr/sbin/sendmail.sendmail - priority 90
 slave mta-pam: /etc/pam.d/smtp.sendmail
 slave mta-mailq: /usr/bin/mailq.sendmail
 slave mta-newaliases: /usr/bin/newaliases.sendmail
 slave mta-rmail: /usr/bin/rmail.sendmail
 slave mta-rsmtp: (null)
 slave mta-runq: (null)
 slave mta-sendmail: /usr/lib/sendmail.sendmail
 slave mta-mailqman: /usr/share/man/man1/mailq.sendmail.1.gz
 slave mta-newaliasesman: /usr/share/man/man1/newaliases.sendmail.1.gz
 slave mta-aliasesman: /usr/share/man/man5/aliases.sendmail.5.gz
 slave mta-sendmailman: /usr/share/man/man8/sendmail.sendmail.8.gz
Current `best' version is /usr/sbin/sendmail.sendmail.


I *think* the problem is that the alternatives removal in done in %preun, before the files are removed and so alternatives thinks exim is still installed.

I'm also surprised the default appeared to exim in the first place.

Version-Release number of selected component (if applicable):
4.72-2.el6


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