Bug 667712

Summary: cgclassify returns 1 on success
Product: [Fedora] Fedora Reporter: Jan Safranek <jsafrane>
Component: libcgroupAssignee: Jan Safranek <jsafrane>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: balbir, dhaval.bugzilla, jsafrane, varekova
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libcgroup-0.37.1-2.fc16.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 667957 (view as bug list) Environment:
Last Closed: 2011-04-13 12:51:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 667957    

Description Jan Safranek 2011-01-06 15:29:12 UTC
Description of problem:
'cgclassify -g cpu,memory:group1 1701' returns nozero exit code even if everything succeeds.

Version-Release number of selected component (if applicable):
libcgroup-0.37

How reproducible:
always

Steps to Reproduce:
1. cgclassify -g cpu,memory:group1 1701
2. echo $?
  
Actual results:
1

Expected results:
0

Additional info:
The process seems to be correctly moved to the right group, just the exit code is wrong.

Comment 1 Jan Safranek 2011-01-06 15:29:51 UTC
I'll look at it