Per my comment on "Should I run aptitude full-upgrade or is that handled via Barracuda or Octopus?" in the the BOA group:
Just wondering, perhaps for the 'wishlist': Since Man page, fonts, grub and kernel stuff has hooks that run after an aptitude update, I wonder if it's possible for Barracuda to add its own hooks so that if the vulnerable parts (NginX, PHP-FPM etc) are updated, a script is run to get the latest and recompile? Would make it largely bomb-proof, though I don't know enough about Aptitude to know if it's possible. Any thoughts?
I see there are http://wiki.debian.org/DpkgTriggers which would allow Barracuda (or part of its script) to be called to auto-recompile NginX & PHP-FPM only if a sub-module or related package was updated...
This would be a great feature and would mean server admins can just run apt-get upgrade or aptitude full-upgrade as they would on most other systems, safe in the knowlegde their webserver will be recompiled and fixed by Barracuda if deemed necessary by the system.
Is this a good idea? I realise this is specific to Debian and its child distros, but would be fantastic to avoid needing to run the script for simple package updates to a server.
Comments
Comment #1
omega8cc commentedThis is definitely a good idea and we need to look into this soon. Thanks!
Comment #2
omega8cc commentedWe are working on deb packaging almost everything Barracuda builds from sources, so you could run all upgrades (excluding only Aegir itself probably) using standard system tools.
Comment #3
omega8cc commentedWe have fixed this (for Squeeze only so far) by using packages for all important services, so starting with current HEAD and next BOA-2.0.3 release you will be able to safely update your system with standard apt-get/aptitude, no extra magic required.
Comment #4
jim kirkpatrick commentedWoop! Awesome work, well done...
I literally just did yet another unneeded BARRACUDA update just to update some debian packages, so this is great news indeed.
Thank you.
Comment #5
omega8cc commentedWe did the same in the Ubuntu Precise support, already working in HEAD, so we can probably mark this as fixed.
Thanks!
Comment #7
omega8cc commentedThere is an important change to this apt-get only behavior: http://drupal.org/node/1587786#comment-6011582