Re: how do I disable background updates?

2012-07-14 Thread William Scott
On 11 July 2012 04:47, Todd And Margo Chester toddandma...@gmail.com wrote:

SNIP
 on the prior version.

 Thank you for the help,
 -T

Something of interest if you have to roll back.

http://yum.baseurl.org/wiki/YumHistory


Re: how do I disable background updates?

2012-07-14 Thread P. Larry Nelson

On 7/14/12 8:31 AM, William Scott wrote:

On 11 July 2012 04:47, Todd And Margo Chester toddandma...@gmail.com wrote:

SNIP

on the prior version.

Thank you for the help,
-T


Something of interest if you have to roll back.

http://yum.baseurl.org/wiki/YumHistory


Very cool!

But which version of yum has this?
The web page (above) says the 'history' command was added sometime
around the end of 2009.

The yum we are currently using (in SL 5.5) is yum-3.2.22-26 with a build
date of 04 May 2010 and does *not* have the 'history' command.

Thanks!
- Larry


--
P. Larry Nelson (217-244-9855) | Systems/Network Administrator
461 Loomis Lab | High Energy Physics Group
1110 W. Green St., Urbana, IL  | Physics Dept., Univ. of Ill.
MailTo:lnel...@uiuc.edu| http://www.roadkill.com/lnelson/
---
 Information without accountability is just noise.  - P.L. Nelson


Re: how do I disable background updates?

2012-07-10 Thread Todd And Margo Chester

On 07/09/2012 11:26 PM, Artifex Maximus wrote:

On Tue, Jul 10, 2012 at 1:03 AM, Todd And Margo Chester
toddandma...@gmail.com wrote:

How do I turn off these background updates?



From the header of file /etc/init.d/yum-autoupdate:


Turn off
service yum-autoupdate stop
chkconfig --del yum-autoupdate

Bye,
a



Hi Artifex,

RPM says yum-autoupdate is installed:

$ rpm -qa \*yum-auto\*
yum-autoupdate-2-4.2.noarch

But, it is not in init.d

$ ls /etc/rc.d/init.d | grep -i auto
$

Anyway, disabling it in /etc/init.d/yum-autoupdate
seems to have done the trick.  My VM are still
here this morning and flash-plugin is still
on the prior version.

Thank you for the help,
-T


how do I disable background updates?

2012-07-09 Thread Todd And Margo Chester

Hi All,

According to /var/log/yum.log, something is doing back
ground updates.

This morning the flash-plugin updated after I downgraded
it yesterday and I got a libvirt updated that crashed
my VMs.  I did not ask for these updates.  I am afraid to go
on the Internet!

How do I turn off these background updates?

Many thanks,
-T


Re: how do I disable background updates?

2012-07-09 Thread Alan Bartlett
On 10 July 2012 00:03, Todd And Margo Chester toddandma...@gmail.com wrote:
 Hi All,

 According to /var/log/yum.log, something is doing back
 ground updates.

 This morning the flash-plugin updated after I downgraded
 it yesterday and I got a libvirt updated that crashed
 my VMs.  I did not ask for these updates.  I am afraid to go
 on the Internet!

 How do I turn off these background updates?

I'd suggest looking at the output returned by --

sudo yum list yum-\*

Alan.


Re: how do I disable background updates?

2012-07-09 Thread Alan Bartlett
On 10 July 2012 00:11, Alan Bartlett a...@elrepo.org wrote:
 On 10 July 2012 00:03, Todd And Margo Chester toddandma...@gmail.com wrote:
 Hi All,

 According to /var/log/yum.log, something is doing back
 ground updates.

 This morning the flash-plugin updated after I downgraded
 it yesterday and I got a libvirt updated that crashed
 my VMs.  I did not ask for these updates.  I am afraid to go
 on the Internet!

 How do I turn off these background updates?

 I'd suggest looking at the output returned by --

 sudo yum list yum-\*

Just checked for myself. The yum-cron package looks as if it is the
guilty party.

Name: yum-cron
Arch: noarch
Version : 3.2.29
Release : 30.el6
Size: 35 k
Repo: rhel-x86_64-server-optional-6
Summary : Files needed to run yum updates as a cron job
License : GPLv2+
Description : These are the files needed to run yum updates as a cron job.
: Install this package if you want auto yum updates
nightly via cron.

Alan.


Re: how do I disable background updates?

2012-07-09 Thread P. Larry Nelson

On 7/9/12 6:11 PM, Alan Bartlett wrote:

On 10 July 2012 00:03, Todd And Margo Chester toddandma...@gmail.com wrote:

Hi All,

According to /var/log/yum.log, something is doing back
ground updates.

This morning the flash-plugin updated after I downgraded
it yesterday and I got a libvirt updated that crashed
my VMs.  I did not ask for these updates.  I am afraid to go
on the Internet!

How do I turn off these background updates?


