Bug 921328
Summary: | The cgred service fails to start with an empty configuration file. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jamie Duncan <jduncan> | ||||
Component: | libcgroup | Assignee: | Peter Schiffer <pschiffe> | ||||
Status: | CLOSED ERRATA | QA Contact: | Mike Gahagan <mgahagan> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.3 | CC: | ccui, chhudson, jsafrane, lnovich, ovasik, varekova | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: cgred service was refusing to start if it's configuration file was missing or empty. however it was OK if file contained only comments
Consequence: cgred service failed to start with empty configuration file
Fix: remove explicit checks for existence of configuration file
Result: cgred service starts with missing or empty configuration file
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-11-21 22:32:44 UTC | Type: | Bug | ||||
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: | 835616, 947775, 960070 | ||||||
Attachments: |
|
Description
Jamie Duncan
2013-03-14 02:43:04 UTC
Created attachment 762873 [details]
libcgroup-0.37-cgred-empty-config.patch
[root@dhcp137-133 initscript]# rpm -q libcgroup libcgroup-0.40.rc1-2.el6.x86_64 [root@dhcp137-133 initscript]# rm /etc/cgrules.conf rm: remove regular file `/etc/cgrules.conf'? y [root@dhcp137-133 initscript]# service cgred restart # no cgrules.conf Stopping CGroup Rules Engine Daemon... [ OK ] Starting CGroup Rules Engine Daemon: [ OK ] [root@dhcp137-133 initscript]# service cgred start # empty cgrules.conf Starting CGroup Rules Engine Daemon: [ OK ] [root@dhcp137-133 initscript]# ps ax | grep cg 13 ? S 0:00 [cgroup] 28322 ? Ss 0:00 /sbin/cgrulesengd -g cgred 28327 pts/2 S+ 0:00 grep cg [root@dhcp137-133 initscript]# service cgred restart # cgrules.conf only comments Stopping CGroup Rules Engine Daemon... [ OK ] Starting CGroup Rules Engine Daemon: [ OK ] Fixed in libcgroup-0.40.rc1-2.el6.x86_64, this can be verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1685.html |