Bug 56874

Summary: Error for unknown capabilities lists all capabilities
Product: systemd Reporter: Anders Olofsson <Anders.Olofsson>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to print only the failed capability

Description Anders Olofsson 2012-11-08 13:26:16 UTC
Created attachment 69697 [details]
Patch to print only the failed capability

If the list of capabilities contains an entry not recognized by libcap, the error printed by systemd lists all capabilities without specifying which one failed.

The attached patch changes the error message to print the failed capability instead of the entire set.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.