buildroot icon indicating copy to clipboard operation
buildroot copied to clipboard

centos's lsb-functions file does not define status_of_proc

Open euanh opened this issue 11 years ago • 2 comments

centos's lsb-functions file does not define status_of_proc, whereas Fedora's does. Without this function, we need to implement process status checking ourselves. Currently, on CentOS, the init scripts can't tell if processes are already running and print error messages when they are run:

/etc/init.d/message-switch: line 61: status_of_proc: command not found
/etc/init.d/forkexecd: line 59: status_of_proc: command not found
/etc/init.d/xcp-networkd: line 59: status_of_proc: command not found
/etc/init.d/ffs: line 59: status_of_proc: command not found
/etc/init.d/xapi: line 79: status_of_proc: command not found

euanh avatar Sep 20 '13 08:09 euanh

'success' is also not defined:

# /etc/init.d/xapi restart 
Shutting down xapi: ./etc/init.d/xapi: line 63: success: command not found

euanh avatar Oct 22 '13 15:10 euanh

hi guys , i'm facing this probem too , how do u solve this problem ? would pls tell me ? thks !

elisayys avatar Jan 09 '19 04:01 elisayys