I'd suggest looking at the output returned by --

sudo yum list yum-\*

Alan.


Todd,

More importantly - why are you not being notified by yum when the
background updates occur?  Yum should be sending email to root when
that happens.

Who does root point to in your /etc/aliases file (last line of the file)?

Also, I strongly suggest you subscribe to the scientific-linux-errata
email list (non-discussion) wherein Pat Riehecky sends out notices
of impending errata updates a day in advance.

- Larry

--
P. Larry Nelson (217-244-9855) | Systems/Network Administrator
461 Loomis Lab | High Energy Physics Group
1110 W. Green St., Urbana, IL  | Physics Dept., Univ. of Ill.
MailTo:lnel...@uiuc.edu| http://www.roadkill.com/lnelson/
---
 Information without accountability is just noise.  - P.L. Nelson


Re: how do I disable background updates?

2012-07-09 Thread Tam Nguyen
Hi,
please look into the directory /etc/cron.daily/ and see if there is a
yum.cron file.  Also, it's worth to investigate files in the directory
/etc/yum.repo.d/.



On Mon, Jul 9, 2012 at 7:03 PM, Todd And Margo Chester 
toddandma...@gmail.com wrote:

 Hi All,

 According to /var/log/yum.log, something is doing back
 ground updates.

 This morning the flash-plugin updated after I downgraded
 it yesterday and I got a libvirt updated that crashed
 my VMs.  I did not ask for these updates.  I am afraid to go
 on the Internet!

 How do I turn off these background updates?

 Many thanks,
 -T



Re: how do I disable background updates?

2012-07-09 Thread Todd And Margo Chester

On 07/09/2012 04:14 PM, Alan Bartlett wrote:

On 10 July 2012 00:11, Alan Bartlett a...@elrepo.org wrote:

On 10 July 2012 00:03, Todd And Margo Chester toddandma...@gmail.com wrote:

Hi All,

According to /var/log/yum.log, something is doing back
ground updates.

This morning the flash-plugin updated after I downgraded
it yesterday and I got a libvirt updated that crashed
my VMs.  I did not ask for these updates.  I am afraid to go
on the Internet!

How do I turn off these background updates?


I'd suggest looking at the output returned by --

sudo yum list yum-\*


Just checked for myself. The yum-cron package looks as if it is the
guilty party.

Name: yum-cron
Arch: noarch
Version : 3.2.29
Release : 30.el6
Size: 35 k
Repo: rhel-x86_64-server-optional-6
Summary : Files needed to run yum updates as a cron job
License : GPLv2+
Description : These are the files needed to run yum updates as a cron job.
 : Install this package if you want auto yum updates
nightly via cron.

Alan.



Hi Alan,

$ yum list yum-\* | grep -i cron
yum-cron.noarch

# rpm -qa \*yum-cron\*
#

Not installed.   RATS!

Yippee!  I think I found the little bugger!
  /etc/sysconfig/yum-autoupdate

# ENABLED
# true - Run yum-autoupdate
# false - Do not run yum-autoupdate (default)
#   + anything other than true defaults to false
ENABLED=true

Ah HA!  ENABLED is now false.  And I will reboot
just to make sure everyone is listening!

Thank you!

-T




-T


Re: how do I disable background updates?

2012-07-09 Thread Alan Bartlett
On 10 July 2012 00:43, Todd And Margo Chester toddandma...@gmail.com wrote:

 Yippee!  I think I found the little bugger!
   /etc/sysconfig/yum-autoupdate

 # ENABLED
 # true - Run yum-autoupdate
 # false - Do not run yum-autoupdate (default)
 #   + anything other than true defaults to false
 ENABLED=true

 Ah HA!  ENABLED is now false.  And I will reboot
 just to make sure everyone is listening!

Excellent.

 Thank you!

You're welcome.

Alan.


Re: how do I disable background updates?

2012-07-09 Thread Todd And Margo Chester

On 07/09/2012 04:26 PM, P. Larry Nelson wrote:

On 7/9/12 6:11 PM, Alan Bartlett wrote:

On 10 July 2012 00:03, Todd And Margo Chester toddandma...@gmail.com
wrote:

Hi All,

According to /var/log/yum.log, something is doing back
ground updates.

This morning the flash-plugin updated after I downgraded
it yesterday and I got a libvirt updated that crashed
my VMs.  I did not ask for these updates.  I am afraid to go
on the Internet!

How do I turn off these background updates?


I'd suggest looking at the output returned by --

sudo yum list yum-\*

Alan.


Todd,

More importantly - why are you not being notified by yum when the
background updates occur?  Yum should be sending email to root when
that happens.

Who does root point to in your /etc/aliases file (last line of the file)?

Also, I strongly suggest you subscribe to the scientific-linux-errata
email list (non-discussion) wherein Pat Riehecky sends out notices
of impending errata updates a day in advance.

