I use CentOS 5.4, the free version of RedHat. I looked in /var/log, and found some logs for "yum". Here is a script that shows a sample of when some updates were made:
producing:
I have no idea if this is always the case for an update. The files may contain more than one set of updates, so you may need to process to collect the unique dates.
I need a KSH script that will check a host file for duplicate IP's and/or host names and report out the errors. Anyone out there have one they would like to share?
Something like:
Hostname blahblah appears X times
IP Address xxx.xxx.xxx.xxx appears X times
TIA (4 Replies)
I am using KSH and I need to check whether the remote host has been configured with ssh public key. Is there any way we can check inside a script? (6 Replies)
Hi,
My script needs to check whether the remote host is up or not.
If it is up i need to start few servers in that host or else just a notification should be sent that the remote host is down?
Could someone help me out in this?
Regards
Arun (4 Replies)
Hi,
I'm interesting do you have a some solution/good practice how upgrade/update OS with possibility to back previously release (something like Live upgrade in Solaris) ?
thanks. (2 Replies)
Hey all,
I have a script that I use for some automated installs. Unfortunately for the script to work the server that it's running from needs to have host-key authentication setup to the target server. If it isn't setup beforehand and the script is executed the install partially completes and... (1 Reply)
I am able to connect to a remote host using the legacy IP and port 2222.
Today the remote has a new IP I am unable to connect.
How to check if the remote host is blocking or if its my server is unable to connect.
Err Msg : telnet: Unable to connect to remote host: Connection refused
Err... (5 Replies)
Hello,
I have an old system SCO 5.0.2 HOST (without network) and some applications on this machine. Theses applications are not installable again on other system because i have not the routines. And it's now necessary to connect this old system on local network for a "new" application.
I have SCO... (13 Replies)
Hi all,
1) how do i check which FS(filesystems) in the current active PBE are shared and not shared with the ABE (alternate boot env) ?
is doing lufslist and comparing between the 2 BEs the only option ?
2) when doing a luactivate -s (synchronize), does the synchronization go both way... (0 Replies)
Hi all, posting my first time, hope not breaking posting rules with it, if yes, let me know.
I'm trying to build a script to check a file in an sftp server through a remote server.
The intention is to check the file in a sftp host, and if the file is found or not, it should send an email.... (4 Replies)
Discussion started by: MrShinyPants
4 Replies
LEARN ABOUT DEBIAN
yum-updatesd.conf
yum-updatesd.conf(5) yum-updatesd configuration file yum-updatesd.conf(5)NAME
yum-updatesd.conf - Configuration file for yum-updatesd(8).
DESCRIPTION
yum-updatesd uses a configuration file at /etc/yum/yum-updatesd.conf.
Additional configuration information is read from the main yum.conf (5) configuration file.
PARAMETERS
There is one section in the yum-updatesd configuration file, main, which defines all of the global configuration options.
[main] OPTIONS
The [main] section must exist for yum-updatesd to do anything. It consists of the following options:
run_interval
Number of seconds to wait between checks for available updates.
updaterefresh
Minimum number of seconds between update information refreshes to avoid hitting the server too often.
emit_via
List of ways to emit update notification. Valid values are `email', `dbus' and `syslog'.
do_update
Boolean option to decide whether or not updates should be automatically applied. Defaults to False.
do_download_deps
Boolean option to decide whether or not updates should be automatically downloaded. Defaults to False.
do_download_deps
Boolean option to automatically download dependencies of packages which need updating as well. Defaults to False.
MAIL OPTIONS
email_to
List of email addresses to send update notification to. Defaults to `root@localhost'.
email_from
Email address for update notifications to be from. Defaults to `yum-updatesd@localhost'.
SYSLOG OPTIONS
syslog_facility
What syslog facility should be used. Defaults to `DAEMON'.
syslog_level
Level of syslog messages. Defaults to `WARN'.
FILES
/etc/yum/yum-updatesd.conf
SEE ALSO yum-updatesd(8)yum.conf(5)Jeremy Katzyum-updatesd.conf(5)