Understanding Systemd Timer: Troubleshooting `D-Bus connection terminated` Error
<p>We run a SaaS service, when a customer creates an instance, we use terraform to create an EC2 instance and relevant cloud infrastructures. This EC2 is created with a prebuilt AMI, with our software installed. This software will be referred to as codename sinatra. After the EC2 is created, a script setup.sh will run to configure sinatra, and it will restart sinatra a few times with Systemctl.</p> <p>We noticed one of the customers has a possibility to fail when creating an instance, with the error message below(non-relevant messages are omitted):</p> <p>...Warning! D-Bus connection Terminated. Failed to wait for response: Connection reset by peer...</p> <p>The post <a href="https://nyan.im/p/systemd-dbus-connection-terminated-en">Understanding Systemd Timer: Troubleshooting `D-Bus connection terminated` Error</a> appeared first on <a href="https://nyan.im">Frank's Weblog</a>.</p>