nestybox / nestybox/sysbox

Running samba domain provisioning inside sysbox makes it panic

Open
#912 4 comments 0 reactions 0 assignees View on GitHub

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:

https://github.com/nestybox/sysbox/blob/46ba726e8e894aa22e20465a32d22dfa2863ec12/docs/user-guide/limitations.md#L38-L39

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.