termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.8k stars 2.94k forks source link

[Bug]: updated 32 bit samba package currently broken #16629

Open jayeAch opened 1 year ago

jayeAch commented 1 year ago

Problem description

32 bit version of samba currently broken after package upgrade. I have two tablets, one 64 bit and the other 32 bit with the same termux app and samba configuration and a 32 bit Android TV box with the same setup. The 64 bit version of samba is working flawlessly. The 32 bit version is broken on both 32 bit devices.

What steps will reproduce the bug?

This output occurs when a connection attempt is made.

.../files/home # smbd -i smbd version 4.16.10 started. Copyright Andrew Tridgell and the Samba Team 1992-2022 daemon_status: daemon 'smbd' : Starting process ... [2023/05/12 22:05:05, 0] ../../lib/util/debug.c:1225(reopen_one_log) reopen_one_log: Unable to open new log file '/data/data/com.termux/files/usr/var/log/samba/log./data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd': No such file or directory [2023/05/12 22:05:05, 0] ../../lib/util/debug.c:1225(reopen_one_log) reopen_one_log: Unable to open new log file '/data/data/com.termux/files/usr/var/log/samba/log./data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd': No such file or directory [2023/05/12 22:05:05, 0] ../../lib/util/util.c:215(directory_create_or_exist) directory_create_or_exist: mkdir failed on directory /data/data/com.termux/files/usr/var/log/samba/cores//data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd: No such file or directory [2023/05/12 22:05:05, 0] ../../source3/lib/dumpcore.c:73(get_default_corepath) Failed to create /data/data/com.termux/files/usr/var/log/samba/cores//data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd for user 0 with mode 0700 [2023/05/12 22:05:05, 0] ../../source3/lib/dumpcore.c:257(dump_core_setup) Unable to setup corepath for /data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd: No such file or directory [2023/05/12 22:05:05, 0] ../../source3/rpc_server/rpc_host.c:2968(main) /data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd version 4.16.10 started. Copyright Andrew Tridgell and the Samba Team 1992-2022 [2023/05/12 22:05:05.350334, 0] ../../lib/util/debug.c:1225(reopen_one_log) reopen_one_log: Unable to open new log file '/data/data/com.termux/files/usr/var/log/samba/log./data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd': No such file or directory

What is the expected behavior?

A functioning samba server.

System information

termux-info:

Termux Variables: TERMUX_APK_RELEASE=GITHUB TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP_PID=12663 TERMUX_IS_DEBUGGABLE_BUILD=1 TERMUX_VERSION=0.118.0 Packages CPU architecture: arm Subscribed repositories:

sources.list

deb https://packages-cf.termux.dev/apt/termux-main/ stable main Updatable packages: All packages up to date termux-tools version: 1.38.1 Android version: 10 Kernel build information: Linux localhost 4.9.180 #1 SMP PREEMPT Mon May 23 09:03:57 CST 2022 armv8l Android Device manufacturer: askey Device model: sti6140d360 LD Variables: LD_LIBRARY_PATH= LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so

ioiioo commented 11 months ago

I have the same problem,I report this error when I make a samba connection

[2023/08/18 00:47:41,  0] ../../source3/lib/dumpcore.c:73(get_default_corepath)
  Failed to create /data/data/com.termux/files/usr/var/log/samba/cores//data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd for user 10087 with mode 0700
[2023/08/18 00:47:41,  0] ../../source3/lib/dumpcore.c:257(dump_core_setup)
  Unable to setup corepath for /data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd: No such file or directory
[2023/08/18 00:47:41,  0] ../../source3/rpc_server/rpc_host.c:2968(main)
  /data/data/com.termux/files/usr/libexec/samba/samba-dcerpcd version 4.16.10 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2022

.../libexec/samba $ termux-info

Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=5489
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
Updatable packages:
vim-runtime/stable 9.0.1700 all [upgradable from: 9.0.1650]
vim/stable 9.0.1700 arm [upgradable from: 9.0.1650]
termux-tools version:
1.38.5
Android version:
9
Kernel build information:
Linux localhost 4.9.113 #1 SMP PREEMPT Thu Jul 16 00:25:53 CST 2020 armv7l Android