[Pkg-salt-team] Bug#930178: salt-master: install fails if salt-minion was installed first

Scott Coil scott at chaos-dragon.com
Fri Jun 7 22:02:04 BST 2019


Package: salt-master
Version: 2018.3.4+dfsg1-6
Severity: normal

Dear Maintainer,

   * What led up to the situation?
         apt-get -y install salt-minion
         apt-get -y install salt-master
   * What was the outcome of this action?
         salt-master postinst did not exit with success
         /var/lib/salt and /var/run/salt are not writable by the salt user
   * What outcome did you expect instead?
         successful install of salt-master


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

Kernel: Linux 4.19.0-4-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages salt-master depends on:
ii  adduser          3.118
ii  lsb-base         10.2019031300
ii  python3          3.7.2-1
ii  python3-crypto   2.6.1-9+b1
ii  python3-systemd  234-2+b1
ii  python3-zmq      17.1.2-2
ii  salt-common      2018.3.4+dfsg1-6

Versions of packages salt-master recommends:
ii  python3-pygit2  0.27.4-1

salt-master suggests no packages.

-- no debconf information


$ sudo apt-get install salt-master
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  salt-master
0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
Need to get 0 B/54.9 kB of archives.
After this operation, 148 kB of additional disk space will be used.
Selecting previously unselected package salt-master.
(Reading database ... 39351 files and directories currently installed.)
Preparing to unpack .../salt-master_2018.3.4+dfsg1-6_all.deb ...
Unpacking salt-master (2018.3.4+dfsg1-6) ...
Setting up salt-master (2018.3.4+dfsg1-6) ...
Job for salt-master.service failed because the control process exited with error code.
See "systemctl status salt-master.service" and "journalctl -xe" for details.
invoke-rc.d: initscript salt-master, action "start" failed.
● salt-master.service - The Salt Master Server
   Loaded: loaded (/lib/systemd/system/salt-master.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2019-06-07 20:27:28 GMT; 6ms ago
     Docs: man:salt-master(1)
           file:///usr/share/doc/salt/html/contents.html
           https://docs.saltstack.com/en/latest/contents.html
  Process: 3474 ExecStart=/usr/bin/salt-master (code=exited, status=13)
 Main PID: 3474 (code=exited, status=13)

Jun 07 20:27:27 salt systemd[1]: Starting The Salt Master Server...
Jun 07 20:27:28 salt salt-master[3474]: Failed to create directory path "/var/run/salt/master" - [Errno 13] Permission denied: '/var/run/salt/master'
Jun 07 20:27:28 salt systemd[1]: salt-master.service: Main process exited, code=exited, status=13/n/a
Jun 07 20:27:28 salt systemd[1]: salt-master.service: Failed with result 'exit-code'.
Jun 07 20:27:28 salt systemd[1]: Failed to start The Salt Master Server.
dpkg: error processing package salt-master (--configure):
 installed salt-master package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-3) ...
Errors were encountered while processing:
 salt-master
E: Sub-process /usr/bin/dpkg returned an error code (1)


More information about the pkg-salt-team mailing list