Skip to content

[Bug]: Salt-SSH syncs internal modules as extmods #69199

@lkubb

Description

@lkubb

What happened?

3007.10+ and 3006.18+ sync all internal modules as external ones due to #68497. This was mentioned in #68570 (comment). This is already fixed in 3008.

I verified it on 3007.14. After running salt-ssh on a target, listing the tmpdir's running_data/var/cache/salt/extmods/modules yields:

drwx------ 2 root root  20K May 21 12:47 ./
drwx------ 8 root root 4.0K May 21 12:47 ../
-rw-r--r-- 1 root root  14K Apr 29 02:00 acme.py
-rw-r--r-- 1 root root 4.1K Apr 29 02:00 aix_group.py
-rw-r--r-- 1 root root 2.0K Apr 29 02:00 aix_shadow.py
-rw-r--r-- 1 root root  25K Apr 29 02:00 aixpkg.py
-rw-r--r-- 1 root root 5.1K Apr 29 02:00 aliases.py
-rw-r--r-- 1 root root 5.7K Apr 29 02:00 alternatives.py
-rw-r--r-- 1 root root  20K Apr 29 02:00 ansiblegate.py
-rw-r--r-- 1 root root  13K Apr 29 02:00 apache.py
-rw-r--r-- 1 root root 2.2K Apr 29 02:00 apcups.py
-rw-r--r-- 1 root root 3.1K Apr 29 02:00 apf.py
-rw-r--r-- 1 root root  16K Apr 29 02:00 apkpkg.py
-rw-r--r-- 1 root root  16K Apr 29 02:00 aptly.py
-rw-r--r-- 1 root root 118K Apr 29 02:00 aptpkg.py
-rw-r--r-- 1 root root  49K Apr 29 02:00 archive.py
-rw-r--r-- 1 root root  23K Apr 29 02:00 arista_pyeapi.py
-rw-r--r-- 1 root root  24K Apr 29 02:00 artifactory.py
[...]

Type of salt install

Official deb

Major version

3007.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)

rockylinux-9

salt --versions-report output

Salt Version:
            Salt: 3007.14

Python Version:
          Python: 3.10.19 (main, Feb 17 2026, 23:32:03) [GCC 11.2.0]

Dependency Versions:
            cffi: 2.0.0
        cherrypy: unknown
    cryptography: 46.0.5
        dateutil: 2.8.2
       docker-py: Not Installed
           gitdb: 4.0.11
       gitpython: 3.1.42
          Jinja2: 3.1.6
         libgit2: Not Installed
    looseversion: 1.3.0
        M2Crypto: Not Installed
            Mako: Not Installed
         msgpack: 1.0.7
    msgpack-pure: Not Installed
    mysql-python: Not Installed
       packaging: 24.0
       pycparser: 2.21
        pycrypto: Not Installed
    pycryptodome: 3.19.1
          pygit2: Not Installed
    python-gnupg: 0.4.8
          PyYAML: 6.0.1
           PyZMQ: 25.1.2
          relenv: 0.22.4
           smmap: 5.0.1
         timelib: 0.3.0
         Tornado: 6.5.5
             ZMQ: 4.3.4

Salt Extensions:
 saltext.formula: 0.3.0

Salt Package Information:
    Package Type: onedir

System Versions:
            dist: rocky 9.4 Blue Onyx
          locale: utf-8
         machine: x86_64
         release: 5.14.0-427.40.1.el9_4.x86_64
          system: Linux
         version: Rocky Linux 9.4 Blue Onyx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbroken, incorrect, or confusing behaviorneeds-triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions