Translate

Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Beginning Google Maps API 3
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

Revisiting Systemd D-Bus Interfaces

In a May 2013 blog post I examined the then systemd D-Bus interface. At that time the systemd version string was 208. In this short blog I will discuss hostnamectl/hostnamed and timedatectl/timedatectl functionality as it relates to the systemd Dbus. You can use the following dbus-send command to find out what’s available on the D-Bus system bus: # dbus-send –system –print-reply –dest=”org.freedesktop.DBus” \ /org/freedesktop/DBus org.freedesktop.DBus.ListActivatableNames method return sender=org.freedesktop.DBus -> dest=:1.137 reply_serial=2 array [ string “org.freedesktop.DBus” string “org.freedesktop.login1” string “org.fedoraproject.Setroubleshootd” string “org.freedesktop.machine1” string “org.freedesktop.ColorManager” string “com.redhat.problems.configuration” string “org.freedesktop.systemd1” string “org.freedesktop.Avahi” string “org.freedesktop.PolicyKit1” string “org.freedesktop.ModemManager1” string “org.bluez” string “org.freedesktop.hostname1” string “org.freedesktop.NetworkManager” string

Fedora 18 Timezone Configuration Changes

There are a number of changes to timezone configuration files in Fedora 18. Probably the biggest change is that /etc/localtime replaced /etc/sysconfig/clock and the system timezone is now configured by creating an appropriate symbolic link from /etc/localtime to the relevant timezone file in /usr/share/zonedata. This is more like what the GNU/Debian distribution and it’s downstream distributions such as Ubuntu do. To list available timezones run the following command: # timedatectl list-timezone To set the system timezone, to for example Eastern Standard Time, run the following command: # timedatectl set-timezone ‘Atlantic/New York’ It just updates the link /etc/localtime to point to