- Larry



Hi Larry,

   I usually do not read root's mail.  I wonder if there
is a way to read it with Thunderbird without setting up
sendmail.  Hmmm.

-T


Re: how do I disable background updates?

2012-07-09 Thread Akemi Yagi
On Mon, Jul 9, 2012 at 4:03 PM, Todd And Margo Chester
toddandma...@gmail.com wrote:
 Hi All,

 According to /var/log/yum.log, something is doing back
 ground updates.
(snip)
 How do I turn off these background updates?

One of the packages added by SL is yum-autoupdate (in SL 6). According to:

http://www.scientificlinux.org/distributions/6x/features/added

yum-autoupdate
Summary : Automatically update your machine daily via yum.
Added for those users who want their system automatically updated
without having to worry about doing it by hand.
This is installed by default.

As already pointed out, this is the one that performs auto update in
SL 6 and can be configured by editing /etc/sysconfig/yum-autoupdate .
yum-cron is used in SL 5 but is not installed by default.

Akemi


Re: how do I disable background updates?

2012-07-09 Thread Todd And Margo Chester

On 07/09/2012 05:18 PM, Akemi Yagi wrote:

On Mon, Jul 9, 2012 at 4:03 PM, Todd And Margo Chester
toddandma...@gmail.com wrote:

Hi All,

According to /var/log/yum.log, something is doing back
ground updates.

(snip)

How do I turn off these background updates?


One of the packages added by SL is yum-autoupdate (in SL 6). According to:

http://www.scientificlinux.org/distributions/6x/features/added

yum-autoupdate
Summary : Automatically update your machine daily via yum.
Added for those users who want their system automatically updated
without having to worry about doing it by hand.
This is installed by default.

As already pointed out,


By me

 this is the one that performs auto update in

SL 6 and can be configured by editing /etc/sysconfig/yum-autoupdate .
yum-cron is used in SL 5 but is not installed by default.

Akemi



yum-autoupdate is suppose to be off by default.  I wonder who
turned the turkey on?

Here is hoping libvirt is fixed on SL 6.3.  I wonder when
that is due out.  (Better late and correct, than on time
and broken.)

-T


Re: how do I disable background updates?

2012-07-09 Thread P. Larry Nelson

Hi Todd,

On 7/9/12 7:05 PM, Todd And Margo Chester wrote:

On 07/09/2012 04:26 PM, P. Larry Nelson wrote:

On 7/9/12 6:11 PM, Alan Bartlett wrote:

On 10 July 2012 00:03, Todd And Margo Chester toddandma...@gmail.com
wrote:

Hi All,

According to /var/log/yum.log, something is doing back
ground updates.

This morning the flash-plugin updated after I downgraded
it yesterday and I got a libvirt updated that crashed
my VMs.  I did not ask for these updates.  I am afraid to go
on the Internet!

How do I turn off these background updates?


I'd suggest looking at the output returned by --

sudo yum list yum-\*

Alan.


Todd,

More importantly - why are you not being notified by yum when the
background updates occur?  Yum should be sending email to root when
that happens.

Who does root point to in your /etc/aliases file (last line of the
file)?

Also, I strongly suggest you subscribe to the scientific-linux-errata
email list (non-discussion) wherein Pat Riehecky sends out notices
of impending errata updates a day in advance.

- Larry



Hi Larry,

I usually do not read root's mail.  I wonder if there
is a way to read it with Thunderbird without setting up
sendmail.  Hmmm.

-T


Ok, first off, IMHO, you should read email to root
Back in the early days of unix, it was pretty much an
unwritten rule (sometimes it was a written local policy)
that root in /etc/aliases *had* to point to an email address
which would be reliably read by a human.  I don't think the
new generation of admins follows that as much anymore.
But then again, unix systems back then were always servers
of some sort or another.

Second, sendmail should always be part of any SL installation.
By default, the standard sendmail, as provided by TUV, does not listen
for incoming email, i.e., it is not acting as an email server and thus
is not a worry to have to deal with - just install it.

Third, if root in /etc/aliases has not been modified to send to an
email address, email to root stays on the local machine.  You can easily
read root's email on the local machine with /bin/mail (if you're logged
in as root or su to root), which is an ascii text bare-bones email
reader dating back to the Pleistocene.  Doesn't matter much since
system email sent to root is just ascii text anyway.

Make it a point to check root's email, if not daily, at least once a
week.  If you have logwatch enabled, there will be daily emails.

My $.02

- Larry

--
P. Larry Nelson (217-244-9855) | Systems/Network Administrator
461 Loomis Lab | High Energy Physics Group
1110 W. Green St., Urbana, IL  | Physics Dept., Univ. of Ill.
MailTo:lnel...@uiuc.edu| http://www.roadkill.com/lnelson/
---
 Information without accountability is just noise.  - P.L. Nelson