-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Failed to enable unit: Unit file /etc/systemd/system/salt-master.service is masked. #66507
Open
2 of 9 tasks
Labels
Comments
I can confirm this:
Works for the minion:
Doesn't work for the master:
|
I had the same problem here: When upgrading debian salt packages, the current status of the services are not managed:
Status of the services before upgrade
Error log during upgrade
Status of the services after failed upgrade
Steps to Reproduce the behavior On a Debian 12 Bookworm server
salt --versions-report(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Salt Version:
Salt: 3007.1
Python Version:
Python: 3.10.14 (main, Apr 3 2024, 21:30:09) [GCC 11.2.0]
Dependency Versions:
cffi: 1.16.0
cherrypy: unknown
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.4
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: 23.1
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: Not Installed
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.16.0
smmap: Not Installed
timelib: 0.3.0
Tornado: 6.3.3
ZMQ: 4.3.4
Salt Package Information:
Package Type: onedir
System Versions:
dist: debian 12.6 bookworm
locale: utf-8
machine: x86_64
release: 6.1.0-22-amd64
system: Linux
version: Debian GNU/Linux 12.6 bookworm I'll try to make a PR to update the deb script with actual Debian standards. |
3 tasks
My contribution in #66688 does the job
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When I try to install salt-master from the repo mentioned by https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/debian.html I get this error:
I want the
salt-run
command from the salt-master package, but I don't want to run any salt services, so I masked salt-master.service. Shouldn't the install still work?Setup
(Please provide relevant configs and/or SLS files (be sure to remove sensitive info. There is no general set-up of Salt.)
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Expected behavior
The package installs successfully, but does not enable or start the salt-master service.
Screenshots
N/A
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
N/A
The text was updated successfully, but these errors were encountered: