Bug 237792 - working /etc/yum/yum-updatesd.conf file
working /etc/yum/yum-updatesd.conf file
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
6
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeremy Katz
N/A
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-25 10:10 EDT by Keith Roberts
Modified: 2014-01-21 17:57 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-25 11:19:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Keith Roberts 2007-04-25 10:10:46 EDT
The default config file for yum-updatesd does not send out any email messages  
at all, due to 2 missing variables in the config file.

Here is a working version for you to tweak for your system. This is an issue 
that really needs to be fixed - ie the email_to & email_from properties need 
to be added to the default config file. Then users will be able to see what 
values they need to set for their system, to receive the email notifications 
for available upgrades.

[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 = email

# who to send the email notifications to
email_to = keith@karsites.localdomain

# who sent the notifications
email_from = root@karsites.localdomain

# ------------------------------------------------------

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

# ------------------------------------------------------
# eof

Even with this working config file, yum-updatesd only seems to run 
occasionally. I'm aware of the bug reports in general about yum-updatesd.

I'm considering stopping and restarting yum-updatesd with a root cron job, to 
see if that will force yum-updatesd to check for updates.
Comment 1 Jeremy Katz 2007-04-25 11:19:13 EDT
The default is to send to root@localhost from root@localhost.  The options for
sending elsewhere are all documented in the man page.

Note You need to log in before you can comment on or make changes to this bug.