Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-11 Thread Mathieu Parent
2017-02-03 11:54 GMT+01:00 Michael Meskes : >> Here is an updated version of the patch, targeting upstream. >> >> Can you try the attached patch with both lua-socket versions? >> - 3.0~rc1+git+321c0c9-2 >> - 3.0~rc1+git+ac3201d-3 > > Both seem to work, i.e. I can re-start and login to the server bo

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-03 Thread Michael Meskes
> Here is an updated version of the patch, targeting upstream. > > Can you try the attached patch with both lua-socket versions? > - 3.0~rc1+git+321c0c9-2 > - 3.0~rc1+git+ac3201d-3 Both seem to work, i.e. I can re-start and login to the server both times. Great work! Michael -- Michael Meskes M

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-02 Thread Mathieu Parent
2017-02-02 21:36 GMT+01:00 Mathieu Parent : > 2017-02-02 20:36 GMT+01:00 Michael Meskes : >>> Sorry, my patch was wrong >>> >>> local _, unix = pcall(require, "socket.unix"); >>> if unix then >>>socket.unix = unix.stream or unix.tcp; >>> end >>> >> >> This one seems to work. Gre

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-02 Thread Mathieu Parent
2017-02-02 20:36 GMT+01:00 Michael Meskes : >> Sorry, my patch was wrong >> >> local _, unix = pcall(require, "socket.unix"); >> if unix then >>socket.unix = unix.stream or unix.tcp; >> end >> > > This one seems to work. Great, thank you so much. > >> Unfortunately I can't reall

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-02 Thread Michael Meskes
> Sorry, my patch was wrong > > local _, unix = pcall(require, "socket.unix"); > if unix then >    socket.unix = unix.stream or unix.tcp; > end > This one seems to work. Great, thank you so much.    > Unfortunately I can't really test the patches I propose, so I beg > your > pard

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-02 Thread Enrico Tassi
On Thu, Feb 02, 2017 at 10:08:48AM +0100, Michael Meskes wrote: > > Sorry, I'm a bit puzzled.  The only module with such error is > > sasl_dovecot that AFAICT is not part of the debian package. > > Correct, nobody ever claimed it was. > > > Anyway, I was wrong saying that the incriminated line is

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-02 Thread Michael Meskes
> Sorry, I'm a bit puzzled.  The only module with such error is > sasl_dovecot that AFAICT is not part of the debian package. Correct, nobody ever claimed it was. > Anyway, I was wrong saying that the incriminated line is fine in 5.1 > but > not in 5.2.  It is wrong in 5.1 too.  Could you try the

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-02-01 Thread Enrico Tassi
On Fri, Jan 27, 2017 at 11:46:26AM +0100, Michael Meskes wrote: > On Wed, Jan 25, 2017 at 10:48:43PM +0100, Mathieu Parent wrote: > The patch does not seem to work. I just installed > lua-socket_3.0~rc1+git+ac3201d-3_amd64.deb manually, re-started prosody and > got 'luasocket was not compiled wit

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-30 Thread Michael Meskes
> > The patch does not seem to work. I just installed > > lua-socket_3.0~rc1+git+ac3201d-3_amd64.deb manually, re-started > > prosody and got 'luasocket was not compiled with UNIX sockets > > support' > > again. > > Could you please confirm you are on lua 5.2? No, I'm not because prosody depends

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-30 Thread Enrico Tassi
On Fri, Jan 27, 2017 at 11:46:26AM +0100, Michael Meskes wrote: > On Wed, Jan 25, 2017 at 10:48:43PM +0100, Mathieu Parent wrote: > The patch does not seem to work. I just installed > lua-socket_3.0~rc1+git+ac3201d-3_amd64.deb manually, re-started > prosody and got 'luasocket was not compiled with

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-27 Thread Michael Meskes
On Wed, Jan 25, 2017 at 10:48:43PM +0100, Mathieu Parent wrote: The patch does not seem to work. I just installed lua-socket_3.0~rc1+git+ac3201d-3_amd64.deb manually, re-started prosody and got 'luasocket was not compiled with UNIX sockets support' again. Michael -- Michael Meskes Michael at Fa

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-26 Thread Michael Meskes
> The way you want will make prosody-modules break when someone start > to > use lua-socket from stretch-backports. Well, stretch-backports should not have gotten an API update during freeze either. > The unix socket API is not stable nor documented yet [1], being tied > to an API that we know wi

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Courtney Bane
On Wed, Jan 25, 2017 at 10:48:43PM +0100, Mathieu Parent wrote: > Will look at a fix inside lua-socket (preserving both > compatibilities), but please relax your rules to help find a fix for > all cases. I just opened a pull request[1] with upstream that adds backwards compatibility wrappers. It s

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Mathieu Parent
2017-01-25 22:15 GMT+01:00 Michael Meskes : > Control: reassign -1 lua-socket > > I don't think this is the way to go. There is no grave bug in prosody-modules, > it's lua-socket that changed its API during freeze. The way I understand our > freeze policy this is a no-go, but feel free to check wit

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Michael Meskes
Control: reassign -1 lua-socket I don't think this is the way to go. There is no grave bug in prosody-modules, it's lua-socket that changed its API during freeze. The way I understand our freeze policy this is a no-go, but feel free to check with the release team. Michael -- Michael Meskes Micha

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Mathieu Parent
Control: reassign -1 prosody-modules Control: tag -1 + patch upstream confirmed On Wed, 25 Jan 2017 13:04:02 +0100 Enrico Tassi wrote: > On Wed, Jan 25, 2017 at 10:24:25AM +0100, Michael Meskes wrote: > > > Hopefully somebody is prepared to fix all rdepends. > > > > Or better reverts the API cha

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Mathieu Parent
On Wed, 25 Jan 2017 13:37:41 +0100 Enrico Tassi wrote: > On Wed, Jan 25, 2017 at 10:24:25AM +0100, Michael Meskes wrote: > > > Hopefully somebody is prepared to fix all rdepends. > > > > Or better reverts the API change. > > I gave a quick look at the problem. > > I don't know why Mathieu packaged

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Enrico Tassi
On Wed, Jan 25, 2017 at 10:24:25AM +0100, Michael Meskes wrote: > > Hopefully somebody is prepared to fix all rdepends. > > Or better reverts the API change. I gave a quick look at the problem. I don't know why Mathieu packaged a new upstream snapshot exactly, I hope it is not for the new unix.t

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Enrico Tassi
On Wed, Jan 25, 2017 at 10:24:25AM +0100, Michael Meskes wrote: > > Hopefully somebody is prepared to fix all rdepends. > > Or better reverts the API change. The bug is definitely important. Mathieu can you take care of it? Best, -- Enrico Tassi

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Michael Meskes
> Hopefully somebody is prepared to fix all rdepends. Or better reverts the API change. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! Go SF

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-25 Thread Michael Meskes
On Mon, Jan 23, 2017 at 09:43:40PM -0600, Courtney Bane wrote: > I just ran in to this problem affecting my ekeyd installation (just > reported as #852380). Unix domain sockets are available, but the API > changed in the new version. > > Instead of calling socket.unix() to create a socket, you now

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-23 Thread Courtney Bane
I just ran in to this problem affecting my ekeyd installation (just reported as #852380). Unix domain sockets are available, but the API changed in the new version. Instead of calling socket.unix() to create a socket, you now need to call socket.unix.tcp(). Note that there is another API change co

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-23 Thread Michael Meskes
On Sun, Jan 22, 2017 at 10:20:19PM +0100, Adrien CLERC wrote: > Severity: important Actually I'm tempted to say this should get a higher severity because it breaks existing prosody installations. > After upgrading to the latest version, my Prosody setup fails, because > I'm relying on SASL authen

Bug#852250: [lua-socket] luasocket was not compiled with UNIX sockets support

2017-01-22 Thread Adrien CLERC
Package: lua-socket Version: 3.0~rc1+git+ac3201d-2 Severity: important --- Please enter the report below this line. --- After upgrading to the latest version, my Prosody setup fails, because I'm relying on SASL authentication using a unix socket. Is it easily fixable? Thanks for the package maint