On Tue, Dec  2, 2014 at 12:46:54 +0100, Hermann Lauer wrote:

> 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.
> 
Apparently this is due to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760616 /
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751638

It's probably better to make systemctl DTRT than work around this in
salt (and puppet, and ...)

Cheers,
Julien
-- 
Julien Cristau          <julien.cris...@logilab.fr>
Logilab                 http://www.logilab.fr/
Informatique scientifique & gestion de connaissances


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to