darkstat: correct incompatbility with sshd 12687/head
authorJean-Michel Lacroix <lacroix@lepine-lacroix.info>
Wed, 1 Jul 2020 22:40:42 +0000 (18:40 -0400)
committerJean-Michel Lacroix <lacroix@lepine-lacroix.info>
Wed, 1 Jul 2020 22:40:42 +0000 (18:40 -0400)
commitcd13e7ec7e8e00f66b4c48b1560dc73cd4620365
tree1d1579b288fd84b9060fb7bb768ed26dc82926a0
parent961016a84f027534a350e6d6b773c7c934d8d129
darkstat: correct incompatbility with sshd
The init file of darkstat is creating the pid in /var/empty and
setting the owner of the directory to darkstat which is incompatible
with sshd as sshd requires /var/empty to be owned by root and not
group or world-writable.  See issue #12420.

This corrects the problem by creating another directory: /var/darkstat
instead without setting the owner, which is not actually required.
Compile tested: not applicable as the changes do not involve
compilation.
Tested on my home router running darkstat.

Signed-off-by: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
net/darkstat/Makefile
net/darkstat/files/darkstat.init