Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Lennart Poettering
On Wed, 20.06.12 22:23, Antonio Trande (anto.tra...@gmail.com) wrote: 'Offline System Updates' will come as feature for Fedora 18. Reading your official page http://freedesktop.org/wiki/Software/systemd/SystemUpdates: The system update script now creates a btrfs snapshot (if possible), then

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Antonio Trande
Hi Lennart. 2012/6/21 Lennart Poettering lenn...@poettering.net On Wed, 20.06.12 22:23, Antonio Trande (anto.tra...@gmail.com) wrote: 'Offline System Updates' will come as feature for Fedora 18. Reading your official page http://freedesktop.org/wiki/Software/systemd/SystemUpdates:

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Lennart Poettering
On Thu, 21.06.12 12:31, Antonio Trande (anto.tra...@gmail.com) wrote: BTRFS ? Will 'Offline Updates' be available only with BTRFS ? Nope. But on btrfs we'll make a snapshot of the old system state. On non-btrfs we won't. Maybe BTRFS will be the default filesystem in Fedora 18,

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Tomasz Torcz
On Thu, Jun 21, 2012 at 12:45:02PM +0200, Lennart Poettering wrote: On Thu, 21.06.12 12:31, Antonio Trande (anto.tra...@gmail.com) wrote: BTRFS ? Will 'Offline Updates' be available only with BTRFS ? Nope. But on btrfs we'll make a snapshot of the old system state. On non-btrfs we

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Alexander E. Patrakov
2012/6/21 Lennart Poettering lenn...@poettering.net: On Wed, 20.06.12 22:23, Antonio Trande (anto.tra...@gmail.com) wrote: 'Offline System Updates' will come as feature for Fedora 18. Reading your official page http://freedesktop.org/wiki/Software/systemd/SystemUpdates: The system update

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Lennart Poettering
On Thu, 21.06.12 17:31, Alexander E. Patrakov (patra...@gmail.com) wrote: 1) Can one configure the system to use kexec instead of the reboot? (BTW, the only machine that I have access to and where kexec doesn't work is a multi-CPU KVM guest) Well, it doesn't really matter how you reboot, as

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Alexander E. Patrakov
2012/6/21 Lennart Poettering lenn...@poettering.net: If source based distros want to implement this I'd probably recommend them to compile everything in the system, and only do the final step, the installation as part of the system-update step. The problem is that your recommendation (if I

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Lennart Poettering
On Thu, 21.06.12 18:23, Alexander E. Patrakov (patra...@gmail.com) wrote: 2012/6/21 Lennart Poettering lenn...@poettering.net: If source based distros want to implement this I'd probably recommend them to compile everything in the system, and only do the final step, the installation as

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Alexander E. Patrakov
2012/6/21 Lennart Poettering lenn...@poettering.net: But this looks like a limiation of the build system, no? The build system should be capable of building against a non-installed version. The binary distro auto builders can do that... In Debian, they do that by installing all dependencies of

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Jóhann B. Guðmundsson
On 06/21/2012 09:56 AM, Lennart Poettering wrote: Nope. But on btrfs we'll make a snapshot of the old system state. On non-btrfs we won't. Hmm weren't there ext4 snapshot patches floating around the web and what about lvm snapshots support? JBG

Re: [systemd-devel] 'Offline System Updates' examination

2012-06-21 Thread Jóhann B. Guðmundsson
On 06/21/2012 10:45 AM, Lennart Poettering wrote: Snapshots only make sense really on CoW filesystems such as btrfs, and they are not supported on ext4. That means the extra safety net that is a snapshot will only be available on btrfs, and not on ext4, but the snapshot is really just the cherry

[systemd-devel] 'Offline System Updates' examination

2012-06-20 Thread Antonio Trande
'Offline System Updates' will come as feature for Fedora 18. Reading your official page http://freedesktop.org/wiki/Software/systemd/SystemUpdates: The system update script now creates a btrfs snapshot (if possible), then installs all RPMs. After completion (regardless whether the update