LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-21-2012, 03:03 PM   #1
rmknox
Member
 
Registered: May 2010
Posts: 352

Rep: Reputation: 29
F16 - how do I tell system not to automatically load kernel updates?


Right now F16 automatically loads updates to the kernel.

I am eager to load faulty kernels under my control since it could disable the system when I am not present to fix it

Prior Fedoras had a file in /etc where you told yum that it was or was not authorized to do updates automatically. as I rec file name had a sd in it

With f16 how do I tell system whether it can do automatic updates, and if so when to do them?

Is there a place in the fedora documentation that tells this?

Suggestions svp.

Dick
 
Old 11-21-2012, 04:21 PM   #2
dinkus223
LQ Newbie
 
Registered: Aug 2010
Location: Memphis, 10
Distribution: Rotates on weekly or monthly basis
Posts: 22

Rep: Reputation: 3
/etc/sysconfig/kernel has an option, UPDATEDEFAULT, to make new kernels the default. Setting it to no will keep newly installed kernels from beings loaded automatically. Fedora's web documentation The Sysconfig Directory has info on the directory and other config files. The kernel file is not listed.
 
1 members found this post helpful.
Old 11-21-2012, 09:09 PM   #3
rmknox
Member
 
Registered: May 2010
Posts: 352

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by dinkus223 View Post
/etc/sysconfig/kernel has an option, UPDATEDEFAULT, to make new kernels the default. Setting it to no will keep newly installed kernels from beings loaded automatically. Fedora's web documentation The Sysconfig Directory has info on the directory and other config files. The kernel file is not listed.
dinkus233 - thanks so much

From your description I would assume that the system will continue to accept and build new kernels, and put the implementing language in the grub config file, but not have the parameter which tells which one is the default point to the new one? Oops - looks like grub2 is different from grub in this respect - I don't see variable named default? As I recall grub had a zero based numbering system so default=0 got the first on in the file etc?

Post Script: Occurred to me that maybe 0 is the default value for the parameter "default" so I tried default=1 and it selected the second kernel on the list. That mystery is solved.

Last edited by rmknox; 11-21-2012 at 11:59 PM.
 
Old 11-22-2012, 09:35 PM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
if you don't want yum to update your kernel in the first place, you can add the following line to the "fedora" and "updates" repo configs in /etc/yum.repos.d/{fedora.repo,fedora-updates.repo}
Code:
exclude=kernel*
 
Old 11-27-2012, 09:59 PM   #5
rmknox
Member
 
Registered: May 2010
Posts: 352

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by Berhanie View Post
if you don't want yum to update your kernel in the first place, you can add the following line to the "fedora" and "updates" repo configs in /etc/yum.repos.d/{fedora.repo,fedora-updates.repo}
Code:
exclude=kernel*
dinkus223 and Berhanie - thanks so much.

Is there a way that I can cause all automatic updates to stop?

In the past - when I was ready for it - I would
Code:
sudo yum update
review the list and respond y or n

the advantage is that your system does not become unusable or unstable when your family is using it but only when you want it to and have the time to deal with problems that may arise

is this automatic process controlled by chron? if not it must originate somewhere on my system?

Post Script
I've been digging and it appears that /usr/libexec/gnome-settings-daemon updated my kernel on 11/14 using PackageKit.
per
http://forums.fedoraforum.org/showthread.php?t=277825
the answer is to uninstall packageKit
they recommend
Code:
rpm -e --nodeps PackageKit
Will remove packagekit but leave the dependencies intact.

Any reactions or recommendations?

Having my system updated not under my control is distasteful to me. I would not have signed onto the Fedora system if I had known that they did this. It appears to me to be relatively new.

Last edited by rmknox; 11-27-2012 at 11:05 PM.
 
Old 11-28-2012, 04:49 AM   #6
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
on gnome, you can set your update preferences in Applications -> Other -> Software Setting.
 
1 members found this post helpful.
Old 11-28-2012, 09:08 AM   #7
rmknox
Member
 
Registered: May 2010
Posts: 352

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by Berhanie View Post
on gnome, you can set your update preferences in Applications -> Other -> Software Setting.
Fantastic - who would have guessed - in "other"

Thanks so much

Could I have found this in the documentation somewhere?
 
Old 11-29-2012, 02:17 AM   #8
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
Fantastic - who would have guessed - in "other"
in Activities, you can type "software" and get a list of related applications.

Quote:
Could I have found this in the documentation somewhere?
see here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tried to preupgrade from F16 to F17 - kernel panic... any ideas on how to fix this? comcastuser Fedora 3 08-22-2012 08:07 PM
Compile and load kernel module automatically after boot? (Intel NIC module) touser Linux - Newbie 3 08-29-2009 08:45 PM
system call to load and unload the module in kernel sharad Linux - Kernel 3 03-01-2007 05:00 AM
how to load ur driver as a kernel modules when the system startsup sumanth.sindiri Linux - General 1 12-05-2006 06:09 AM
Kernel Oops - System also hangs under load. quill18 Linux - General 3 02-19-2004 04:17 PM


All times are GMT -5. The time now is 11:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration