Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-08-12 Thread Hilmar Preuße
Am 23.02.2020 um 04:27 teilte Nikolai Lusan mit:

Hi,

> Trying to run proftpd with mod_vroot. The following error causes
> hosts using vroot to not be loaded:
> 
I forwarded the issue upstream and got the information that our build
system is broken. We currently try to build the module using prxs, which
is not supported in case the module consist out of more than one C
source code file. This is the case for proftpd-mod-vroot since last
upload. We have to rework the build system. If we build as described on
[1] the resulting module looks differently. Will have a look ASAP.

Hilmar

[1]
https://htmlpreview.github.io/?https://github.com/Castaglia/proftpd-mod_proxy/blob/master/mod_proxy.html#Installation
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-03-22 Thread Hilmar Preuße
Control: severity -1 important
Control: tags -1 + moreinfo

Am 23.02.2020 um 04:27 teilte Nikolai Lusan mit:

> Trying to run proftpd with mod_vroot. The following error causes hosts using 
> vroot to not be loaded:
> 
>   # service proftpd check-config
>   2020-02-23 13:19:36,841 kiev proftpd[537394]: mod_dso/0.5: unable to 
> load 'mod_vroot.c'; check to see if '/usr/lib/proftpd/mod_vroot.la' exists
>   2020-02-23 13:19:36,841 kiev proftpd[537394]: fatal: LoadModule: error 
> loading module 'mod_vroot.c': No such file or directory on line 93 of 
> '/etc/proftpd/modules.conf'
>   2020-02-23 13:19:36,841 kiev proftpd[537394]: warning: unable to 
> include '/etc/proftpd/modules.conf': Operation not permitted
>   ProFTPD configuration OK
> 
I'm unable to reproduce. Tagging.

H.
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-03-20 Thread Hilmar Preuße
On 2/29/20 8:58 AM, Nikolai Lusan wrote:

Hi Nikolai,

> Sorry I haven't gotten back to you yet. I have a number of projects
> on the go, and since this is only impacting a small number of users
> on my home system it has fallen lower on my priority list - I was
> also trying to find solutions myself.
>
The reason why I ask is that we have a security issue in the proftp
1.3.6b in Debian testing, which has been solved in unstable. Therefore
I'd like to migrate that version ASAP. However I need to know if that
causes other issues, like incompatibility w/ mod-vroot, which needs to
be addressed by upstream.

> Apparently there are people that have the code from the upstream git 
> repository working with current proftpd, but I haven't had time to 
> dig into the differences in compilation methods.
> 
I've provided two possible solutions (downgrade proftpd and upgrade to
proftp-mod-vroot compiled w/ proftp v1.3.6c). Please try both and report
back if one of both solves the issue. Unfortunately I'm not very
familiar w/ the vroot module, hence I can't really help here. Please
call back ASAP.

Many thanks!

Hilmar
-- 
sigfault
#206401 http://counter.li.org





signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-29 Thread Hilmar Preuße
On 2/29/20 8:58 AM, Nikolai Lusan wrote:

Hi,

> Sorry I haven't gotten back to you yet. I have a number of projects
> on the go, and since this is only impacting a small number of users
> on my home system it has fallen lower on my priority list - I was
> also trying to find solutions myself.
>The reason why I ask is that we have a security issue in the proftp
1.3.6b in Debian testing, which has been solved in unstable. Therefore
I'd like to migrate that version ASAP. However I need to know if that
causes other issues, like incompatibility w/ mod-vroot, which needs to
be addressed by upstream.

> Apparently there are people that have the code from the upstream git 
> repository working with current proftpd, but I haven't had time to 
> dig into the differences in compilation methods.
> 
I've provided two possible solutions (downgrade proftpd and upgrade to
proftp-mod-vroot compiled w/ proftp v1.3.6c). Please try both and report
back if one of both solves the issue.

Many thanks!

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-29 Thread Nikolai Lusan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

