Understanding Systemd Timer: Troubleshooting `D-Bus connection terminated` Error
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.
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):
...Warning! D-Bus connection Terminated. Failed to wait for response: Connection reset by peer...
The post Understanding Systemd Timer: Troubleshooting `D-Bus connection terminated` Error appeared first on Frank's Weblog.










