You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
service.enabled just say service is already enabled, but the symlink in /etc/systemd/system/multi-user.target.wants/ is still missing.
I prepare a new system installation in a chroot environment which is a physical partition and can be enabled as the initial boot partition for the next reboot (Debian 8/Ubuntu 16.10).
[INFO ] Executing state service.enabled for apache2
[INFO ] Executing command ['systemctl', 'status', 'apache2.service', '-n', '0'] in directory '/home/gerald'
[DEBUG ] output: * apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; generated; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
`-apache2-systemd.conf
Active: inactive (dead) since Mon 2017-01-16 12:28:35 CET; 10min ago
Docs: man:systemd-sysv-generator(8)
[INFO ] Executing command ['systemctl', 'is-enabled', 'apache2.service'] in directory '/home/gerald'
[DEBUG ] output: apache2.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install is-enabled apache2
enabled
[INFO ] Service apache2 is already enabled, and is in the desired state
[INFO ] Completed state [apache2] at time 12:38:49.468597 duration_in_ms=18.652
Versions Report
salt-call --versions-report
Salt Version:
Salt: 2016.3.1
Dependency Versions:
cffi: 1.7.0
cherrypy: 3.5.0
dateutil: 2.4.2
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: 2.14
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.12+ (default, Sep 17 2016, 12:08:02)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.2.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.4.2
ZMQ: 4.2.0
System Versions:
dist: Ubuntu 16.10 yakkety
machine: x86_64
release: 4.8.0-34-generic
system: Linux
version: Ubuntu 16.10 yakkety
The text was updated successfully, but these errors were encountered:
@geraldhansen to confirm this isn't an issue with teh host can you manually run /lib/systemd/systemd-sysv-install is-enabled apache2 as it seems the minion is running and does that set it correctly?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
service.enabled just say service is already enabled, but the symlink in /etc/systemd/system/multi-user.target.wants/ is still missing.
I prepare a new system installation in a chroot environment which is a physical partition and can be enabled as the initial boot partition for the next reboot (Debian 8/Ubuntu 16.10).
Setup
In a chroot I run following state file test.sls:
Steps to Reproduce Issue
salt-call state.sls test
Versions Report
The text was updated successfully, but these errors were encountered: