Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: cntlm is started too early so it's not able to resolve the configured proxy and dies. This problem only occurs when the given proxy is resolved using DNS. When started after the system has come up using "service cntlmd start" it works flawless. Version-Release number of selected component (if applicable): cntlm 0.35 How reproducible: Install cntlm package and configure a proxy (using DNS name, no IP or /etc/hosts resolved name) Actual results: service failed to start up at boot time Expected results: service starts successfully Additional info:
It is starting after NFS file systems would get mounted, so there should be DNS functional by that point. Do you have Spanning Tree Protocol turned on in your network switches, which imposes a 30 second delay when bringing up network ports? Thanks, Matt
Created attachment 458733 [details] /var/log/boot.log showing the cntlm failure
Created attachment 458734 [details] /var/log/messages showing detailed output of why cntlm failed to start at boot time - the problem is shown on line 5095
Created attachment 458735 [details] network configuration file
Hello, we don't have STP enabled in our network - the nic comes up and is responsive as soon as the machine has started the NetworkManager. From what i've seen in the logfiles it may have something to do with the fact that the start scripts are executed in parallel and the NetworkManager needs about 1 second to bring up the interface - exactly in this second cntlm is started (and the interface isn't up yet)
The relevant parts of the /var/log/messages file is at 14:24:10 (line 5095)
http://koji.fedoraproject.org/koji/taskinfo?taskID=2587720 has a build for rawhide that should fix it. Please test and let me know. It instructs NetworkManager to try and start the service after the network is up. It will try to start (and fail) via the normal initscripts method, but then be started (and succeed) by NM.
Hello, tried your cntlm.NetworkManager script on a F14 system (have no rawhide installation available right here) and it works as expected.
cntlm-0.35.1-7.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/cntlm-0.35.1-7.fc14
cntlm-0.35.1-7.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cntlm'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/cntlm-0.35.1-7.fc14
cntlm-0.35.1-7.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.