Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

For a production Debian squeeze server, what are the best practices or recommendations for handling security updates? I have seen various articles on cron-apt, apticron, unattended-updates, apt cron jobs, etc. that download and/or install security updates as they are released.

It seems like there are two philosophies on this:

  1. Download all security updates and notify with an email, and then have an admin come in and manually apply the updates.

  2. Download and install all security updates as they are released, sending an email notification letting the admin know what packages were upgraded.

For these two cases, what is the recommended way to configure automatic security upgrades on a Debian server?

share|improve this question
add comment

2 Answers

I went with the second scenario using unattended-upgrades using these instructions.

It's important to note the options available to you with unattended-upgrades. I only install security updates automatically, and if anything goes wrong during the updating process it halts and I get an e-mail about it.

share|improve this answer
    
+1 this is the way to do it. –  Sardathrion Jan 23 '12 at 7:59
add comment

I prefer the first scenario. I personally use apticron on my system to notify me of new updates. Since I am online a lot during the day and evening I read these mails quite fast and I apply the updates myself. This for the reason that sometimes packets conflict, and I do not want to take any risk that my server goes down because of an automatic update.

But this is a personal view. It depends how much time you have to update your servers. Some people perfer automatic updating, and never have any trouble with it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.