[Pkg-salt-team] Bug#919231: Bug#919231: salt-master: Upgrade Stretch -> Buster: permission denied on certain files/directories

Benjamin Drung benjamin.drung at cloud.ionos.com
Mon Jan 28 16:18:04 GMT 2019


Hi,

Am Sonntag, den 13.01.2019, 23:00 +0100 schrieb Stijn Segers:
> Package: salt-master
> Version: 2018.3.3+dfsg1-2
> Severity: important
> 
> Dear Maintainer,
> 
> Upgrading salt-master from its Stretch version to Buster (whole
> system was
> upgraded) breaks the Salt master.
> 
> [...]
> Permission denied: '/var/cache/salt/master/.salt_key'
> 
> [...]
> Permission denied: '/var/lib/salt/pki/master/minions'

The salt master service in /lib/systemd/system/salt-master.service is
configured as following:

[Service]
User=salt
Group=salt
CacheDirectory=salt/master
RuntimeDirectory=salt
StateDirectory=salt/pki/master

Which means that systemd should take care to correctly set the
permission in /var/cache/salt/master, /run/salt, and
/var/lib/salt/pki/master.

This might be a systemd bug. Further troubleshooting is needed...

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany
E-mail: benjamin.drung at cloud.ionos.com | Web: www.ionos.de

Head Office: Berlin, Germany
District Court Berlin Charlottenburg, Registration number: HRB 125506 B
Executive Management: Christoph Steffens, Matthias Steinberg, Achim
Weiss

Member of United Internet



More information about the pkg-salt-team mailing list