kravietz / poppassd-ceti

POP3 password change daemon
GNU General Public License v2.0
4 stars 4 forks source link

Unable to start poppassd #11

Open n251ea opened 2 years ago

n251ea commented 2 years ago

Fedora 35 system, systemd will not start the daemon.

Journal reporrts the following:

Dec 21 13:18:24 server systemd[1]: poppassd.service: Got no socket. Dec 21 13:18:24 server systemd[1]: poppassd.service: Failed to run 'start' task: Invalid argument Dec 21 13:18:24 server systemd[1]: poppassd.service: Failed with result 'resources'. ░░ Subject: Unit failed ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ The unit poppassd.service has entered the 'failed' state with result 'resources'. Dec 21 13:18:24 server systemd[1]: Failed to start Password change daemon. ░░ Subject: A start job for unit poppassd.service has failed ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ A start job for unit poppassd.service has finished with a failure. ░░ ░░ The job identifier is 4462821 and the job result is failed.

I am using the files poppassd.server and poppassd.socket as distributed, I have also tried to comment out all of the "hardening" stuff but no change.

if i run /usr/local/sbin/poppassd from the CLI it immediately responds with "200 poppassd"

I do have selinux disabled

anq4 commented 2 years ago

the included systemd files just do not work at least on rhel/centos 8

better install xinetd and use the classic way.

cat /etc/xinetd.d/poppassd

default: off

description: This program is based on original Qualcomm password changer daemon \

dedicated for, well, changing system passwords over network.

service poppassd { disable = no socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/poppassd only_from = 127.0.0.1 log_on_success += HOST DURATION log_on_failure += HOST }