tags 496158 wontfix thanks On Tue, Aug 26, 2008 at 02:49:03AM +0200, Kurt Roeckx wrote: > On Mon, Aug 25, 2008 at 11:54:57PM +0200, Francesco P. Lovergine wrote: > > severity 496158 normal > > tags 496158 unreproducible > > tags 496158 moreinfo > > thanks > > > > This seems a corner case, not etch-to-lenny-upgrade related, > > so reducing severity. > > The box was probably sarge when it was installed. The only change to > the default config was to uncomment the anonymous section > and change the path for that. >
I finally managed to reproduce the issue you reported: client:~# apt-get install proftpd-basic Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libldap2 Use 'apt-get autoremove' to remove them. Suggested packages: openssl proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap The following packages will be REMOVED: proftpd The following NEW packages will be installed: proftpd-basic 0 upgraded, 1 newly installed, 1 to remove and 1 not upgraded. Need to get 684kB of archives. After this operation, 595kB disk space will be freed. Do you want to continue [Y/n]? Get:1 http://ftp.it.debian.org lenny/main proftpd-basic 1.3.1-13 [684kB] Fetched 684kB in 0s (1931kB/s) Preconfiguring packages ... (Reading database ... 29586 files and directories currently installed.) Removing proftpd ... Stopping ftp server: proftpd. Processing triggers for man-db ... Selecting previously deselected package proftpd-basic. (Reading database ... 29506 files and directories currently installed.) Unpacking proftpd-basic (from .../proftpd-basic_1.3.1-13_i386.deb) ... Processing triggers for man-db ... Setting up proftpd-basic (1.3.1-13) ... Installing new version of config file /etc/cron.monthly/proftpd ... Installing new version of config file /etc/init.d/proftpd ... Cannot start proftpd, please check syntax of your configuration file /etc/proftpd/proftpd.conf client:~# /etc/init.d/proftpd stop Stopping ftp server: proftpd. client:~# /etc/init.d/proftpd start Starting ftp server: proftpd - Fatal: LoadModule: error loading module 'mod_ldap.c': Permission denied on line 18 of '/etc/proftpd/modules.conf' failed! Explanation: At this point etch proftpd was removed, but not purged, so successive installation of proftpd-basic retained the old configuration files, which were of course not compatible with the current -basic package, because additional modules are missing. Note that the old configuration files indeed loaded ALL modules by default, including the now missing ldap/mysql/pgsql files. This situation requires a by hand intervention to fix configuration. Note that installing proftpd-basic IS NOT the suggested way to upgrade, and is not supported anyway, this is the precise reason why lenny proftpd pseudo-package exists. In a new installation proftpd-basic would work without problems and an upgrade/dist-upgrade would also work correctly with default configuration or also other custom configuration (becauses all available modules would be installed as well). Forcing a configuration purging would also be incorrect anyway. The only pratical hack would be checking consistency among configuration and available module and gratiously stop with a message: nothing so much different from the rough diagnostic by proftpd at loading time. In other words, the answer is: you CAN install proftpd-basic to upgrade but DON'T do that, or you will be in any case on your own. What it would be appropriate is simply a proper message by proftpd daemon - i.e. an improvement by upstream in order to have a better diagnostic. All other actions done in your report simply trashed things more than that. Note that proftpd packages are conservative about configuration files they find, only minimal well-known changes are done, all the rest is an admin duty. -- Francesco P. Lovergine -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]