jack2015 / openpli-dreambox-oe-core

Build environment based on OpenPLi-homebuild (develop branch).
GNU General Public License v3.0
1 stars 1 forks source link

samba fails when building feed #4

Open gjstroom opened 1 year ago

gjstroom commented 1 year ago

I want samba for my dm800sev2 but when I try to build the feed it fails on building samba. I had to remove the line: --without-dnsupdate \ from samba_4.%.bbappend The actual error when building was: waf: error: no such option: --without-dnsupdate

ps I use the master repository and a Ubunutu 22.04 machine

The build is fine when I remove the line specifed above, but samba doesn't work.

root@dm800sev2:~# smbd -D -i smbd version 4.17.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2022 daemon_status: daemon 'smbd' : Starting process ... smbd_open_one_socket: open_socket_in failed: Protocol not available smbd_open_one_socket: open_socket_in failed: Protocol not available smbd_open_one_socket: open_socket_in failed: Protocol not available smbd_open_one_socket: open_socket_in failed: Protocol not available open_sockets_smbd: No sockets available to bind to.

INTERNAL ERROR: open_sockets_smbd() failed in pid 4339 (4.17.5) If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see

PANIC (pid 4339): open_sockets_smbd() failed in 4.17.5 BACKTRACE: 1 stack frames:

0 /usr/lib/samba/libgenrand-samba4.so(log_stack_trace+0x50) [0x77761204]

dumping core in /var/log/samba/cores/smbd Aborted

I found a temporarry (dirty) solution:

edit /etc/opkg/mips32el-feed.conf to src/gz openpli-mips32el http://downloads.openpli.org/feeds/openpli-develop/mips32el opkg update opkg --force-depends install samba-base

The guys form oe-alliance did a samba backport to 4.15.13 which works ! https://github.com/oe-alliance/oe-alliance-core/tree/5.3/meta-oe/recipes-connectivity/samba They only use another default setup which requires you to set a password for your samba shares. When you remove the meta-openpli/recipes-connectivity/samba and replace it with the the oe-alliance one, samba builds fine ! To get it working just like the Pli implementation I copied over the /etc/samba from another PLi box.