commands hung forever #84

Open
opened 2019-08-14 19:07:20 +02:00 by stuba · 4 comments
stuba commented 2019-08-14 19:07:20 +02:00 (Migrated from github.com)

Hi,

I have tried to use this class from docker (7.2-fpm-alpine3.6) container, but for some reason all commands like dir seems to just hung forever. I have managed to debug a little bit and it seems to get stuck just when execute tries to write some data. For example listShares works without problems.

Im using wrapper with smbclient version 4.6.16. I downgraded from version 4.8 as I noticed there was some issues discussed just few days ago.

Does anybody have any idea hot to debug this problem? Users has read/write permissions for this file share. Could it be related to Alpine linux (BusyBox)

Hi, I have tried to use this class from docker (7.2-fpm-alpine3.6) container, but for some reason all commands like dir seems to just hung forever. I have managed to debug a little bit and it seems to get stuck just when execute tries to write some data. For example listShares works without problems. Im using wrapper with smbclient version 4.6.16. I downgraded from version 4.8 as I noticed there was some issues discussed just few days ago. Does anybody have any idea hot to debug this problem? Users has read/write permissions for this file share. Could it be related to Alpine linux (BusyBox)
raffis commented 2019-10-10 09:54:09 +02:00 (Migrated from github.com)

There is problem with smbclient >= 4.7.
You may try my fork with a patch regarding this problem (https://github.com/icewind1991/SMB/pull/78)

There is problem with smbclient >= 4.7. You may try my fork with a patch regarding this problem (https://github.com/icewind1991/SMB/pull/78)
stuba commented 2020-08-20 14:10:03 +02:00 (Migrated from github.com)

Is there any other fix than trying to find old that 4.7 version?

Is there any other fix than trying to find old that 4.7 version?
stuba commented 2020-08-24 15:47:36 +02:00 (Migrated from github.com)

At leas in my case pecl install smbclient helped.

Now running
smbclient --version Version 4.11.9

At leas in my case pecl install smbclient helped. Now running `smbclient --version Version 4.11.9`
adsworth commented 2021-01-31 01:07:33 +01:00 (Migrated from github.com)

I just ran into this problem as well and I don't think it has something to do with the version.
I get the problem in an alpine 3.12 LXC container with smbclient 4.12.9
In a qemu VM of the musl (which alpine also uses) version of void linux with smbclient 4.13.3 it works fine.
And also in an Ubuntu 20.10 LXC container with smbclient 4.12.5-Ubuntu it works fine.

So I guess it has something to do with how alpine compiles smbclient. For example, the Alpine version is the only version without readline support.

I just ran into this problem as well and I don't think it has something to do with the version. I get the problem in an alpine 3.12 LXC container with smbclient 4.12.9 In a qemu VM of the musl (which alpine also uses) version of void linux with smbclient 4.13.3 it works fine. And also in an Ubuntu 20.10 LXC container with smbclient 4.12.5-Ubuntu it works fine. So I guess it has something to do with how alpine compiles smbclient. For example, the Alpine version is the only version without readline support.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
icewind/SMB#84
No description provided.