Rolling Back an Update


 
Thread Tools Search this Thread
Operating Systems Linux Rolling Back an Update
# 22  
Old 05-08-2012
The product exists. I am adding a new feature to the Linux version of the product. I am doing a Linux version of patch management. I had been trying to figure out rollbacks and thought somebody could offer advice.
# 23  
Old 05-08-2012
We have been, for pages. I'll summarize, one more time:

You can advise and warn, but DON'T try to be "smart" and upgrade/downgrade/override things for your users. You will cause damage and pay dearly for this if you try.

Either

1) roll back your own software, and nothing but, or
2) do it right, rolling back EVERYTHING with full backups and the like.

Last edited by Corona688; 05-08-2012 at 06:14 PM..
# 24  
Old 05-08-2012
The Windows version of the app does patch management as one of its functions. I am required to implement an equivalent functionality for Linux systems. I have succeeded in gathering patch related data with several popular distributions, and also doing an automated patch install similar to the one the Windows product does. Perhaps, as you say, there is no safe Linux equivalent for rollbacks.
# 25  
Old 05-08-2012
It's an apples to oranges comparison. You're also trying to implement across all UNIX something which you only did on one OS.

I'm wondering why you're refusing to even consider proper backups as a method...
# 26  
Old 05-09-2012
Brandon9000,

Linux does not do patches the way windows does. It uses packages. Some versions even use deltas, but the crux of it is, you cannot do what you are trying to. It is a one way proposition. The only way to avoid that is to try to claim all updates they make to any configuration files owned by a package and store them in some sort of repository linked to the version they are associated with.

You will then have to uninstall the package, install the new package (old version or new version) and then apply the config file for that version, because configuration files sometimes change formats.

LINUX IS NOT WINDOWS BUT FREE. It is an entirely different OS with different structures. EVERYTHING in LINUX is a file. Windows is very different. Is Windows POSIX compliant? Can Windows change kernels on a running OS with a splice? Does Windows have initial ram disks?

What you want are ways to save machine states, but that is an all or nothing proposition.

Might it be possible to do what you want? Sure, but it will take a very clever person a lot of time, and even more code to do it, and even in those cases, they will probably find a corner case that will bite them on the ass so hard, they will bleed money.
# 27  
Old 05-10-2012
I believe that is a correct analysis. My mandate is really not to spend weeks on a single feature, or at least very rarely. They want me to scratch items off my "to do" list and move on. The thing that makes me rather timid about doing anything too creative for rollback is that a customer may apply it to a core pieces of software where the cost of messing up is very high.

As for backups, that sounds like something where I would have to make some assumptions about the box the product finds itself on, and, in general, our customers run the gamut of different environments. Perhaps I misunderstand.
# 28  
Old 05-10-2012
This sounds like the perfect opportunity to build in backup features and sell them an add on product.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

SEO Update: Back On Page 1 for Google SERPs (between #6 and #8)

Well, good news... Just checked a number of browsers set to the US region of Google , NCR https://www.google.com/ncr unix.com was back on the first page, between #6 and #8. Will be interesting to see if we can make it back to our highest #4 ranking in 2019. Google Webmaster Tools... (4 Replies)
Discussion started by: Neo
4 Replies

2. UNIX for Dummies Questions & Answers

Middled Rolling average

Dear Help, The input file is below --- 13 2238422.00000 101083.00000 0.89024 0.00416 0.00467 14 2238318.00000 101090.00000 0.89100 0.00416 0.00467 15 2238209.00000 101100.00000 0.90964 0.00424 0.00466 16 2238104.00000 101104.00000 0.97568 0.00463 0.00475 17 2237991.00000 101113.00000... (8 Replies)
Discussion started by: Indra2011
8 Replies

3. UNIX for Dummies Questions & Answers

Rolling back SQL transaction

Can some one help me related to .sql file issue. I have a .sqlfile and tried to read the file thru unix. In the .sqlfile I have error rows as well and when error comes I dont want to proceed further and need to roll back all the transactions. sample .sql file below insert into test... (2 Replies)
Discussion started by: sri_aue
2 Replies

4. AIX

rolling back Technology Level

Hi, is it possible to roll back currently updated Technology level ? what are steps required? Regards, Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies

5. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

6. Shell Programming and Scripting

log rolling

Hi, I'm thinking of running a script via cron (every hour) to do the log rolling. The file is "file.txt" and there going to be 10 files rolling (file.txt.n). The file is being written constantly by an application. The script will do the following: 1. cat file.txt > file.txt.0 2. cat... (0 Replies)
Discussion started by: chaandana
0 Replies

7. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

8. UNIX for Dummies Questions & Answers

Rolling back time

Hi all, Have a small problem. Back in October the pervious sys-admin (of a client's company) made the necessary adjustments to the system clock for daylight savings (Sydney time - +11 GMT). As far as I can gather, they just amended the time - NO TIMEZONE !?! Is there an effective and safe... (5 Replies)
Discussion started by: Cameron
5 Replies
Login or Register to Ask a Question