Skip to content

DLPX-93974 LTS 24.04: dailyaidecheck.service is enabled and will fail when started by dailyaidecheck.timer #526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

david-mendez1
Copy link
Contributor

@david-mendez1 david-mendez1 commented Apr 18, 2025

Background

Raul was working on using the aide pkgs for the CIS project over a year ago #460 but it was never implemented. The dailyaidecheck.service was never enabled on LTS 20.04 although the pkgs are present. With LTS 24.04, the service is enabled by default.

Problem

During a long running stress test, the stress monitor thread hits:

01:55:59  Monitor detected failures: {'monitor-command-systemd-no-failed': [(datetime.datetime(2025, 4, 17, 1, 55, 2, 787638), 'dlpx-qa-os-upgrade-qar-171167-766f97e2.dlpxdc.co', 'monitor-command-systemd-no-failed', 2, 0, '��� dailyaidecheck.service

This fails because of:

2025-04-17T01:54:28.258850+00:00 ip-10-110-252-76 systemd[1]: Starting dailyaidecheck.service - daily AIDE check...
2025-04-17T01:54:29.057297+00:00 ip-10-110-252-76 dailyaidecheck[8751]: WARN: mail or s-nail not installed, cannot send mail. See /usr/share/doc/aide-common/README.Debian.gz for more information.
2025-04-17T01:54:29.163815+00:00 ip-10-110-252-76 dailyaidecheck[8750]: fold: write error: Broken pipe
2025-04-17T01:54:29.195146+00:00 ip-10-110-252-76 systemd[1]: dailyaidecheck.service: Main process exited, code=exited, status=1/FAILURE
2025-04-17T01:54:29.195297+00:00 ip-10-110-252-76 systemd[1]: dailyaidecheck.service: Failed with result 'exit-code'.
2025-04-17T01:54:29.195895+00:00 ip-10-110-252-76 systemd[1]: Failed to start dailyaidecheck.service - daily AIDE check. 

Solution

Remove the aide pkgs.

Testing Done

https://selfservice-jenkins.eng-tools-prd.aws.delphixcloud.com/job/appliance-build-orchestrator-pre-push/10911/

@david-mendez1 david-mendez1 force-pushed the dlpx/pr/david-mendez1/3d085e18-47b8-4a28-96f4-f58abd5c08e2 branch from 463ef73 to 13ea3a9 Compare April 18, 2025 15:03
@david-mendez1 david-mendez1 marked this pull request as ready for review April 18, 2025 15:27
@david-mendez1 david-mendez1 force-pushed the dlpx/pr/david-mendez1/3d085e18-47b8-4a28-96f4-f58abd5c08e2 branch from 13ea3a9 to ba60b01 Compare April 18, 2025 15:30
@david-mendez1 david-mendez1 merged commit 68f3572 into os-upgrade Apr 18, 2025
22 of 23 checks passed
@david-mendez1 david-mendez1 deleted the dlpx/pr/david-mendez1/3d085e18-47b8-4a28-96f4-f58abd5c08e2 branch April 18, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants