The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Debian
.
google unix.com



Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tru64 - how can you determine the package where a file or binary belongs to? Crazy_lenny UNIX for Dummies Questions & Answers 0 12-08-2008 08:46 AM
How to determine which SIP a package belongs brizrobbo SUN Solaris 0 02-17-2008 08:45 PM
Determine last reboot when wtmp broken Andrek SUN Solaris 3 10-04-2006 11:48 PM
different between soft reboot and hard reboot seelan3 SUN Solaris 3 09-21-2006 02:12 AM
how to pre-determine if a reboot is required? A Stewart AIX 4 06-16-2005 12:36 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-23-2009
X-ion X-ion is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 6
How to determine if a package needs a reboot?

Hi,

Anyone got a clue? is there some tool for it? couldnt find it in apt get, anyway i hope so cos i must build a patch management tool for work:P

Greetz.
  #2 (permalink)  
Old 02-23-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,839
I found only 2 reasons to reboot my Debian system so far:
  1. Hardware change
  2. Kernel update
  #3 (permalink)  
Old 02-23-2009
X-ion X-ion is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 6
Well i didnt know quite were to post it, cos the program should work cross platform, so also fedora redhat, sun solaris and others should be covered...

So you are saying that except those 2 there never is a reboot needed? that should safe me from a lot of trouble
  #4 (permalink)  
Old 02-23-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,839
For most UNIXes I know there's usually no reason to reboot except for those two. Whether or not any services have to be (manually) restarted depends on the package management system and the distributor. (but most do it themselves)
If you manage to include kexec properly you can even save a lot of time on kernel updates on Linux machines.
  #5 (permalink)  
Old 02-23-2009
X-ion X-ion is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 6
Thanks for your response, and how about information about services being stopped? A lot of servers on which to install packages are customers of the business and dont want any services to be stopped or restarted (for example apache). is there any way to find out if a service needs to be restarted in the packafe info?

Greetz and thanks in advance.
  #6 (permalink)  
Old 02-23-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,839
On the two most prevalent package management systems for Linux (deb and rpm) that information isn't really accessible, but depends on what the pre-/postinstall scripts embedded in the package do and how the maintainer wrote those.
As for downtime: a typical Apache upgrade for me never resulted in more that 30 seconds downtime (which was on a P90, long ago). Since an upgrade should be done between business hours anyways (in case somethings goes terribly wrong) a blip of about 5 minutes shouldn't do too much of an impact on business. If it would I suggest investing in redundancy and update only one node at a time.
  #7 (permalink)  
Old 02-23-2009
X-ion X-ion is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 6
Thanks for the information, i was already guessing there was no easy way around it really, well this prolly means we prolly have to dry run packages and check for any errors, if so they have to install manually i guess,

I forgot to meantion that it was going to be an automated patch management tool really
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0