Bug 1126003
Summary: | users don't get moved to a cgroup after reboot - restart cgred fixes it | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | lejeczek <peljasz> |
Component: | libcgroup | Assignee: | Jan Chaloupka <jchaloup> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | jsafrane, peljasz, varekova |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-09 13:06:36 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: |
Description
lejeczek
2014-08-01 14:50:49 UTC
Hi, lejeczek, I don't understand your description. Are you saying it is wrong to start cgred after slapd (contradicting #961844 ?). Can you be more specific what is goind wrong and what is expecting result? How reproducible is not really a place to ask question of yours. Thanks Jan no, sorry, I say that my problem now is like in per my earlier bug, meaning symptoms are very similar - after system startup users sessions would not go into relevant cgroup but I restart cgred and everything is as desired. but not sure about the reason for slapd starts before cgred (as per resolution to that other bugreport of mine). And it has been fine, no problem after solution was applied but recently it broke. If I understand correctly, slapd now start before cgred? From your previous bug: "in other words make sure cgred starts afterwards" What is then the right order? slapd before cgred (fixed in #961844) or slapd after cgred (this bug)? yes, slapd before cgred and it had been working for a longer while since it was reordered. Only recently it is not working. It's a computer system that I unfortunately cannot reboot too often but if I can what should I look for? There is no indication that any initd service failed at bootup, and users don't log in immediately neither but when they do they don't get moved to cgroup and cgred restart fixes the problem. (like before init daemons got reordered). Thank you for clarifying. Have you tried the following commands? $ chkconfig --list cgconfig $ chkconfig --list cgred Are these services enabled? If you run above commands, are there all levels off or are some on? If you are running in multiuser mode with GUI, runlevel 5 is interesting for you. Description of others is here for example: http://en.wikipedia.org/wiki/Runlevel To enable cgconfig and cgred for runlevel 5, run the following: # chkconfig cgconfig on --level 5 # chkconfig cgred on --level 5 Interesting article about enabling/disabling services is here: http://www.aboutlinux.info/2006/04/enabling-and-disabling-services-during_01.html Enabling the service will cause it to start after system start/reboot. The problem seems to be the service is not started after system reboot. If this is not the case, let me know. Cheers Jan I think we can close, old, I cannot re-test/validate it any more. Thanks for letting me know. |