On RHEL/CentOS 7, the following error occurs when attempting to use the above mentioned systemctl option:
Code: Select all
[root@server-02 system]# systemctl --root=/myservices/mds start xyz.service
Failed to get D-Bus connection: Operation not permitted
Does anyone have any idea why this is not working? If --root is not going to work, is there any other way to specify a custom search path?
Would really appreciate the help.