unexpected `selinux` features enabled when using `--workspace`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 24.1k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 365
Description
I have a linux environment that doesnt have any selinux incl. libselinux. When building by cargo build --workspace --feature unix, I have got a error said failed to build selinux-sys because I don't have any libselinux installed. I think this is a unexpected problem when not choosing to enable selinux features.
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 by reproducing cargo build --workspace --feature unix in a Linux environment without libselinux, then inspect the workspace feature definitions and dependency configuration. Done means the Unix workspace build does not enable SELinux support unless its feature is explicitly selected, and the reported build succeeds without libselinux installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- build-system, cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100