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[1]: 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[3172]: Daemon ready Dec 12 11:26:26 anvil2 systemd[1]: Started CNTLM HTTP Accelerator For NTLM Secured Proxies Authenticator. Dec 12 11:26:26 anvil2 cntlm[3172]: Changing uid:gid to 994:991 - Success Dec 12 11:26:26 anvil2 cntlm[3172]: Error creating a new PID file Dec 12 11:26:26 anvil2 systemd[1]: cntlm.service: main process exited, code=exited, status=1/FAILURE Dec 12 11:26:26 anvil2 systemd[1]: Unit cntlm.service entered failed state. Version-Release number of selected component (if applicable): cntlm-0.92.3-3.fc19.x86_64 How reproducible: Always fails. Steps to Reproduce: 1. install cntlm 2. systemctl start polipo.service Actual results: service will not start. Expected results: service starts. Additional info: 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. https://admin.fedoraproject.org/updates/cntlm-0.92.3-4.fc20
cntlm-0.92.3-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/cntlm-0.92.3-4.fc19
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. https://admin.fedoraproject.org/updates/cntlm-0.92.3-5.fc19
cntlm-0.92.3-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/cntlm-0.92.3-5.fc20
0.92.3-5.fc20 works
Thanks. cntlm-0.92.3-5.fc19 works.
Package cntlm-0.92.3-5.fc20: * 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: https://admin.fedoraproject.org/updates/FEDORA-2013-23335/cntlm-0.92.3-5.fc20 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.