Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#39557 - [tevent] [samba] samba-tool cannot find libpytalloc-util.so.2

Attached to Project: Arch Linux
Opened by Hef (hef) - Thursday, 20 March 2014, 14:03 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 28 April 2014, 17:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
running samba-tool produces the foloowing output

samba-tool
Traceback (most recent call last):
File "/usr/bin/samba-tool", line 34, in <module>
from samba.netcmd.main import cmd_sambatool
File "/usr/lib/python2.7/site-packages/samba/__init__.py", line 27, in <module>
import samba.param
ImportError: libpytalloc-util.so.2: cannot open shared object file: No such file or directory


Additional info:
* package version(s)
samba 4.1.6-1
tevent 0.9.21-2
talloc 2.1.0-1
* config and/or log files etc.


Steps to reproduce:

install samba
run samba-tool


It looks like libpytalloc-util.so.2 used to love in to /usr/lib, but now lives in /usr/lib/tevent

as a work around I created /etc/ld.so.conf.d/tevent.conf with a single line '/usr/lib/tevent' and ran `sudo ldconfig`
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 28 April 2014, 17:19 GMT
Reason for closing:  Fixed
Comment by tom (archtom) - Friday, 21 March 2014, 17:07 GMT
Hey,

I had an issue with samba not starting at boot or systemd script after talloc 2.1.0-1 and tevent 0.9.21-2 updates. I posted this issue here in https://bugs.archlinux.org/task/39535

After doing your steps everything seems to work fine again on the latest packages. Thanks for the temporary workaround ;)
Comment by Stuart Ian Naylor (stuartianaylor) - Sunday, 23 March 2014, 15:37 GMT
I was the same but followed your fix, many thanks.

Great to have such an up to date version of samba4 no other distro is even close.

Thought I would mention this here and not sure to call it a bug.

If you try to remove the group everybody from a file share it just comes back again.

Try following the samba4 home share example and see what I mean
https://wiki.samba.org/index.php/Setting_up_a_home_share

I have been playing with the sernet 4.1.6 for various distro's and they don't do the same?! Strange as I guess you only compiled and wouldn't really expect that.

Many thanks

First time with arch, fast small and the packages are bang up to date.
Bit of a gem really.

Comment by tom (archtom) - Monday, 28 April 2014, 16:52 GMT
Fixed for me after latest talloc and tevent updates, temporary workaround could be removed! Thanks

Loading...