LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error while restarting services: Failed to get D-Bus connection: Operation not permitted (https://www.linuxquestions.org/questions/linux-newbie-8/error-while-restarting-services-failed-to-get-d-bus-connection-operation-not-permitted-4175654837/)

vjoseph1 05-30-2019 04:40 AM

Error while restarting services: Failed to get D-Bus connection: Operation not permitted
 
Hi,


I have added noexec to /etc/fstab for /tmp partition. please see below,

/dev/mapper/system-tmp /tmp ext4 defaults,nodev,nosuid,noexec 1 2

Post this change, I'm not able to issue "admin" commands, example below,

#systemctl restart sshd
Failed to get D-Bus connection: Operation not permitted

Any idea about how to resolve this issue?

Server is RHEL 7.6

Thanks.

BW-userx 05-30-2019 10:06 PM

try removing noexec


All times are GMT -5. The time now is 10:16 AM.