Skip to content

Overeager globbing in systemd.py for sysv service detection #33323

Closed

Description

@terminalmage

salt.modules.systemd._sysv_enabled() uses a glob to check for a sysvinit symlink to see if a service is enabled. However, this globbing causes anacron to be matched when cron is checked.

The relevant code is here.

Fix incoming.

Activity

  1. added
    bug
    P4
    Platform
    on May 17, 2016
  2. added this to the C 10 milestone on May 17, 2016
  3. self-assigned this
    on May 17, 2016
  4. added a commit that references this issue on May 17, 2016
    778fdfc
  5. terminalmage commented on May 17, 2016

    @terminalmage
    ContributorAuthor

    Fixed in #33324.

  6. added 2 commits that reference this issue on May 18, 2016
    1f7fda2
    336fbb0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Execution-ModuleP4Platformbug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions