Description of problem:
After installing cntlm, the service fails to start because it's can't create it's pid file.
Dec 12 11:26:26 anvil2 systemd: Starting CNTLM HTTP Accelerator For NTLM Secured Proxies Authenticator...
Dec 12 11:26:26 anvil2 cntlm: Starting cntlm version 0.92.3 for LITTLE endian
Dec 12 11:26:26 anvil2 cntlm: Proxy listening on 127.0.0.1:5865
Dec 12 11:26:26 anvil2 cntlm: Workstation name used: anvil2
Dec 12 11:26:26 anvil2 cntlm: Using following NTLM hashes: NTLMv2(1) NT(0) LM(0)
Dec 12 11:26:26 anvil2 cntlm: Daemon ready
Dec 12 11:26:26 anvil2 systemd: Started CNTLM HTTP Accelerator For NTLM Secured Proxies Authenticator.
Dec 12 11:26:26 anvil2 cntlm: Changing uid:gid to 994:991 - Success
Dec 12 11:26:26 anvil2 cntlm: Error creating a new PID file
Dec 12 11:26:26 anvil2 systemd: cntlm.service: main process exited, code=exited, status=1/FAILURE
Dec 12 11:26:26 anvil2 systemd: Unit cntlm.service entered failed state.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install cntlm
2. systemctl start polipo.service
service will not start.
It appears cntlm will not create the required directory in /run, it has to exist. Workaround is to create the directory manually as root:
# mkdir /run/cntlm
# chown cntlm:cntlm /run/cntlm
# chmod 755 /run/cntlm
oops - above repro should read "systemctl start cntlm.service", not polipo.service
Uhm something went wrong with my comment. Anyway, the spec file was missing %dir /run/cntlm. Fixed packages under way.
cntlm-0.92.3-4.fc20 has been submitted as an update for Fedora 20.
cntlm-0.92.3-4.fc19 has been submitted as an update for Fedora 19.
Tried the cntlm-0.92.3-4.fc19 with no luck. The directory is now created, but it needs to be owned by cntlm:cntlm. I think cntlm drops privs before creating the pid file.
0.92.3-4.fc20 is the same
Sorry about that. Should now be fixed. Thanks.
cntlm-0.92.3-5.fc19 has been submitted as an update for Fedora 19.
cntlm-0.92.3-5.fc20 has been submitted as an update for Fedora 20.
Thanks. cntlm-0.92.3-5.fc19 works.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cntlm-0.92.3-5.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
cntlm-0.92.3-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
cntlm-0.92.3-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.