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

omega8cc’s picture

Status: Active » Needs work
Issue tags: +BOA-todo

This is definitely a good idea and we need to look into this soon. Thanks!

omega8cc’s picture

We 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.

omega8cc’s picture

Title: Allow system to use Aptitude updates safely by calling Barracuda scripts on Dpkg Triggers » Support standard Aptitude for all system updates w/o the need to run Barracuda

We 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.

jim kirkpatrick’s picture

Woop! 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.

omega8cc’s picture

Status: Needs work » Fixed

We did the same in the Ubuntu Precise support, already working in HEAD, so we can probably mark this as fixed.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

omega8cc’s picture

There is an important change to this apt-get only behavior: http://drupal.org/node/1587786#comment-6011582