Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CAP_SETPCAP to CapabilityBoundingSet in irqbalance.service #328

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

liutgnu
Copy link
Contributor

@liutgnu liutgnu commented Aug 20, 2024

A error message of 'libcap-ng used by "/usr/sbin/irqbalance" failed dropping bounding set due to not having CAP_SETPCAP in capng_apply' is noticed.

Previously a similar issue1 has been fixed by the following commit:

efab272 Drop CapabilityBoundingSet from irqbalance service
43751df drop NoNewPrivs from irqbalance service

in which, CapabilityBoundingSet and NoNewPrivs parameters are dropped from the irqbalance.service, and get restored by the following commit later:

a99b604 Set additional systemd options for service

So this patch will not do the dropping again, but add CAP_SETPCAP to CapabilityBoundingSet instead.

A error message of 'libcap-ng used by "/usr/sbin/irqbalance" failed dropping
bounding set due to not having CAP_SETPCAP in capng_apply' is noticed.

Previously a similar issue[1] has been fixed by the following commit:

    efab272 Drop CapabilityBoundingSet from irqbalance service
    43751df drop NoNewPrivs from irqbalance service

in which, CapabilityBoundingSet and NoNewPrivs parameters are dropped
from the irqbalance.service, and get restored by the following commit
later:

    a99b604 Set additional systemd options for service

So this patch will not do the dropping again, but add CAP_SETPCAP to
CapabilityBoundingSet instead.

[1]: Irqbalance#182

Signed-off-by: Tao Liu <[email protected]>
@nhorman nhorman merged commit c519d1d into Irqbalance:master Aug 20, 2024
10 checks passed
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.

2 participants