Failed to get D-Bus connection

Dean Hunter <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
Why do some configuration commands fail like this when used in the
kickstart post script?

# Configure the host names

  hostnamectl set-hostname test.hunter.org --static
Failed to get D-Bus connection: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory
  hostnamectl set-hostname "VM Test"     --pretty
Failed to get D-Bus connection: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory
  hostnamectl
Failed to get D-Bus connection: Failed to connect to
socket /var/run/dbus/system_bus_socket: No such file or directory
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.