Skip to content

Conversation

@A6GibKm
Copy link
Collaborator

@A6GibKm A6GibKm commented Jun 2, 2025

The unit file is a user unit file. This means that it will automatically fail (with code 218) when started with either the CapabilityBoundingSet or AmbientCapabilities properties. This can be tested by running any of:

systemd-run --pipe --wait --user --property CapabilityBoundingSet=CAP_IPC_LOCK echo 1
systemd-run --pipe --wait --user --property AmbientCapabilities=CAP_IPC_LOCK echo 1

The unit file is a user unit file. This means that it will automatically
fail (with code 218) when started with either the CapabilityBoundingSet
or AmbientCapabilities properties. This can be tested by running any of:

```
systemd-run --pipe --wait --user --property CapabilityBoundingSet=CAP_IPC_LOCK echo 1
systemd-run --pipe --wait --user --property AmbientCapabilities=CAP_IPC_LOCK echo 1
```
@bilelmoussaoui bilelmoussaoui merged commit d7cc01d into main Jun 2, 2025
7 checks passed
@bilelmoussaoui bilelmoussaoui deleted the service-drop-caps branch June 2, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants