Azure / Azure/LinuxPatchExtension

Service fails to start on 1.6.65 - wrong directory

Đang mở
#369 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
12
Fork
20
Merge trung bình
6 ngày 4 giờ
Pull request đã merge (30 ngày)
1

Mô tả

Two Ubuntu 24.04.4 LTS servers reported that the MsftLinuxPatchAutoAssess stopped running this morning (7/28/2026). When attempting to start the service, get the following error message:
Job for MsftLinuxPatchAutoAssess.service failed because the control process exited with error code.
See "systemctl status MsftLinuxPatchAutoAssess.service" and "journalctl -xeu MsftLinuxPatchAutoAssess.service" for details.

Running 'systemctl status MsftLinuxPatchAutoAssess.service' reports the message:
/bin/bash: /var/lib/waagent/Microsoft.CPlat.Core.LinuxPatchExtension-1.6.62/MsftLinuxPatchAutoAssess.sh: No such file or directory

This is quite correct, considering the new version is now 1.6.65 and 1.6.62 no longer exists.

I ran 'sudo apt --reinstall install walinuxagent' but ended up with the same result.

Having a look in the /var/lib/waagent/Microsoft.CPlat.Core.LinuxPatchExtension-1.6.65/ directory, the MsftLinuxPatchAutoAssess.sh script doesn't exist anymore, so I'm not seeing a way to fix the /etc/systemd/system/MsftLinuxPatchAutoAssess.service launcher.

Please forgive any miswording in my description. I'm a Linux tinkerer, not a full-blown developer.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by checking the reported systemctl status and journalctl output, then inspect /etc/systemd/system/MsftLinuxPatchAutoAssess.service alongside the 1.6.65 extension directory under /var/lib/waagent. Confirm why the launcher still references 1.6.62 and whether the expected MsftLinuxPatchAutoAssess.sh is packaged in 1.6.65; done means the service starts using the current installation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
bash, linux, ubuntu
Lĩnh vực
devops, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.