[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#873978: sendmail-base: Please check for /usr/share/sendmail/dynamic before sourcing it



Package: sendmail-base
Version: 8.15.2-8
Severity: serious

I had sendmail installed. Then I removed it including sendmail-base. I
used "apt-get remove" instead of "purge" and this did not end well. The
log was quickly filled with this:

|Sep  1 21:28:02 debbuildd dhclient[3221]: DHCPREQUEST of 172.123.10.83 on eth0 to 255.255.255.255 port 67
|Sep  1 21:28:02 debbuildd dhclient[3221]: DHCPOFFER of 172.123.10.83 from 172.123.10.1
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPACK of 172.123.10.83 from 172.123.10.1
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPDECLINE on eth0 to 255.255.255.255 port 67
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPREQUEST of 172.123.10.83 on eth0 to 255.255.255.255 port 67
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPOFFER of 172.123.10.83 from 172.123.10.1
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPACK of 172.123.10.83 from 172.123.10.1
|Sep  1 21:28:03 debbuildd dhclient[3221]: DHCPDECLINE on eth0 to 255.255.255.255 port 67
 
The reason for the DHCPCELINE was:
|/sbin/dhclient-script: 28: . :Can't open /usr/share/sendmail/dynamic

Which could have been caused by
|/etc/network/if-up.d/sendmail:. /usr/share/sendmail/dynamic;
|/etc/network/if-post-down.d/sendmail:. /usr/share/sendmail/dynamic;
|/etc/network/if-down.d/sendmail:. /usr/share/sendmail/dynamic;
|/etc/dhcp/dhclient-exit-hooks.d/sendmail:. /usr/share/sendmail/dynamic;
|/etc/ppp/ip-up.d/sendmail:. /usr/share/sendmail/dynamic;
|/etc/ppp/ip-down.d/sendmail:. /usr/share/sendmail/dynamic;
|/etc/resolvconf/update-libc.d/sendmail:. /usr/share/sendmail/dynamic;

but in my case it was /etc/dhcp/dhclient-exit-hooks.d/sendmail.

Please either remove those files on remove or test for
"/usr/share/sendmail/dynamic" before the script sources the file.

This was a headless box so it took while to notice…

Sebastian


Reply to: