Debian Bug report logs - #451090
proftpd: error loading module 'mod_lang.c'

version graph

Package: proftpd; Maintainer for proftpd is (unknown);

Reported by: "Hae-woo Park" <starlet@iris.snu.ac.kr>

Date: Tue, 13 Nov 2007 09:36:01 UTC

Severity: normal

Found in version proftpd-dfsg/1.3.1-2

Fixed in versions 1.3.1-4, proftpd-dfsg/1.3.1-3

Done: Francesco Paolo Lovergine <frankie@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Francesco Paolo Lovergine <frankie@debian.org>:
Bug#451090; Package proftpd. (full text, mbox, link).


Acknowledgement sent to "Hae-woo Park" <starlet@iris.snu.ac.kr>:
New Bug report received and forwarded. Copy sent to Francesco Paolo Lovergine <frankie@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Hae-woo Park" <starlet@iris.snu.ac.kr>
To: <submit@bugs.debian.org>
Subject: proftpd: error loading module 'mod_lang.c'
Date: Tue, 13 Nov 2007 18:34:14 +0900
Package: proftpd
Version: 1.3.1-2
Severity: normal

Hello.
I have got a problem with proftpd.

I added the following line into /etc/proftpd/modules.conf.

LoadModule mod_lang.c

Then I couldn't start the ftp server proftpd.
The error messages are following.

$ /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - Fatal: LoadModule:
error loading module 'mod_lang.c': Permission denied
on line 28 of '/etc/proftpd/modules.conf'
 failed!

I found this bug during install gforge.
( gforge depends on proftpd indirectly. )
IMHO, the '--enable-nls' configure option may help, but I have not done.

Thank you.

Information forwarded to debian-bugs-dist@lists.debian.org, Francesco Paolo Lovergine <frankie@debian.org>:
Bug#451090; Package proftpd. (full text, mbox, link).


Acknowledgement sent to Luke Yelavich <themuso@themuso.com>:
Extra info received and forwarded to list. Copy sent to Francesco Paolo Lovergine <frankie@debian.org>. (full text, mbox, link).


Message #10 received at 451090@bugs.debian.org (full text, mbox, reply):

From: Luke Yelavich <themuso@themuso.com>
To: 451090@bugs.debian.org
Subject: Re: proftpd: error loading module 'mod_lang.c'
Date: Thu, 22 Nov 2007 17:00:04 +1100
[Message part 1 (text/plain, inline)]
On Tue, Nov 13, 2007 at 08:34:14PM EST, Hae-woo Park wrote:
> Hello.
> I have got a problem with proftpd.
> 
> I added the following line into /etc/proftpd/modules.conf.
> 
> LoadModule mod_lang.c
> 
> Then I couldn't start the ftp server proftpd.

