Bug 609816
| Summary: | serivces of libcgroup not LSB-compliant | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Caspar Zhang <czhang> |
| Component: | libcgroup | Assignee: | Ivana Varekova <varekova> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0 | CC: | dkovalsk, jsafrane, ovasik, qcai |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libcgroup-0.36.1-6.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-10 21:02:24 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: | 633349 | ||
|
Description
Caspar Zhang
2010-07-01 08:26:55 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Confirmed init script fixes with /CoreOS/libcgroup/Sanity/initscript/ test. (Note: a few changes were required to the test, I'll send them to the author)
# rpm -q libcgroup
libcgroup-0.36.1-6.el6.x86_64
# cd /mnt/tests/CoreOS/libcgroup/Sanity/initscript/
# make
...::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Checking for the presence of libcgroup rpm
:: [ PASS ] :: Running 'rm -f /etc/cgconfig.conf /etc/cgrules.conf /etc/sysconfig/cgred.conf'
:: [ LOG ] :: Duration: 0s
:: [ LOG ] :: Assertions: 2 good, 0 bad
:: [ PASS ] :: RESULT: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgconfig Start - bad-configured
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Try start when /etc/cgconfig.conf not exist
:: [ PASS ] :: Running 'service cgconfig status'
:: [ PASS ] :: Running 'touch /etc/cgconfig.conf'
:: [ PASS ] :: Try start when /etc/cgconfig.conf not configured
:: [ PASS ] :: Running 'service cgconfig status'
:: [ LOG ] :: Duration: 0s
:: [ LOG ] :: Assertions: 5 good, 0 bad
:: [ PASS ] :: RESULT: cgconfig Start - bad-configured
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgconfig Start - good-configured
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Running 'echo " mount { cpuset = /cgroup/cpuset; cpu = /cgroup/cpu; cpuacct = /cgroup/cpuacct; memory = /cgroup/memory; devices = /cgroup/devices; freezer = /cgroup/freezer; net_cls = /cgroup/net_cls; blkio = /cgroup/blkio; } " > /etc/cgconfig.conf'
:: [ PASS ] :: Running 'service cgconfig start'
:: [ PASS ] :: Running 'service cgconfig status'
:: [ PASS ] :: Try start when already running
:: [ PASS ] :: Running 'service cgconfig status'
:: [ PASS ] :: Running 'service cgconfig restart'
:: [ PASS ] :: Running 'service cgconfig status'
:: [ PASS ] :: Running 'service cgconfig reload'
:: [ PASS ] :: Running 'service cgconfig status'
:: [ LOG ] :: Duration: 2s
:: [ LOG ] :: Assertions: 9 good, 0 bad
:: [ PASS ] :: RESULT: cgconfig Start - good-configured
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgconfig Stop
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Running 'service cgconfig stop'
:: [ PASS ] :: Running 'service cgconfig status'
:: [ PASS ] :: Try stop when already stopped
:: [ PASS ] :: Running 'service cgconfig status'
:: [ LOG ] :: Duration: 1s
:: [ LOG ] :: Assertions: 4 good, 0 bad
:: [ PASS ] :: RESULT: cgconfig Stop
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgconfig Cond Restart
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Try condrestart when already running
:: [ PASS ] :: Running 'service cgconfig status'
:: [ PASS ] :: Try condrestart when stopped
:: [ PASS ] :: Running 'service cgconfig status'
:: [ LOG ] :: Duration: 1s
:: [ LOG ] :: Assertions: 4 good, 0 bad
:: [ PASS ] :: RESULT: cgconfig Cond Restart
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgred Start
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Try start when cgconfig not running
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'rm -f /etc/cgrules.conf'
:: [ PASS ] :: Try start when /etc/cgrules.conf not exist
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'service cgred start'
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'service cgred start'
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'service cgred restart'
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'service cgred reload'
:: [ PASS ] :: Running 'service cgred status'
:: [ LOG ] :: Duration: 2s
:: [ LOG ] :: Assertions: 13 good, 0 bad
:: [ PASS ] :: RESULT: cgred Start
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgred Stop
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Running 'service cgred stop'
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'service cgred stop'
:: [ PASS ] :: Running 'service cgred status'
:: [ LOG ] :: Duration: 0s
:: [ LOG ] :: Assertions: 4 good, 0 bad
:: [ PASS ] :: RESULT: cgred Stop
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgred Cond Restart
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Running 'service cgred condrestart'
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'service cgred condrestart'
:: [ PASS ] :: Running 'service cgred status'
:: [ LOG ] :: Duration: 1s
:: [ LOG ] :: Assertions: 4 good, 0 bad
:: [ PASS ] :: RESULT: cgred Cond Restart
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgred dead and /var/run pid file exists.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Running 'killall -9 cgrulesengd'
:: [ PASS ] :: Running 'service cgred status'
:: [ LOG ] :: Duration: 1s
:: [ LOG ] :: Assertions: 2 good, 0 bad
:: [ PASS ] :: RESULT: cgred dead and /var/run pid file exists.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: cgred dead and /var/lock file exists.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ PASS ] :: Running 'rm /var/run/cgred.pid'
:: [ PASS ] :: Running 'service cgred status'
:: [ PASS ] :: Running 'rm /var/lock/subsys/cgred'
:: [ LOG ] :: Duration: 0s
:: [ LOG ] :: Assertions: 3 good, 0 bad
:: [ PASS ] :: RESULT: cgred dead and /var/lock file exists.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: Duration: 0s
:: [ LOG ] :: Assertions: 0 good, 0 bad
:: [ PASS ] :: RESULT: Cleanup
:: [15:28:01] :: JOURNAL XML: /tmp/beakerlib-TVK1RH4/journal.xml
:: [15:28:01] :: JOURNAL TXT: /tmp/beakerlib-TVK1RH4/journal.txt
Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |