Running samba domain provisioning inside sysbox makes it panic
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.9k
- Forks
- 230
- Avg merge
- 7h 48m
- Merged PRs (30d)
- 3
Description
Steps to reproduce:
docker run --runtime=sysbox-runc -it --rm --init alpine:latest sh
apk add --no-cache samba-dc
rm /etc/samba/smb.conf
samba-tool domain provision \
--server-role=dc \
--dns-backend NONE \
--realm EXAMPLE.COM \
--domain example \
--adminpass FooBARTEST123
Makes samba crash
Security context active token stack underflow!
===============================================================
INTERNAL ERROR: Security context active token stack underflow! in () () pid 69 (4.20.6)
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 https://wiki.samba.org/index.php/Bug_Reporting
===============================================================
PANIC (pid 69): Security context active token stack underflow! in 4.20.6
unable to produce a stack trace on this platform
Can not dump core: corepath not set up
Filing here per:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked section of docs/user-guide/limitations.md, then reproduce the panic using the provided docker and samba-tool commands. Determine whether the expected outcome is a Sysbox change or documentation of the limitation; done should be defined by the issue's crash behavior or an explicit limitation update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100