Yves Duret <[EMAIL PROTECTED]> writes:
> well, all the upgrade pbs (both symlink /usr/sbin/sendmail.. and nothing in
> /var/spool/postfix/) sould be fixed now.
I don't know how on earth you test your packages. From a
no-postfix-package situation it still sux bigtime:
[root@obiwan t]# rpm -ivh /RPMS/postfix-1.1.8-3mdk.i586.rpm
Preparing... ########################################### [100%]
1:postfix ########################################### [100%]
[root@obiwan t]# rpm -e postfix
warning: /etc/postfix/main.cf saved as /etc/postfix/main.cf.rpmsave
Usage: service -[Rfshv] SERVICE ARGUMENTS
-f|--full-restart: Do a fullrestart of the service.
-R|--full-restart-all: Do a fullrestart of all services currently running.
-s|--status-all: Print a status of all services.
-d|--debug: Launch with debug.
-h|--help: This help.
-v|--version: Print version.
version 1.11
[root@obiwan t]#
It probably comes from this nonsense (unconfirmed):
postuninstall scriptlet (through /bin/sh):
if [ $1 = 0 ]; then
/sbin/service postfix condrestart 2>&1 > /dev/null
fi
exit 0
Since $1 contains 0 when the package is removed.
At least the update-alternatives stuff seems really fixed this
time:
[root@obiwan t]# rpm -Uvh --force /RPMS/postfix-1.1.8-3mdk.i586.rpm
Preparing... ########################################### [100%]
1:postfix ########################################### [100%]
[root@obiwan t]# update-alternatives --display mta
mta - status is auto.
link currently points to /usr/sbin/sendmail.postfix
/usr/sbin/sendmail.postfix - priority 30
slave mta-mailqman: /usr/share/man/man1/mailq.postfix.1.bz2
slave mta-newaliases: /usr/bin/newaliases.postfix
slave mta-newaliasesman: /usr/share/man/man1/newaliases.postfix.1.bz2
slave mta-aliasesman: /usr/share/man/man5/aliases.postfix.5.bz2
slave mta-rmail: /usr/bin/rmail.postfix
slave mta-in_libdir: /usr/sbin/sendmail.postfix
slave mta-mailq: /usr/bin/mailq.postfix
Current `best' version is /usr/sbin/sendmail.postfix.
[root@obiwan t]# ll /usr/sbin/sendmail*
lrwxrwxrwx 1 root root 21 May 14 09:51 /usr/sbin/sendmail ->
/etc/alternatives/mta*
-rwxr-xr-x 1 root root 87928 May 13 21:13 /usr/sbin/sendmail.postfix*
[root@obiwan t]#
--
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/