Skip to content

Arch: salt detects upstart for service.running #167

@noelmcloughlin

Description

@noelmcloughlin

Replicated on ManjaroLinux (Arch distribution 17.0.5). Should detect systemd.

[TRACE ] Error loading module.upstart: The upstart execution module failed to load: this system was booted with systemd.
...
[ERROR ] The named service postgresql is not available
[INFO ] Completed state [postgresql] at time 23:40:01.128941 duration_in_ms=0.858
[DEBUG ] File /var/cache/salt/minion/accumulator/139911285947728 does not exist, no need to cleanup.
[DEBUG ] LazyLoaded highstate.output
[TRACE ] data = {'local': {'cmd_|-postgresql-cluster-prepared_|-initdb -D /var/lib/postgres/data_|-run': {'comment': u'unless execution succeeded', 'id': 'postgresql-cluster-prepared', 'sls': u'postgres.server', 'name': 'initdb -D /var/lib/postgres/data', 'duration': u'100.863 ms', 'run_num': 1, 'start_time': '23:40:00.603802', 'skip_watch': True, 'changes': {}, 'result': True}, 'file_|-postgresql-config-dir_|-/var/lib/postgres/data_|-directory': {'comment': u'Directory /var/lib/postgres/data is in the correct state\nDirectory /var/lib/postgres/data updated', 'pchanges': {}, 'name': '/var/lib/postgres/data', 'start_time': '23:40:00.708662', 'result': True, 'duration': u'1.77 ms', 'run_num': 2, 'sls': u'postgres.server', 'changes': {}, 'id': 'postgresql-config-dir'}, 'file_|-postgresql-pg_hba_|-/var/lib/postgres/data/pg_hba.conf_|-managed': {'comment': u'File /var/lib/postgres/data/pg_hba.conf is in the correct state', 'name': '/var/lib/postgres/data/pg_hba.conf', 'start_time': '23:40:00.710801', 'result': True, 'duration': u'416.799 ms', 'run_num': 3, 'sls': u'postgres.server', 'changes': {}, 'id': 'postgresql-pg_hba'}, 'pkg_|-postgresql-server_|-postgresql-server_|-installed': {'comment': u'All specified packages are already installed', 'name': 'postgresql', 'start_time': '23:40:00.546436', 'result': True, 'duration': u'55.777 ms', 'run_num': 0, 'sls': u'postgres.server', 'changes': {}, 'id': 'postgresql-server'}, 'service_|-postgresql-running_|-postgresql_|-running': {'comment': u'The named service postgresql is not available', 'name': 'postgresql', 'start_time': '23:40:01.128083', 'result': False, 'duration': u'0.858 ms', 'run_num': 4, 'sls': u'postgres.server', 'changes': {}, 'id': 'postgresql-running'}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions