[lxc-devel] LXD/LXC container: SAMBA AD installation fail during configuration

Hudson FAS hudsonfas at gmail.com
Fri Nov 13 23:58:53 UTC 2015


>Quoting Hudson FAS (hudsonfas at gmail.com <http://lists.linuxcontainers.org/listinfo/lxc-devel>):>>* After created the container  "dcserv", and install "samba smbclient
*>>* krb5-user", the following command resulted errors:
*>...>>* You are not root or your system do not support xattr, using
tdb backend for
*>>* attributes.
*

>

>>* xattr_tdb_removexattr() failed to get vfs_handle->data! *>>*
process_usershare_file: share name unknown service (snum == -1) contains *>>*
invalid characters (any of %<>*?|/\+=;:",) *>>* Security context active
token stack underflow! *

>

>... sounds like a bug in the xattr-tdb code in samba, though i could be >wrong.
Does it fix the issue if you run as a privileged container?

>

>lxc config set sambacontainer security.privileged true


after 'lxc config set dcserv security.privileged true', it's works


>Do you happen to know which xattrs it is trying to set?

>-serge


My packages:

ii  liblxc1                            1.1.5-0ubuntu1~ubuntu15.10.1~ppa1   amd64
ii  lxc                                1.1.5-0ubuntu1~ubuntu15.10.1~ppa1   amd64
ii  lxc-templates                      1.1.5-0ubuntu1~ubuntu15.10.1~ppa1   amd64
ii  lxcfs                              0.11-0ubuntu3~ubuntu15.10.1~ppa1    amd64
ii  lxd                                0.21-0ubuntu5~ubuntu15.10.1~ppa1    amd64
ii  lxd-client                         0.21-0ubuntu5~ubuntu15.10.1~ppa1    amd64
ii  lxd-tools                          0.21-0ubuntu5~ubuntu15.10.1~ppa1    amd64
ii  python3-lxc                        1.1.5-0ubuntu1~ubuntu15.10.1~ppa1   amd64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20151113/7d9de010/attachment.html>


More information about the lxc-devel mailing list