Re: [systemd-devel] needed steps to get rebootless upgrade
2014-02-18 0:29 GMT+04:00 H. Peter Anvin h...@zytor.com: Well, kexec passes an initramfs like any other boot. Thanks. If that possible to not load initrd via kexec, but use already unpacked image in the memory? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
On 02/18/2014 02:32 AM, Vasiliy Tolstov wrote: 2014-02-18 0:29 GMT+04:00 H. Peter Anvin h...@zytor.com: Well, kexec passes an initramfs like any other boot. Thanks. If that possible to not load initrd via kexec, but use already unpacked image in the memory? Not if it is an (init)ramfs. If it is an actual initrd it can be done, but it is kind of pointless. -hpa ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
On Mon, 17.02.14 08:16, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hi all. I'm very interesting on creating system like cromeos that can do upgrade without reboot. ChromeOS doesn't support reboot-less upgrades. In case of using systemd - what i need to do? I have two disk (ramdisk) system1 and system2 that have old (system1) and new (system2) filesystems. How can i get upgrade system1 with system2? As i understand i need to reload each running service to use new system2 for it? Can somebody says me more detailed steps to get this? Such reboot-less upgrades are hardly possible. There are large parts of the system you cannot upgrade during runtime, such as the kernel or dbus-daemon and other bits. And even if you could replace all these things, upgrades during runtime between arbitrary versions unlikely would be well tested, and hence risky business... Anyway systemd won't help you with this I fear... Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
Op 17 feb. 2014, om 14:50 heeft Lennart Poettering lenn...@poettering.net het volgende geschreven: On Mon, 17.02.14 08:16, Vasiliy Tolstov (v.tols...@selfip.ru) wrote: Hi all. I'm very interesting on creating system like cromeos that can do upgrade without reboot. ChromeOS doesn't support reboot-less upgrades. In case of using systemd - what i need to do? I have two disk (ramdisk) system1 and system2 that have old (system1) and new (system2) filesystems. How can i get upgrade system1 with system2? As i understand i need to reload each running service to use new system2 for it? Can somebody says me more detailed steps to get this? Such reboot-less upgrades are hardly possible. There are large parts of the system you cannot upgrade during runtime, such as the kernel or dbus-daemon and other bits. And even if you could replace all these things, upgrades during runtime between arbitrary versions unlikely would be well tested, and hence risky business... Anyway systemd won't help you with this I fear... If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't reboot :) regards, Koen ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
On 02/17/2014 06:40 AM, Koen Kooi wrote: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't reboot :) And what is the point, then? -hpa ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
Op 17 feb. 2014, om 17:03 heeft H. Peter Anvin h...@zytor.com het volgende geschreven: On 02/17/2014 06:40 AM, Koen Kooi wrote: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't reboot :) And what is the point, then? Checkbox for the marketing department :) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
2014-02-17 18:40 GMT+04:00 Koen Kooi k...@dominion.thruhere.net: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't reboot :) regards, Point to not reboot - bring up system faster. In case of pxe i get 10-15 sec bios, 5 sec - get ip from dhcp server and get kernel and minimal initrd, 10 sec to download full squashfs (debian-live), 1min-3min - chef-solo on image to configure. If i get to ramfs and get back - i can save about 2-5 min to get working system. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
On 02/17/2014 12:01 PM, Vasiliy Tolstov wrote: 2014-02-17 18:40 GMT+04:00 Koen Kooi k...@dominion.thruhere.net: If we stretch the definition of 'reboot' a bit, would it be possible to shutdown, jump back into the initramfs, do the updates and jump to the main rootfs again? It assumes you have an initramfs and all your apps will close, but the machine doesn't reboot :) regards, Point to not reboot - bring up system faster. In case of pxe i get 10-15 sec bios, 5 sec - get ip from dhcp server and get kernel and minimal initrd, 10 sec to download full squashfs (debian-live), 1min-3min - chef-solo on image to configure. If i get to ramfs and get back - i can save about 2-5 min to get working system. kexec? -hpa ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
2014-02-18 0:07 GMT+04:00 H. Peter Anvin h...@zytor.com: kexec? Is that possible to keep ramdisk while doing kexec? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] needed steps to get rebootless upgrade
Well, kexec passes an initramfs like any other boot. On February 17, 2014 12:27:34 PM PST, Vasiliy Tolstov v.tols...@selfip.ru wrote: 2014-02-18 0:07 GMT+04:00 H. Peter Anvin h...@zytor.com: kexec? Is that possible to keep ramdisk while doing kexec? -- Sent from my mobile phone. Please pardon brevity and lack of formatting. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel