Bug 56874 - Error for unknown capabilities lists all capabilities
Summary: Error for unknown capabilities lists all capabilities
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 13:26 UTC by Anders Olofsson
Modified: 2012-11-19 16:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to print only the failed capability (781 bytes, text/plain)
2012-11-08 13:26 UTC, Anders Olofsson
Details

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.