[Pkg-salt-team] Bug#770174: salt-common: service module doesn't work for init scripts

Hermann Lauer Hermann.Lauer at iwr.uni-heidelberg.de
Tue Dec 2 11:46:54 UTC 2014


Package: salt-minion
Version: 2014.1.13+ds-2
Followup-For: Bug #770174

Dear Maintainer,

after fixing service.status (many thanks) service.enabled seems to need also a fix: 

# salt-call service.enabled shinken
[INFO    ] Executing command 'systemctl is-enabled shinken.service' in directory '/root'
[ERROR   ] Command 'systemctl is-enabled shinken.service' failed with return code: 1
[ERROR   ] output: Failed to get unit file state for shinken.service: No such file or directory
local:
    False

As after a reboot shinken is running and this is also told by "service shinken status",
the above result is wrong and should be True.

Thanks,
 greetins
  Hermann

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages salt-minion depends on:
ii  dctrl-tools          2.23
ii  init-system-helpers  1.22
ii  python-crypto        2.6.1-5+b2
ii  python-m2crypto      0.21.1-3
ii  python-msgpack       0.4.2-1
ii  python-zmq           14.4.0-1
pn  python:any           <none>
ii  salt-common          2014.1.13+ds-2

Versions of packages salt-minion recommends:
ii  debconf-utils  1.5.54
ii  dmidecode      2.12-3

Versions of packages salt-minion suggests:
pn  python-augeas  <none>

-- no debconf information



More information about the pkg-salt-team mailing list