samba4Full: is not full (missing clustering support)
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- PR merge metrics
- PR metrics pending
Description
Nixpkgs version
- Stable (26.05)
Describe the bug
The samba4Full package is compiled without the --with-cluster-support flag.
There is no override/option(?) for clustering yet.
Steps to reproduce
- configure samba with
services.samba.package = pkgs.samba4Full -
[youruser@yourmachine:~]$ smbd -b [...] Cluster support features: NONE [...]
Expected behaviour
I'd expect samba4Full to be built with all features.
Screenshots
No response
Relevant log output
Additional context
https://discourse.nixos.org/t/how-can-i-get-samba-ctdb/78249
I tried overriding the package to compile with clustering support myself but it failed due to FHS paths. This attempt is documented in the Discourse help request but I believe that this should actually be fixed on the package level.
Weakly related to #532714
System metadata
Irrelevant in this context
Notify maintainers
@aneeshusa
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
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 pkgs/servers/samba/4.x.nix and the samba4Full definition in pkgs/top-level/all-packages.nix. Compare the package configuration with Samba's --with-cluster-support requirements and reproduce using services.samba.package = pkgs.samba4Full, then run smbd -b. Done means samba4Full exposes cluster support without the FHS-path failure described in the issue.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100