Welcome to the Linux Foundation Forum!

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

vjoseph1
vjoseph1 Posts: 1
edited May 2019 in Red Hat Enterprise

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,

systemctl restart sshd

Failed to get D-Bus connection: Operation not permitted

init 6

Couldn't find an alternative telinit implementation to spawn.

Any idea about how to resolve this issue?

Thanks.

Categories

Upcoming Training