Sorry I haven't gotten back to you yet. I have a number of projects on the
go, and since this is only impacting a small number of users on my home
system it has fallen lower on my priority list - I was also trying to find
solutions myself. Apparently there are people that have the code from the
upstream git repository working with current proftpd, but I haven't had
time to dig into the differences in compilation methods.


On Fri, 2020-02-28 at 23:23 +0100, Hilmar Preuße wrote:
> On 2/23/20 4:27 AM, Nikolai Lusan wrote:
> 
> > Trying to run proftpd with mod_vroot. The following error causes
> > hosts using vroot to not be loaded:
> > 
> I've built a package for proftpd-mod-vroot, which have a dep on
> proftpd-abi-1.3.6c [1]. Let me know if it solves your issue, then I'll
> trigger a rebuild of the package.
> 

I tried a similar trick, an a couple of other things. I haven't been able
to get it to work.

After installing the package from the link you provided (the package
installs fine) I get the following:


/tmp# service proftpd check-config 
2020-02-29 17:51:12,873 kiev proftpd[1118598]: mod_dso/0.5: unable to load 
'mod_vroot.c'; check to see if '/usr/lib/proftpd/mod_vroot.la' exists
2020-02-29 17:51:12,873 kiev proftpd[1118598]: fatal: LoadModule: error loading 
module 'mod_vroot.c': No such file or directory on line 92 of 
'/etc/proftpd/modules.conf'
2020-02-29 17:51:12,873 kiev proftpd[1118598]: warning: unable to include 
'/etc/proftpd/modules.conf': Operation not permitted
ProFTPD configuration OK


The DSO error is the same I have been getting when trying various
solutions. The warning on the modules.conf file comes with that, everything
else works fine, just the vroot based hosts that don't.

Thanks
- -- 
Nikolai Lusan 
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEVfd4GW6z4nsBxdLo4ZaDRV2VL6QFAl5aGbAACgkQ4ZaDRV2V
L6Rfqw//fmQdgIZCNGAkE+4DMQiN0WYzTt+DTsTQpe1gw79C8B84ya1FgZynNLmQ
D3WRYjVpA6oaUB4Ppz0znn+AuDjRPe0c6QkXIvtPBex/tPs0g+SQcJmofFfDdekN
Ku7hamwR1cf7eggUUf1QWfu9t69t7m2ej0LRznxPLpbzzTru+gN5ryx7nDDENee0
uxm4IwSxysFdGjoperf1JL9wQ7ohqujxbzp67vm00Els/1K9jH4S6u9yfjRZ8R22
DrLoPJR32znFceslsvTkQn+AygdES1O5mlU2dcLL7EWMeajAcAnCrzNpovDZSuhG
5ksz/aGRm0cwfsmwlnUE7mKVb+Aal0fMdGjOd2gPtkTeGhC2bhRjOYvtb/0ypfbi
kupwhWaSJbC0oKmoWFYJ4m4pSkBiVXmQnQ31AU6eppyajeLk2MN+qqFEdcCh1dg4
zKzSxRJzLEkGv9jefAd/RGfolMY9NCKQBkie7SRA852b70t8x3uyuSiJomaiHhhn
t64D+npcDizs3KpHsyztXh0w7ipaOxMnL0mCwiLytoT0zTt8Dw2KclpdfKaskVTW
3R+PDnx4vlkxotJABRUyw8QW6pai+lTO/O1bG7PIiFMXk1hN4nD9PuQxgRy6EMnr
ZtPcOcWZLJhRqVRcObVIUmS/G4gOVHehR4f2mzoGilfII5GZaqo=
=tT28
-END PGP SIGNATURE-



Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-28 Thread Hilmar Preuße
On 2/23/20 4:27 AM, Nikolai Lusan wrote:

Hi Nikolai,

> Trying to run proftpd with mod_vroot. The following error causes
> hosts using vroot to not be loaded:
> 
I've built a package for proftpd-mod-vroot, which have a dep on
proftpd-abi-1.3.6c [1]. Let me know if it solves your issue, then I'll
trigger a rebuild of the package.

