Greetings,

I have noticed a few others on this list reporting an issue where the
sendmail daemon hangs when starting up from the initscript. It hangs while
trying to run newaliases.  I believe the following is the root of the
problem:

# here is what the user will want to execute:
# /usr/bin/newaliases. It is a symlink, as it should be,
# to /etc/alternatives/mta-newaliases
#
lrwxrwxrwx    1 root     root           32 Jul 18 14:52
/usr/bin/newaliases -> /etc/alternatives/mta-newaliases*

# ok, now here is /etc/alternatives/mta-newaliases,
# pointing to /usr/bin/newaliases.sendmail. This is good too.
#
lrwxrwxrwx    1 root     root           28 Jul 18 14:52
/etc/alternatives/mta-newaliases -> /usr/bin/newaliases.sendmail*

# herein lies the problem: /usr/bin/newaliases.sendmail is a
# symlink to /usr/sbin/sendmail.sendmail
#
lrwxrwxrwx    1 root     root           25 Jul 18 14:52
/usr/bin/newaliases.sendmail -> ../sbin/sendmail.sendmail*

There is not actually a /usr/sbin/newaliases.sendmail binary - just a
symlink back to sendmail! Which is why it hangs, it's trying to run
sendmail with no arguments, which just waits for user input, and besides
that, it's not even the write program.

Querying the package file seems to say that the
/usr/sbin/newaliases.sendmail is included:

$ rpm -qpl /var/cache/urpmi/rpms/sendmail-8.12.1-6mdk.ppc.rpm | grep newalias
/usr/bin/newaliases.sendmail <-- there it is!

However, it looks like perhaps during postprocessing, the binary gets
overwritten with a symlink back to sendmail.sendmail?

Thoughts?

Peter

-- 
Peter R. Wood - [EMAIL PROTECTED] - http://prwdot.org/



Reply via email to