Bug 789788

Summary: yum-updatesd-0.9-8.fc16 fails to detect network availablilty and so never works
Product: [Fedora] Fedora Reporter: major <major>
Component: yum-updatesdAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: gregor, james.antill, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-18 18:01:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description major 2012-02-13 00:24:55 UTC
I can not get yum-updatesd from package yum-updatesd-0.9-8.fc16.noarch to function properly in daemon mode or in oneshot mode. NetworkManager is connected and functioning. Network availability seems to never be correctly detected.

Using the following command line with oneshot and debug options 
"/usr/bin/python -tt /usr/sbin/yum-updatesd -o -d" gives the result:
**********
Going to exec: ['/usr/libexec/yum-updatesd-helper', '--check', '--network-fail', '--download', '--deps', '--apply', '--dbus', '--email', '--email-from=yum-updatesd', '--email-to=root', '--smtp-server=localhost:25', '--sendmail', '--syslog', '--syslog-level=WARN', '--syslog-facility=DAEMON', '--syslog-ident=yum-updatesd', '--debug']
Check for updates failed: No network available
**********

The command "dbus-monitor --system" shows:
**********
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=98 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.100"
   string ""
   string ":1.100"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=99 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.101"
   string ""
   string ":1.101"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=100 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "edu.duke.linux.yum"
   string ""
   string ":1.101"
signal sender=:1.101 -> dest=(null destination) serial=3 path=/UpdatesAvail; interface=edu.duke.linux.yum; member=CheckFailedSignal
   string "No network available"
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=101 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string "edu.duke.linux.yum"
   string ":1.101"
   string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=102 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.101"
   string ":1.101"
   string ""
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=103 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
   string ":1.100"
   string ":1.100"
   string ""
**********

My /etc/yum/yum-updatesd.conf:
**********
[main]
# how often to check for new updates (in seconds)
run_interval = 3600
# how often to allow checking on request (in seconds)
updaterefresh = 600

# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus email syslog
# should we listen via dbus to give out update information/check for
# new updates 
dbus_listener = yes

# automatically install updates
do_update = yes
# automatically download updates
do_download = yes
# automatically download deps of updates
do_download_deps = yes

email_from = yum-updatesd
**********

Comment 1 Gregor Tätzner 2012-02-18 18:01:14 UTC

*** This bug has been marked as a duplicate of bug 709315 ***