English
« Back to projectatomic.io
Ask Your Question
0

Why another package management system?

asked 2014-04-18 16:22:37 +0000

Jasmine Lognnes gravatar image

updated 2014-04-18 16:55:27 +0000

What is the benefit of another package system when there are rpm?

Is the atomic updates actually just rpm packages, but made for the atomic host, so less/other dependencies compared to a normal rpm package for RHEL?

Is suppose updates are only for the Docker host and not the containers, right?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-04-19 16:30:28 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The update system used in Project Atomic is ostree. Ostree work by taking a snapshot of the system and let adminsitrators boot on it. When the administrator decide to update, he just download a new snapshot and boot on it. The benefits are easy to explain. First, you can be sure that all your system run the same exact code, since they are bit for bit copy, at least for the part managed by ostree. It also permit to rollback to the previous version if there is anything wrong ( like "system do not reboot", or "software crash after 5 minutes" ).

The filesystem used is still based on the upstream distribution, and while for now, the current software only support rpm ( see rpm-ostree ), there is no reason that wouldn't make it support more ( like debian, gentoo or anything ), except lack of coders to do it. So you still use rpm to create the tree, but you deploy it another way.

See https://wiki.gnome.org/Projects/OSTree for more details, especially the linked post at the bottom, and feel free to ask again if you have questions.

edit flag offensive delete link more

Comments

Very interesting. Would it be correct to say that ostree makes a (btrfs?) filesystem snapshot before yum update?

Jasmine Lognnes ( 2014-04-19 18:30:01 +0000 )edit

Nope, the snapshot is made after the yum update, on the server that produce the tree. And it doesn't use btrfs.

misc ( 2014-04-19 19:26:55 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-18 16:22:37 +0000

Seen: 859 times

Last updated: Apr 19 '14