Bug#433422: exim4: complains inappropriately about DEBCONFsomethingDEBCONF on upgrade
Package: exim4 Followup-For: Bug #433422 Marc Haber [EMAIL PROTECTED] wrote: On Tue, Jul 17, 2007 at 06:32:55PM -0500, Reid Priedhorsky wrote: I don't understand why it makes sense for your searching code to look for DEBCONF in those files -- no sane configuration would ever include them, and they are easy to generate in the process of normal admin tasks. And it is easy to either disable the warning, or to remove the offending files. _MUCH_ easier than having update-exim4.conf parsing the configuration, just to take care of people who are too stupid to read the docs. I got quite confused about this error message: DEBCONFsomethingDEBCONF found in exim configuration. This is most probably caused by you upgrading to exim4 4.67-3 or later without accepting the suggested conffile changes. Please read /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4 I could not remember having rejected a config file change. I read the mentioned sections in NEWS.Debian.gz and was still confused how to remedy the situation. Searching the bug reports revealed the problem. The *dpkg-old files. Everything was actually fine, except the warning suggesting a faulty situation. I suggest changing the warning to something like: DEBCONFsomethingDEBCONF found in exim configuration. This is most probably caused by you upgrading to exim4 4.67-3 or later without accepting the suggested conffile changes. Or you may just have some *.dpkg-old files lying around with DEBCONFsomethingDEBCONF in them. Deleting them will no longer cause them to issue this warning. Please read /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4 This simple text change does not require complicated programming and reduces confusion and stress of admins. Thanks, Bernhard -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (700, 'testing'), (650, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.17.6 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433422: exim4: complains inappropriately about DEBCONFsomethingDEBCONF on upgrade
On Tue, Jul 17, 2007 at 06:32:55PM -0500, Reid Priedhorsky wrote: I do think there is a real bug here. I do not. Removing the files in question makes the error message go away: It is a warning. Exim will run if the configuration is correct even if the warning is printed. What is so bad about removing the offending files. I don't understand why it makes sense for your searching code to look for DEBCONF in those files -- no sane configuration would ever include them, and they are easy to generate in the process of normal admin tasks. And it is easy to either disable the warning, or to remove the offending files. _MUCH_ easier than having update-exim4.conf parsing the configuration, just to take care of people who are too stupid to read the docs. I might consider a patch, but I am not going to implement this myself. If you still disagree, take this to the tech ctte or to debian-devel. Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433422: exim4: complains inappropriately about DEBCONFsomethingDEBCONF on upgrade
Marc Haber wrote: On Tue, Jul 17, 2007 at 09:30:08AM -0500, Reid Priedhorsky wrote: The point is that I think the check for DEBCONFsomethingDEBCONF overreaches: all the DEBCONF strings under /etc/exim4 that I could see appeared in ~ or .dpkg-old files, none of which are config files. They might be. How do I know which include directives the local admin uses? I did not intend to write an exim config parser in shell, so I decided to err on the safe side and to offer a possibility to silence the warnings. I'm not sure if you intended it, but I was insulted by your reply. And I am continuously insulted by people who require me to re-iterate things that are already in the BTS (this issue, three times) _AND_ in the docs. Marc, I do think there is a real bug here. Removing the files in question makes the error message go away: reidster:/etc/exim4# /etc/init.d/exim4 restart Stopping MTA for restart:DEBCONFsomethingDEBCONF found in exim configuration. This is most probably caused by you upgrading to exim4 4.67-3 or later without accepting the suggested conffile changes. Please read /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4 exim4_listener. Restarting MTA: exim4. reidster:/etc/exim4# find . -name '*~' -exec rm {} \; reidster:/etc/exim4# find . -name '*.dpkg-old' -exec rm {} \; reidster:/etc/exim4# find . -xtype f -exec grep -H DEBCONF {} \; reidster:/etc/exim4# /etc/init.d/exim4 restart Stopping MTA for restart: exim4_listener. Restarting MTA: exim4. I don't understand why it makes sense for your searching code to look for DEBCONF in those files -- no sane configuration would ever include them, and they are easy to generate in the process of normal admin tasks. Thanks, Reid -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#433422: exim4: complains inappropriately about DEBCONFsomethingDEBCONF on upgrade
Package: exim4 Version: 4.67-5 Severity: normal On upgrade to 4.67-5, the following complaint appeared twice: DEBCONFsomethingDEBCONF found in exim configuration. This is most probably caused by you upgrading to exim4 4.67-3 or later without accepting the suggested conffile changes. Please read /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4 However, the string DEBCONF does not appear in any actual configuration file under /etc/exim4. It appears many times, but only in emacs backups and old config files: reidster:/etc/exim4# find . -xtype f -exec grep -H DEBCONF {} \; ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:DEBCONFminimaldnsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:domainlist local_domains = DEBCONFlocal_domainsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:domainlist relay_to_domains = DEBCONFrelay_domainsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:hostlist relay_from_hosts = 127.0.0.1 : 1 : DEBCONFrelay_netsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:qualify_domain = DEBCONFvisiblenameDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:DCreadhost = DEBCONFreadhostDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:DCsmarthost = DEBCONFsmarthostDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:DEBCONFlistenonpublicDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs.dpkg-old:DCconfig_DEBCONFconfigtypeDEBCONF = 1 ./conf.d/main/01_exim4-config_listmacrosdefs~:DEBCONFminimaldnsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:domainlist local_domains = DEBCONFlocal_domainsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:domainlist relay_to_domains = DEBCONFrelay_domainsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:hostlist relay_from_hosts = 127.0.0.1 : 1 : DEBCONFrelay_netsDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:qualify_domain = DEBCONFvisiblenameDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:DCreadhost = DEBCONFreadhostDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:DCsmarthost = DEBCONFsmarthostDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:DEBCONFlistenonpublicDEBCONF ./conf.d/main/01_exim4-config_listmacrosdefs~:DCconfig_DEBCONFconfigtypeDEBCONF = 1 ./conf.d/main/02_exim4-config_options~:DEBCONF_hardcode_primary_hostname_DEBCONF ./conf.d/main/02_exim4-config_options~:# smtp_banner = ${primary_hostname} ESMTP Exim ${version_number} (Debian package DEBCONFpackageversionDEBCONF) ${tod_full} ./conf.d/main/02_exim4-config_options.dpkg-old:DEBCONF_hardcode_primary_hostname_DEBCONF ./conf.d/main/02_exim4-config_options.dpkg-old:# smtp_banner = ${primary_hostname} ESMTP Exim ${version_number} (Debian package DEBCONFpackageversionDEBCONF) ${tod_full} ./exim4.conf.template.dpkg-old:DEBCONFminimaldnsDEBCONF ./exim4.conf.template.dpkg-old:domainlist local_domains = DEBCONFlocal_domainsDEBCONF ./exim4.conf.template.dpkg-old:domainlist relay_to_domains = DEBCONFrelay_domainsDEBCONF ./exim4.conf.template.dpkg-old:hostlist relay_from_hosts = 127.0.0.1 : 1 : DEBCONFrelay_netsDEBCONF ./exim4.conf.template.dpkg-old:qualify_domain = DEBCONFvisiblenameDEBCONF ./exim4.conf.template.dpkg-old:DCreadhost = DEBCONFreadhostDEBCONF ./exim4.conf.template.dpkg-old:DCsmarthost = DEBCONFsmarthostDEBCONF ./exim4.conf.template.dpkg-old:DEBCONFlistenonpublicDEBCONF ./exim4.conf.template.dpkg-old:DCconfig_DEBCONFconfigtypeDEBCONF = 1 ./exim4.conf.template.dpkg-old:# smtp_banner = ${primary_hostname} ESMTP Exim ${version_number} (Debian package DEBCONFpackageversionDEBCONF) ${tod_full} ./exim4.conf.template~:DEBCONFminimaldnsDEBCONF ./exim4.conf.template~:domainlist local_domains = DEBCONFlocal_domainsDEBCONF ./exim4.conf.template~:domainlist relay_to_domains = DEBCONFrelay_domainsDEBCONF ./exim4.conf.template~:hostlist relay_from_hosts = 127.0.0.1 : 1 : DEBCONFrelay_netsDEBCONF ./exim4.conf.template~:qualify_domain = DEBCONFvisiblenameDEBCONF ./exim4.conf.template~:DCreadhost = DEBCONFreadhostDEBCONF ./exim4.conf.template~:DCsmarthost = DEBCONFsmarthostDEBCONF ./exim4.conf.template~:DEBCONFlistenonpublicDEBCONF ./exim4.conf.template~:DCconfig_DEBCONFconfigtypeDEBCONF = 1 ./exim4.conf.template~:# smtp_banner = ${primary_hostname} ESMTP Exim ${version_number} (Debian package DEBCONFpackageversionDEBCONF) ${tod_full} exim appears to work fine despite the error message. Thanks, Reid -- Package-specific info: Exim version 4.67 #1 built 28-Jun-2007 13:09:54 Copyright (c) University of Cambridge 2006 Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005) Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd Authenticators: cram_md5 plaintext Routers: accept dnslookup ipliteral manualroute queryprogram redirect Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp Fixed never_users: 0