Description of problem: Run "service libra restart" on the server. Get error message "runcon: invalid context: unconfined_u:unconfined_r:libra_t:s0:c0,c506: Invalid argument". The apps' pid don't change. Version-Release number of selected component (if applicable): devenv_2129 How reproducible: Always Steps to Reproduce: 1.SSH login the server 2.service libra restart 3.Check app's pid Actual results: It fails to restart apps. <-----------------------output-------------------------> Stopping 44fe652a4abf40169570d9ad3e79f8e3... mongophoujw38_ctl.sh runcon: invalid context: unconfined_u:unconfined_r:libra_t:s0:c0,c503: Invalid argument [ OK ] Starting 44fe652a4abf40169570d9ad3e79f8e3... mongophoujw38_ctl.sh runcon: invalid context: unconfined_u:unconfined_r:libra_t:s0:c0,c503: Invalid argument [ OK ] <------------------------------------------------------> The pid remains the same. Expected results: The app should be restarted successfully. The pid should change. Additional info:
@jizhao, it works for me -- did you stop and restart the node per chance?? You'd need to run rhc-restorecon I think in that case. Also, if you create a new app, does that work?? And could you please attach the uid value (from /etc/passwd) for gear. 44fe652a4abf40169570d9ad3e79f8e3 and a ls -altrZ on the mongodb-2.0 directory in the gear. Thanks.
I created a clean devenv_2140 instance and tried again. It worked. It seems some automation scripts broke the SELinux lable. I'll fix them.