Bug 677794

Summary: cntlmd doesn't start under systemd - eth0 link not up yet
Product: [Fedora] Fedora Reporter: Dave Alverson <dalverson28>
Component: cntlmAssignee: Praveen K Paladugu <praveen_paladugu>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: matt_domsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 15:07:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
output of systemctl show cntlmd.service
none
excerpt from /var/log/messages none

Description Dave Alverson 2011-02-15 21:04:14 UTC
Created attachment 478971 [details]
output of systemctl show cntlmd.service

Description of problem:
I have a Fedora 14 system with systemd installed and init=/bin/systemd on the kernel line in grub.conf.  When starting up, cntlmd tries to start before the eth0 link is up and it cant resolve names with DNS so it fails. If I start cntlmd after the system is up (and eth0 is up), it starts fine.

Version-Release number of selected component (if applicable):

cntlm-0.35.1-7.fc14.i686
systemd-units-10-2.fc14.1.i686
systemd-10-2.fc14.1.i686
systemd-gtk-10-2.fc14.1.i686


How reproducible:
always

Steps to Reproduce:
1. Fedora14 system with systemd & cntlmd installed; init=/bin/systemd
2. cntlmd.conf with a line like: Proxy someproxyname.company.com
3. using NetworkManager
4. restart
  
Actual results:
cntlmd startup fails because it cant lookup name with DNS

Expected results:
cntlmd can look up proxy host name and startup

Additional info:
From the notes in man systemd.special, I tried adding $named to the Required-Start line in the init script, but this didn't help:

# Required-Start: $syslog $network $time $named
# Required-Stop:  $syslog $network $time $named

Attached are output from systemctl show cntlmd.service and excerpt from /var/log/messages.

Comment 1 Dave Alverson 2011-02-15 21:05:08 UTC
Created attachment 478972 [details]
excerpt from /var/log/messages

Comment 2 Dave Alverson 2011-07-26 14:37:05 UTC
This appears to be a dupe of 650079.  

The NM dispatcher script was not working in my F14 configuration for some reason.  The system has now been upgraded to F15 and updates, and cntlmd now starts during bootup.  (1st attempt fails, but then when network comes up, the dispatcher script starts it successfully.)

Comment 3 Fedora End Of Life 2012-08-16 15:07:07 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping