Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeRMo-0003g6-J7 for pgsql-general@arkaria.postgresql.org; Thu, 28 May 2020 22:51:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jeRMl-0003hj-Rm for pgsql-general@arkaria.postgresql.org; Thu, 28 May 2020 22:51:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jeRMl-0003hc-HP for pgsql-general@lists.postgresql.org; Thu, 28 May 2020 22:51:11 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jeRMg-0007L4-Il for pgsql-general@lists.postgresql.org; Thu, 28 May 2020 22:51:10 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d3so196742pln.1 for ; Thu, 28 May 2020 15:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:in-reply-to:message-id:date :mime-version; bh=z/cp/GtFHiyjfH850g2JSgUn99nB8LzsW9XIQgskqlg=; b=SnED52jsmIwXddXWlJ/uRdM26Z+eipbLHvf8heCKN9oomVwThuyzkyihQnSdTRueKz Pnyj/LWz7hNDDQjJERwt5a/aVSivZ68wx+/8gIzDChXsEdj9I3d/cpDTdW/thtZB3L0S jYikwxm+2Js2X9ooLHAxLm4cDcFeGMzd+xeYh/pnvx0uKyahLy2sva9zreJWjG2c9TRj RLQxe51pZLztJE2nQtMHovXXtU05YYXehUlCAT6D8EgL6LuUe1O/LujVMkYEVCTTwR+1 Au+CWupNAE/PEF/+j5RM4/ZiDtNqw0m0zPJ3D+m8MpZNWso5NLFzjRxBOoHr4gjFCtjp DKYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject :in-reply-to:message-id:date:mime-version; bh=z/cp/GtFHiyjfH850g2JSgUn99nB8LzsW9XIQgskqlg=; b=shldr3SvN8edGX65dLNHhzjPoaK0QWv5YTjYXI4yUpnC/6fhVVqapFKXPYw/IAWLtt vCTpfigNDUQGtPPbODnTPfpGZh//+zhRr3CNqJAkpx2KXWkQ7RitkPfi0/JNmM4SVpEs DPoPHLXtWxkcfGzEDdvrL4V8Q7oXu8AHZCO7uqNdVlyW9gzhGaefn077eJF+soCBl/nT wVa+CfCkNnvmAhYVyN+hTbfy3vw87BUIK+ootwFa+x8WGTNsJYsgG1ecnXb9Lb6a5Q5L s0I18JXholaQ7t1ij9jSUQiHzGqlBicInB2poErUqjnvzIr7QIV3JLUL73LyDC+OWwQ2 N/yQ== X-Gm-Message-State: AOAM533IbpIQq1blvhkYYH91dofJo6cAFiftVT827C2ru1hX6WbWeeU+ /PgA62P1dgJl+RBFO0b6qNf84CMGkUI= X-Google-Smtp-Source: ABdhPJzTuDURqnj6UPAtFA9cDZXBJqnkTGNz+93nyYncwvyHgXechTo+yJedfms0Gw8Sbgib7knX6Q== X-Received: by 2002:a17:90a:bf08:: with SMTP id c8mr6340122pjs.13.1590706264277; Thu, 28 May 2020 15:51:04 -0700 (PDT) Received: from tim-desktop (203-173-31-7.dyn.iinet.net.au. [203.173.31.7]) by smtp.gmail.com with ESMTPSA id hb3sm6253545pjb.57.2020.05.28.15.51.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 15:51:03 -0700 (PDT) References: <8a57787e52de45b28f7b329ee9aa8844@zuerich.ch> <1bbb5bdcad4645efa095234b9978b8bd@bfs.de> User-agent: mu4e 1.4.7; emacs 28.0.50 From: Tim Cross To: pgsql-general@lists.postgresql.org Subject: Re: AW: Linux Update Experience In-reply-to: Message-ID: <87v9kf7jxo.fsf@gmail.com> Date: Fri, 29 May 2020 08:50:59 +1000 MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Zwettler Markus (OIZ) writes: > Hi Marco, > > > > How do you handle these conflicts? No longer updating that regularly or not at all anymore? > Not doing the updates is a poor option due to the potential security vulnerabilities this may lead to. Likewise, delaying the application of updates is going to increase risks as well. In fact, we have found such approaches can make the situation worse. Delaying updates tends to result in more updates being applied at once, which makes it harder to identify problems when they do occur. I think the best approach is to apply updates as soon as possible. Apply the updates to a test or uat environment (or your dev environment if you don't have a test/uat/staging one). If there are issues, resolve them before applying the updates in prod. We have found it rare for updates to be an issue if your running the packages from the distribution. Problems seem to be more common when your running packages sourced from an external repository which may lag behind changes made by the distribution. When issues do occur, we look at the type of update e.g. security, bug fix, bump in dependency versions, new version etc and make a call as to the priority and respond accordingly. This may mean delaying applying the update, actively working to resolve the issue with investigations and debugging, raising an issue/bug with the package maintainers etc. We also classify all our systems, services, databases etc according to whether they are core business processes or supporting processes. We apply updates to supporting systems before core systems. This also affects when we apply updates. For example, we would not apply updates to a core system on Friday afternoon. In fact, we may apply updates to core systems outside main business hours. If issues are encountered when applying updates to core systems, resolution of those issues are highest priority. For secondary systems, we are more likely to do the updates during business hours, will accept longer outages/down times and may not make resolution of issues the highest priority.