On Wed, 3 Jun 2015 17:26:21 +0200
Alexander Thomas <alexander.thomas+d...@esaturnus.com> wrote:

[...]
> The long story:
> 
> We have a setup with multiple servers (running Wheezy). When booting,
> the servers check whether updates are available on a master server. If
> available, they are pulled in through a dist-upgrade. This
> check/update needs to happen before any of the normal services are
> started, to avoid the need of taking down everything and then starting
> it back up after the update.
[...]

Wouldn't it be simpler to implement this check and update using
initramfs hooks?  You could bind-mount /dev, /sys and /proc to
the root filesystem, chroot there and run there a script which would
check for updates, apply them, if any, and exit.  After that the system
would just resume booting.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20150603190921.9c5c265a63b6a12ef039a...@domain007.com

Reply via email to