Skip to content

[Bug]: x509_v2.certificate_managed deletes symlinks in test mode when follow_symlinks is false #69895

Closed

Description

@lkubb

What happened?

x509_v2.certificate_managed deletes symlinks in test mode when follow_symlinks is explicitly set to false and name is an existing symlink.

See reproduction in PR.

The same is valid for x509_v2.crl_managed, x509_v2.csr_managed and x509_v2.private_key_managed.

Type of salt install

Official deb

Major version

3006.x

What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)

ubuntu-24.04

salt --versions-report output

Current HEAD of 3006.x

Activity

  1. added
    bug
    on Jul 28, 2026
  2. added a commit that references this issue on Oct 1, 2026
  3. dwoz commented on Oct 16, 2026

    @dwoz
    Contributor

    This was fixed in v3006.28 and v3007.15. If you can still reproduce it on either release, please comment and we'll reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions