Skip to content

Commit bda60d9

Browse files
Add known issue for osquery integration failure on macOS [#1528] (#1533)
This PR adds a known issue affecting Elastic Agent 9.0.0 and 9.0.1 on macOS, where the osquery integration fails due to the removal of the `osquery.app/` directory during installation. A workaround is provided. See [#8245](elastic/elastic-agent#8245) for more context.
1 parent e4dd03d commit bda60d9

File tree

2 files changed

+71
-2
lines changed

2 files changed

+71
-2
lines changed

release-notes/fleet-elastic-agent/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ To check for security updates, go to [Security announcements for the Elastic sta
2626
% ### Fixes [fleet-elastic-agent-next-fixes]
2727
% *
2828

29+
## 9.0.2 [fleet-elastic-agent-9.0.2-release-notes]
30+
31+
### Features and enhancements [fleet-elastic-agent-9.0.2-features-enhancements]
32+
33+
* Updates Go version to v1.24.3 in {{fleet}} [#4891]({{fleet-server-pull}}4891)
34+
35+
* Updates Go version to v1.24.3 in {{agent}} [#8109]({{agent-pull}}8109)
36+
37+
### Fixes [fleet-elastic-agent-9.0.2-fixes]
38+
39+
* Improves the upgrade process for {{agent}} installed using DEB or RPM packages by copying the run directory from the previous installation into the new version's folder [#7999]({{agent-pull}}7999) [#3832]({{agent-issue}}3832)
40+
2941
## 9.0.1 [fleet-elastic-agent-9.0.1-release-notes]
3042

3143
### Features and enhancements [fleet-elastic-agent-9.0.1-features-enhancements]

release-notes/fleet-elastic-agent/known-issues.md

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,63 @@ Known issues are significant defects or limitations that may impact your impleme
1515
% **Workaround**
1616
% Workaround description.
1717

18-
:::
18+
% :::
1919

20-
_No known issues_
20+
:::{dropdown} [macOS] Osquery integration fails to start on fresh agent installs
21+
22+
**Applies to: {{agent}} 9.0.0 and 9.0.1 (macOS only)**
23+
24+
On May 26th, 2025, a known issue was discovered that causes the `osquery` integration to fail on new {{agent}} installations on macOS. During the installation process, the required `osquery.app/` directory is removed, which prevents the integration from starting.
25+
26+
For more information, check [Issue #8245](https://github.com/elastic/elastic-agent/issues/8245).
27+
28+
**Workaround**
29+
30+
As a workaround, you can manually restore the `osquery.app/` directory as follows:
31+
32+
1. Extract the {{agent}} package, but do not install it yet.
33+
34+
2. Open the following file in the extracted directory:
35+
36+
```
37+
data/elastic-agent-68f3ed/components/agentbeat.spec.yml
38+
```
39+
40+
3. Locate the `component_files` section at the top of the file. It should look similar to this:
41+
42+
```yaml
43+
version: 2
44+
component_files:
45+
- certs/*
46+
- lenses/*
47+
- module/*
48+
- "osquery-extension.ext"
49+
- "osquery-extension.exe"
50+
- osqueryd
51+
- "osqueryd.exe"
52+
```
53+
54+
4. Add the following entry to the end of the list:
55+
56+
```yaml
57+
- "osquery.app/*"
58+
```
59+
60+
The updated section should now look like this:
61+
62+
```yaml
63+
version: 2
64+
component_files:
65+
- certs/*
66+
- lenses/*
67+
- module/*
68+
- "osquery-extension.ext"
69+
- "osquery-extension.exe"
70+
- osqueryd
71+
- "osqueryd.exe"
72+
- "osquery.app/*"
73+
```
74+
75+
5. Proceed to install {{agent}} from the extracted directory as usual.
76+
77+
:::

0 commit comments

Comments
 (0)