Hilmar

[1] https://freeshell.de/~hille42/proftpd/951916/
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-23 Thread Hilmar Preuße
On 2/23/20 2:55 PM, Nikolai Lusan wrote:
> On Sun, 2020-02-23 at 14:49 +0100, Hilmar Preuße wrote:

Hi Nikolai,

>> Severity grave to make sure it doesn't enter testing.
> 
> Wouldn't that be better applied to proftpd-basic - since it was the update
> there that broke this? I posted a bug against mod-vroot because that is
> that package that is currently broken, but if you have proftpd-basic
> install along with a module that is not compatible (i.e. the version of
> mod-vroot currently packaged) then proftpd-basic will just install happily
> and break any configuration you have using that module.
> 
> As far as I can tell the new version of proftpd-basic has a different abi,
> not entirely sure what has changed on the inside of it.
> 
Last week I uploaded new versions for proftpd and proftpd-mod-vroot.
Hence I can't be sure, which upload broke the module. I'm just wondering
how you managed to install "proftpd-basic v1.3.6c-1", which provides the
proftpd-abi-1.3.6c, meanwhile the mod-vroot depends on (exactly)
proftpd-abi-1.3.6b.
Does downgrading the proftpd-basic to the version from testing solves
the issue?

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-23 Thread Nikolai Lusan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Sun, 2020-02-23 at 14:49 +0100, Hilmar Preuße wrote:
> Severity grave to make sure it doesn't enter testing.

Wouldn't that be better applied to proftpd-basic - since it was the update
there that broke this? I posted a bug against mod-vroot because that is
that package that is currently broken, but if you have proftpd-basic
install along with a module that is not compatible (i.e. the version of
mod-vroot currently packaged) then proftpd-basic will just install happily
and break any configuration you have using that module.

As far as I can tell the new version of proftpd-basic has a different abi,
not entirely sure what has changed on the inside of it.

Thanks

- -- 
Nikolai Lusan 
-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEVfd4GW6z4nsBxdLo4ZaDRV2VL6QFAl5ShGAACgkQ4ZaDRV2V
L6TA5Q//QhO9JfBzxtxLKSaYpAwpYlW+iidFf2mL6gZ1Ti5ghqokLZHc6TmuE+hO
ws4/ctuMvtrDHboT8wJlqALCFe2OXGD/utlt+p1K0wxB4vLLb1Fz+nHjWSlidFN1
ulNvOHrLY72F6hE30G//R5Rt/0ohh/ka54R4SeOfZhTUWMr150l6Vy7vC2I8+xqY
ZHv4KIqWuSvQf1w9f7Oig9N19vnoRPoR05P1qq8U4c9T5VtvyRoYEqQ8HZ0QRdCV
NEUFkYlaDGMdb20+CUdAIe4+sVH6Crxbhi4fB+mYKk9+oGau+c6JvtuJjOo1FeGM
5mNeMljPvEC6wetY7ys/NcUXxxkZ4KBDL2Y9UcjkwiPzrenQSMqu5pSlAbztVq1y
Di+oA1AG/+IrCZ3m4Lj11HMYDZTJnd9xAbNpd9GHGyVsG8M8lsK7FgqBtPDJgMyO
rShc+aoHFDvLl2sdzclqM1MyqQd2A2sY9toyxAkvzzcmMsHEevGjWUgrH98bXXnu
H8u6ZGaPGRn4Nux3XWUVrzy3uXO2TxNX20shSaFP61ErXoqNmEGyxyIE55kxauF5
prcpBlEsNcgRPGOry55jO9fHMuxC9O9rDR91+LJNtdN/1JfgwSku7g5wdW5lLJ7y
qsswjmwXEKZZeqiG/IoeF+8B5NiiMxoS0OdySliOMVP+ktQhl0Q=
=FVir
-END PGP SIGNATURE-



Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-23 Thread Hilmar Preuße
Control: severity -1 grave