The attached patch fixes this, by forcing the proftpd package build to compile the mod_lang module into proftpd statically. It turns out that due to the way the module has been written, it can't be dynamically loaded. As a result of this, the LoadModule mod_lang.c statement in the config file is not needed, if the package is built with this patch.
-- 
Luke Yelavich
GPG key: 0xD06320CE 
	 (http://www.themuso.com/themuso-gpg-key.txt)
Email & MSN: themuso@themuso.com
Jabber: themuso@jabber.org.au
[proftpd-dfsg-mod_lang.patch (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]

Reply sent to "Francesco P. Lovergine" <frankie@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Hae-woo Park" <starlet@iris.snu.ac.kr>:
Bug acknowledged by developer. (full text, mbox, link).


Message #15 received at 451090-done@bugs.debian.org (full text, mbox, reply):

From: "Francesco P. Lovergine" <frankie@debian.org>
To: Luke Yelavich <themuso@themuso.com>, 451090-done@bugs.debian.org
Subject: Re: Bug#451090: proftpd: error loading module 'mod_lang.c'
Date: Thu, 22 Nov 2007 09:57:13 +0100
Package: proftpd
Version: 1.3.1-4

Already fixed in the version above.

On Thu, Nov 22, 2007 at 05:00:04PM +1100, Luke Yelavich wrote:
> On Tue, Nov 13, 2007 at 08:34:14PM EST, Hae-woo Park wrote:
> > Hello.
> > I have got a problem with proftpd.
> > 
> > I added the following line into /etc/proftpd/modules.conf.
> > 
> > LoadModule mod_lang.c
> > 
> > Then I couldn't start the ftp server proftpd.
> 
> The attached patch fixes this, by forcing the proftpd package build to compile the mod_lang module into proftpd statically. It turns out that due to the way the module has been written, it can't be dynamically loaded. As a result of this, the LoadModule mod_lang.c statement in the config file is not needed, if the package is built with this patch.

> diff -u proftpd-dfsg-1.3.1/debian/rules proftpd-dfsg-1.3.1/debian/rules
> --- proftpd-dfsg-1.3.1/debian/rules
> +++ proftpd-dfsg-1.3.1/debian/rules
> @@ -36,14 +33,14 @@
>  endif
>  
>  
> -DSOMODS1 = mod_site_misc:mod_load:mod_ban:mod_lang:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:
> +DSOMODS1 = mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:
>  DSOMODS2 = mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:
>  DSOMODS3 = mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_ifsession
>  CONF_ARGS := --prefix=/usr \
>  	     --with-includes=$(shell pg_config --includedir) \
>  	     --mandir=/usr/share/man --sysconfdir=/etc/proftpd --localstatedir=/var/run --libexecdir=/usr/lib/proftpd \
>  	     --enable-sendfile --enable-facl --enable-dso --enable-autoshadow --enable-ctrls --with-modules=mod_readme \
> -	     --enable-ipv6 --enable-devel=stacktrace
> +	     --enable-ipv6 --enable-devel=stacktrace --enable-nls
>  
>  ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
>    CONF_ARGS += --build $(DEB_HOST_GNU_TYPE)
> diff -u proftpd-dfsg-1.3.1/debian/templates/modules.conf proftpd-dfsg-1.3.1/debian/templates/modules.conf
> --- proftpd-dfsg-1.3.1/debian/templates/modules.conf
> +++ proftpd-dfsg-1.3.1/debian/templates/modules.conf
> @@ -35,7 +35,6 @@
>  LoadModule mod_rewrite.c
>  LoadModule mod_load.c
>  LoadModule mod_ban.c
> -LoadModule mod_lang.c
>  LoadModule mod_wrap2.c
>  LoadModule mod_wrap2_file.c
>  LoadModule mod_wrap2_sql.c




-- 
Francesco P. Lovergine




Reply sent to "Francesco P. Lovergine" <frankie@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Hae-woo Park" <starlet@iris.snu.ac.kr>:
Bug acknowledged by developer. (full text, mbox, link).


Message #20 received at 451090-done@bugs.debian.org (full text, mbox, reply):

From: "Francesco P. Lovergine" <frankie@debian.org>
To: "Dmitry E. Oboukhov" <dimka@avanto.org>, 457178-done@bugs.debian.org, 451090-done@bugs.debian.org, 451747-done@bugs.debian.org
Subject: Re: Bug#457178: Permission denied on line 38 of '/etc/proftpd/modules.conf'
Date: Thu, 20 Dec 2007 11:50:52 +0100
Package: proftpd
Version: 1.3.1-4

Already fixed.

On Thu, Dec 20, 2007 at 01:34:47PM +0300, Dmitry E. Oboukhov wrote:
> Package: proftpd
> Version: 1.3.1-2
> Severity: serious
> 
> # apt-get install proftpd
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Suggested packages:
>   proftpd-doc
> The following NEW packages will be installed:
>   proftpd
> 0 upgraded, 1 newly installed, 0 to remove and 129 not upgraded.
> Need to get 0B/996kB of archives.
> After unpacking 2641kB of additional disk space will be used.
> Preconfiguring packages ...
> Selecting previously deselected package proftpd.
> (Reading database ... 99496 files and directories currently installed.)
> Unpacking proftpd (from .../proftpd_1.3.1-2_i386.deb) ...
> Setting up proftpd (1.3.1-2) ...
> Adding system user `proftpd' (UID 114) ...
> Adding new user `proftpd' (UID 114) with group `nogroup' ...
> Not creating home directory `/var/run/proftpd'.
> Starting ftp server: proftpd - Fatal: LoadModule: error loading module
> 'mod_lang.c': Permission denied on line 38 of
> '/etc/proftpd/modules.conf'
>  failed!
> invoke-rc.d: initscript proftpd, action "start" failed.
> dpkg: error processing proftpd (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  proftpd
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 

-- 
Francesco P. Lovergine




Reply sent to Francesco Paolo Lovergine <frankie@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to "Hae-woo Park" <starlet@iris.snu.ac.kr>:
Bug acknowledged by developer. (full text, mbox, link).


Message #25 received at 451090-close@bugs.debian.org (full text, mbox, reply):

From: Francesco Paolo Lovergine <frankie@debian.org>
To: 451090-close@bugs.debian.org
Subject: Bug#451090: fixed in proftpd-dfsg 1.3.1-3
Date: Thu, 20 Dec 2007 11:32:05 +0000
Source: proftpd-dfsg
Source-Version: 1.3.1-3

We believe that the bug you reported is fixed in the latest version of
proftpd-dfsg, which is due to be installed in the Debian FTP archive:

proftpd-dfsg_1.3.1-3.diff.gz
  to pool/main/p/proftpd-dfsg/proftpd-dfsg_1.3.1-3.diff.gz
proftpd-dfsg_1.3.1-3.dsc
  to pool/main/p/proftpd-dfsg/proftpd-dfsg_1.3.1-3.dsc
proftpd-doc_1.3.1-3_all.deb
  to pool/main/p/proftpd-dfsg/proftpd-doc_1.3.1-3_all.deb
proftpd_1.3.1-3_i386.deb
  to pool/main/p/proftpd-dfsg/proftpd_1.3.1-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 451090@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Francesco Paolo Lovergine <frankie@debian.org> (supplier of updated proftpd-dfsg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 20 Dec 2007 11:58:45 +0100
Source: proftpd-dfsg
Binary: proftpd proftpd-doc
Architecture: source i386 all
Version: 1.3.1-3
Distribution: unstable
Urgency: low
Maintainer: Francesco Paolo Lovergine <frankie@debian.org>
Changed-By: Francesco Paolo Lovergine <frankie@debian.org>
Description: 
 proftpd    - Versatile, virtual-hosting FTP daemon
 proftpd-doc - Versatile, virtual-hosting FTP daemon (Documentation)
Closes: 451090 451747 455562 457178
Changes: 
 proftpd-dfsg (1.3.1-3) unstable; urgency=low
 .
   * Disabled language support: currently only en_US is supported, so it is not that useful.
     It was wrongly compiled in as a DSO module, anyway. A configuration option --enable-nls
     should be used instead. Fixed modules.conf.
     (closes: #451747, #451090, #457178)
   * Commented out stacktrace support at configuration time.
   * Properly moved to debhelper compatibility 5.
   * Fixed clean rules to remove auto-generated files.
   * [Lintian] Fixed FSF address in debian/copyright file. This is a GPL2 or later program.
   * [Lintian] Spelling error adviced->advised fixed in README.Debian.
   * Added missing --oknodo at daemon startup in proftpd.init.
     (closes: #455562)
   * [debian/templates/basic.conf] Added an AuthOrder commented directive in default proftpd.conf template.
   * [debian/rules] Minor changes in script style.
Files: 
 28ad40670396f3ef11b9b1e2e55d2e00 838 net optional proftpd-dfsg_1.3.1-3.dsc
 24c923a8322442f6d4c6e8aef52e1c87 74109 net optional proftpd-dfsg_1.3.1-3.diff.gz
 cdfccd86d51c3f33eb68bc1cb8f5aa25 912892 net optional proftpd_1.3.1-3_i386.deb
 8862b1af2044f4ed6f73960ef22088ea 1253036 doc optional proftpd-doc_1.3.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHak9RpFNRmenyx0cRAougAJ9lnE6gbl8I1qpOQBks1HBwoYkJ9ACghhre
F+jyrzdOjWuuDqm3143AKzY=
=ls5B
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Jan 2008 07:33:25 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 20:02:57 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.