#1677 Debian postinst needs to chown generated /etc/prosody/certs/localhost.key

Reporter Martin Kofahl
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • OpSys-Debian
  • Status-Accepted
  • Component-Packages
  • Priority-Medium
  • Milestone-0.11
  1. Martin Kofahl on

    What steps will reproduce the problem? 1. install debian package prosody 2. start prosody What is the expected output? no error message in log What do you see instead? /var/log/prosody/prosody.err: SSL/TLS: Failed to load '/etc/prosody/certs/localhost.key': Check that the permissions allow Prosody to read this file. (for localhost) What version of the product are you using? On what operating system? 0.11.10-1~focal1 Please provide any additional information below. On clean systems, postinst generates /etc/prosody/certs/localhost.key as root. The file should be owned by prosody, not by root.

  2. Zash on

    Thanks for the report. Noticed this myself when testing the 0.11.10 packages. Seems it wasn't a new problem so didn't fix it then, but we should do so before the next release.

    Changes
    • tags Status-Accepted Milestone-0.11 OpSys-Debian Component-Packages

New comment

Not published. Used for spam prevention and optional update notifications.