FS#19165 - [exim] contains broken symlink /usr/lib/sendmail

Attached to Project: Community Packages
Opened by Ray (ataraxia) - Monday, 19 April 2010, 00:48 GMT
Last edited by Angel Velasquez (angvp) - Friday, 23 April 2010, 20:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The exim package contains a symlink, /usr/lib/sendmail, which points to "exim". This needs to point to "/usr/sbin/exim" or "../sbin/exim". This link is created by hand in the build function, rather than by any upstream code, so it should be an easy fix:

--- PKGBUILD.orig 2010-04-18 20:47:01.539580088 -0400
+++ PKGBUILD 2010-04-18 20:47:15.179161873 -0400
@@ -96,7 +96,7 @@
ln -s exim runq
ln -s exim sendmail
# fhs compliancy
- ln -s exim ../lib/sendmail
+ ln -s ../sbin/exim ../lib/sendmail

mkdir -p ${pkgdir}/etc/rc.d
cp ${srcdir}/exim ${pkgdir}/etc/rc.d


Additional info:
* package version(s)
exim 4.71-3

The current link:
lrwxrwxrwx 1 root root 4 Apr 3 08:11 /usr/lib/sendmail -> exim
This task depends upon

Closed by  Angel Velasquez (angvp)
Friday, 23 April 2010, 20:22 GMT
Reason for closing:  Fixed
Comment by Ray (ataraxia) - Tuesday, 20 April 2010, 00:09 GMT
  • Field changed: Percent Complete (100% → 0%)
Not the right fix. Now there is now /usr/lib/sendmail at all, since the build tries to overwrite /usr/sbin/exim with a link to itself. Please use the fix given in my original bug report instead.
Comment by Angel Velasquez (angvp) - Friday, 23 April 2010, 20:14 GMT
Fixed on -5 release

Loading...