You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, while performing patching on EC2 instance running SUSE Linux Enterprise Server 15 SP5, we applied all OS security updates. These updates also included amazon-ssm-agent security update released by SUSE on Jan 28th as below;
After applying the OS updates and rebooting the server, the server could not be connected via SSM. After investigation, I found out that the SSM agent service was disabled to start on boot. I enabled the SSM agent service and it started successfully and worked without any issues afterwards.
I tried to reproduce the problem and this time I manually updated SSM agent to see what it was doing. During this new SSM agent update, it actually removed the SSM agent service file from systemd, which is responsible to start service automatically.
Here is how the logs look during SSM agent update:
The following package is going to be upgraded:
amazon-ssm-agent
The following package is going to change vendor:
amazon-ssm-agent Amazon.com -> SUSE LLC <https://www.suse.com/>
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: amazon-ssm-agent-3.3.1611.0-150000.5.20.1.x86_64 (SLE-Module-Public-Cloud15-SP5-Updates)
Checking for file conflicts: ..........................................................................................................................................................................................................[done]
Removed /etc/systemd/system/multi-user.target.wants/amazon-ssm-agent.service.
The solution is to manually enable the amazon-ssm-agent service so it can start automatically across reboots. This also recreates the missing service file under systemd.
# systemctl enable amazon-ssm-agent
Created symlink /etc/systemd/system/multi-user.target.wants/amazon-ssm-agent.service → /usr/lib/systemd/system/amazon-ssm-agent.service.
The ownership of this package is by SUSE (as can be seen in update logs), I am following up with them to review this further.
The text was updated successfully, but these errors were encountered:
I am facing the same issue. Unfortunately, the bug report is not accessible - even when logged into Bugzilla. Any details about the issue available and even more important any idea when it will get fixed.
AWS vended version of the agent (acquired from AWS-UpdateSSMAgent etc) have a conflict with SUSE vended package, When running patch a security flag on zypper caused the SUSE package to be loaded instead, the default configuration there have enabled=false, causing the agent to go offline.
If you are:
Running SSM Agent on SUSE Linux.
Have Auto-Update turned on, or have manually installed the agent (not via zypper), or have ran AWS-UpdateSSMAgent document
Scheduled or planning to run patch.
We advise you to add amazon-ssm-agent-3.3.1611.0-150000.5.20.1* to rejected-patches parameter and ensure that rejected-patches-action is set to BLOCK to prevent agent disconnection from happening.
Recently, while performing patching on EC2 instance running SUSE Linux Enterprise Server 15 SP5, we applied all OS security updates. These updates also included amazon-ssm-agent security update released by SUSE on Jan 28th as below;
[SUSE Link] (https://www.suse.com/support/update/announcement/2025/suse-su-20250277-1/)
After applying the OS updates and rebooting the server, the server could not be connected via SSM. After investigation, I found out that the SSM agent service was disabled to start on boot. I enabled the SSM agent service and it started successfully and worked without any issues afterwards.
I tried to reproduce the problem and this time I manually updated SSM agent to see what it was doing. During this new SSM agent update, it actually removed the SSM agent service file from systemd, which is responsible to start service automatically.
Here is how the logs look during SSM agent update:
Affected SSM agent version: amazon-ssm-agent-3.3.1611.0-150000.5.20.1.x86_64
The solution is to manually enable the amazon-ssm-agent service so it can start automatically across reboots. This also recreates the missing service file under systemd.
The ownership of this package is by SUSE (as can be seen in update logs), I am following up with them to review this further.
The text was updated successfully, but these errors were encountered: