Skip to content

Sometimes macOS configuration profiles aren't removed #16853

@noahtalerman

Description

@noahtalerman

Fleet version: Observed in Fleet's dogfood environment (commit 66b992e)


💥  Actual behavior

On 2024-02-14, @rfairburn and I ran the sudo profiles renew -type enrollment command on his macOS host to renew the SCEP client certificate. The SCEP client certificate had expired (more context here).

After waiting several minutes, all the expected profiles (Workstations team) were installed on Robert's macOS host.

However, there was one macOS profiles that wasn't removed: "Ad tracking"

Here's the full list of profiles:

image (26)

image (27)

🧑‍💻  Steps to reproduce

  1. Add a macOS host to Fleet
  2. Add some profiles
  3. Renew the host's SCEP cert
  4. Transfer the host to a different team and transfer it back to redeliver profiles

🕯️ More info (optional)

The current hypothesis is that we added the "Add tracking" profile (the ones that weren't removed) before we built features in Fleet to keep track of the expected profiles.

Thus, Fleet doesn't know that Robert's macOS host has some extra profiles that need to be removed.

🛠️ To fix

Metadata

Metadata

Assignees

Labels

#g-mdmMDM product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documented~released bugThis bug was found in a stable release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions