#175 0.7.0 RC1 does not have Debian-specific config file
Reporter
hannesw
Owner
MattJ
Created
Updated
Stars
★★ (2)
Tags
Priority-Medium
Status-Fixed
Type-Defect
hannesw
on
The Debian package daemon init script does not create a pid file in
/var/run/prosody/prosody.pid when starting. Therefore, stopping the daemon
does not work.
The problem is that the "pidfile" option is not set in function
write_pidfile() in mod_posix.lua. It seems there either should be a default
value for that option or it should explicitly be set it in the config file.
I'm seeing this issue both with Prosody 0.6.1 and 0.7-rc1.
MattJ
on
Hi,
I can confirm there's an issue with the 0.7.0 RC1 package. Somehow the wrong config file ended up in
there (not the Debian-specific one). This will be remedied for RC2, obviously.
However 0.6.1 should have no issues, it contains the pidfile option. I can only guess that you modified
your 0.7 config, and the package manager decided to keep it instead of installing the 0.6 config over
the top of it.
I'll keep this open for reference until RC2 is released.
Thanks!
Changes
owner MattJ
title 0.7.0 RC1 does not have Debian-specific config file
tags Status-Accepted
hannesw
on
Yes, I guess I got confused by going back to 0.6.1 and choosing not to replace the
config file. Thanks for the good work!
The Debian package daemon init script does not create a pid file in /var/run/prosody/prosody.pid when starting. Therefore, stopping the daemon does not work. The problem is that the "pidfile" option is not set in function write_pidfile() in mod_posix.lua. It seems there either should be a default value for that option or it should explicitly be set it in the config file. I'm seeing this issue both with Prosody 0.6.1 and 0.7-rc1.
Hi, I can confirm there's an issue with the 0.7.0 RC1 package. Somehow the wrong config file ended up in there (not the Debian-specific one). This will be remedied for RC2, obviously. However 0.6.1 should have no issues, it contains the pidfile option. I can only guess that you modified your 0.7 config, and the package manager decided to keep it instead of installing the 0.6 config over the top of it. I'll keep this open for reference until RC2 is released. Thanks!
ChangesYes, I guess I got confused by going back to 0.6.1 and choosing not to replace the config file. Thanks for the good work!