adddivert and sendmail

Ronan KERYELL Ronan.Keryell at enst-bretagne.fr
Mon Sep 9 17:59:59 CEST 2002


I have trouble with sendmail since during installation sendmailconfig is
launched even in interactive mode.

I have thought to file a bug but it has already been done long time ago.

Any way, isn't the good occasion to play with adddivert ? :-)

I've done a class/S20divert.source with :
#! /bin/sh

# Work around some bugs :
adddivert /usr/sbin/sendmailconfig



But it doesn't work... Here is a sample of my rcS.log :
+ '[' -x S20divert.source -a -f S20divert.source ']'
+ newclasses=
+ '[' 1 ']'
+ echo 'Executing S20divert.source'
Executing S20divert.source
+ . S20divert.source
#! /bin/sh
# 	$Id: S02disk.sh,v 1.2 2002/03/06 08:02:48 keryell Exp $	

# Work around some bugs :
adddivert /usr/sbin/sendmailconfig
++ adddivert /usr/sbin/sendmailconfig
++ local item
++ mkdivert /usr/sbin/sendmailconfig
++ '[' 1 ']'
++ chroot /tmp/target dpkg-divert --package fai --rename --add /usr/sbin/sendmailconfig
chroot: cannot execute dpkg-divert: No such file or directory
++ cat
/etc/init.d/rcS: /tmp/target//usr/sbin/sendmailconfig: No such file or directory
++ chmod a+rx /tmp/target//usr/sbin/sendmailconfig
chmod: getting attributes of `/tmp/target//usr/sbin/sendmailconfig': No such file or directory
+ '[' 1 ']'
+ echo 'newclasses= '
newclasses= 
+ classes=DEFAULT 

Where is my error ?

Thank you.
-- 
    Ronan KERYELL              |\/
    Labo Informatique Télécom  |/)  Tel:    (+33|0) 2.29.00.14.15
    ENST Bretagne, BP832       K    Fax:    (+33|0) 2.29.00.12.82
    29285 PLOUZANE CEDEX       |\   E-mail: Ronan.Keryell at enst-bretagne.fr
    FRANCE                     | \  http://www-info.enst-bretagne.fr/~keryell



More information about the linux-fai mailing list