On 2/23/20 4:27 AM, Nikolai Lusan wrote:

> Trying to run proftpd with mod_vroot. The following error causes hosts using 
> vroot to not be loaded:
> 
>   # service proftpd check-config
>   2020-02-23 13:19:36,841 kiev proftpd[537394]: mod_dso/0.5: unable to 
> load 'mod_vroot.c'; check to see if '/usr/lib/proftpd/mod_vroot.la' exists
>   2020-02-23 13:19:36,841 kiev proftpd[537394]: fatal: LoadModule: error 
> loading module 'mod_vroot.c': No such file or directory on line 93 of 
> '/etc/proftpd/modules.conf'
>   2020-02-23 13:19:36,841 kiev proftpd[537394]: warning: unable to 
> include '/etc/proftpd/modules.conf': Operation not permitted
>   ProFTPD configuration OK
> 
> The current proftpd-mod-vroot upstream also has this problem. The current 
> package in the repositories states:
> 

> Effectively proftpd-mod-vroot is unusable as of the most recent update of 
> proftpfd-basic.
> 
Severity grave to make sure it doesn't enter testing.

H.
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#951916: proftpd-mod-vroot: proftpd cannot load mod_vroot

2020-02-22 Thread Nikolai Lusan
Package: proftpd-mod-vroot
Version: 0.9.8-1
Severity: important

Dear Maintainer,

Trying to run proftpd with mod_vroot. The following error causes hosts using 
vroot to not be loaded:

# service proftpd check-config
2020-02-23 13:19:36,841 kiev proftpd[537394]: mod_dso/0.5: unable to 
load 'mod_vroot.c'; check to see if '/usr/lib/proftpd/mod_vroot.la' exists
2020-02-23 13:19:36,841 kiev proftpd[537394]: fatal: LoadModule: error 
loading module 'mod_vroot.c': No such file or directory on line 93 of 
'/etc/proftpd/modules.conf'
2020-02-23 13:19:36,841 kiev proftpd[537394]: warning: unable to 
include '/etc/proftpd/modules.conf': Operation not permitted
ProFTPD configuration OK

The current proftpd-mod-vroot upstream also has this problem. The current 
package in the repositories states:

Package: proftpd-mod-vroot
Version: 0.9.8-1
Installed-Size: 52
Maintainer: ProFTPD Maintainance Team 

Architecture: amd64
Depends: proftpd-basic (>= 1.3.4~rc2-2~), libc6 (>= 2.4), 
proftpd-abi-1.3.6b
Breaks: proftpd-basic (<< 1.3.4~rc2-2~)
Description-en: ProFTPD module mod_vroot
 The purpose of this module to is to implement a virtual chroot
 capability that does not require root privileges.
 The mod_vroot module provides this capability by using ProFTPD's
 FS API. It also allows one to map a directory out of the user chroot
 as an alias in the chroot for sharing common directories.
Description-md5: 16de4a75fecb2491776a45779373e9fb
Homepage: http://www.castaglia.org/proftpd/modules/mod_vroot.html
Section: net
Priority: optional
Filename: 
pool/main/p/proftpd-mod-vroot/proftpd-mod-vroot_0.9.8-1_amd64.deb
Size: 11440
MD5sum: c96c25771b8152e4f99430fe91d734fb
SHA256: 08ca4c6ce524c11ffa97e0821e9a941bd63c53d0a942c29ecb23421c5984cfa7


Effectively proftpd-mod-vroot is unusable as of the most recent update of 
proftpfd-basic.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages proftpd-mod-vroot depends on:
ii  libc6   2.29-10
ii  proftpd-basic [proftpd-abi-1.3.6c]  1.3.6c-1

proftpd-mod-vroot recommends no packages.

proftpd-mod-vroot suggests no packages.

-- no debconf information


Thanks.