Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194073

Re: how to view config file changes without running an upgrade?

From Tomaž Šolc <tomaz.solc@tablix.org>
Newsgroups linux.debian.user
Subject Re: how to view config file changes without running an upgrade?
Date 2018-03-23 10:20 +0100
Message-ID <vwr1E-4sw-3@gated-at.bofh.it> (permalink)
References <vvH8t-83E-3@gated-at.bofh.it> <vvKpI-1xX-11@gated-at.bofh.it> <vvO9X-3TL-3@gated-at.bofh.it> <vvOD0-4lc-11@gated-at.bofh.it> <vw5ua-7eB-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 22. 03. 2018 11:14, Harald Dunkel wrote:
> On 03/21/18 17:18, Greg Wooledge wrote:
>> Then you need a second system, to test the upgrades on.  If you don't
>> keep one around at all times, then you could create one on the fly
>> with debootstrap, rsync your current configs into it, and test the
>> upgrade in there.
>>
> 
> We have tons of stage systems. EMail stage systems are especially painful.
> They are constantly out of sync to the production host, making it even
> more necessary to review the diffs between the config files in the most
> recent packages and the installed files *before* running an upgrade.
> 
> Dovecot was just an example, anyway.

How I've done it in the past for Dovecot and Exim is to copy the root
filesystem from the server to another machine, chroot into it and then
upgrade the dovecot- and exim-related packages.

Review any config file changes in the chroot, test the config as far as
it can be done offline, and then run the upgrade on the server (with
everything backed up first, of course)

Best regards
Tomaž

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to view config file changes without running an upgrade? Harald Dunkel <harald.dunkel@aixigo.de> - 2018-03-21 09:20 +0100
  Re: how to view config file changes without running an upgrade? The Wanderer <wanderer@fastmail.fm> - 2018-03-21 12:50 +0100
    Re: how to view config file changes without running an upgrade? rhkramer@gmail.com - 2018-03-21 13:30 +0100
      Re: how to view config file changes without running an upgrade? Hans <hans.ullrich@loop.de> - 2018-03-21 14:30 +0100
    Re: how to view config file changes without running an upgrade? Curt <curty@free.fr> - 2018-03-21 14:50 +0100
      Re: how to view config file changes without running an upgrade? Curt <curty@free.fr> - 2018-03-21 15:20 +0100
        Re: how to view config file changes without running an upgrade? Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-03-21 16:40 +0100
          Re: how to view config file changes without running an upgrade? deloptes <deloptes@gmail.com> - 2018-03-21 22:00 +0100
            Re: how to view config file changes without running an upgrade? Richard Hector <richard@walnut.gen.nz> - 2018-03-21 22:40 +0100
              Re: how to view config file changes without running an upgrade? deloptes <deloptes@gmail.com> - 2018-03-21 22:50 +0100
                Re: how to view config file changes without running an upgrade? Curt <curty@free.fr> - 2018-03-22 11:20 +0100
                Re: how to view config file changes without running an upgrade? felmon davis <moelmoel2714@gmail.com> - 2018-03-27 09:00 +0200
                Re: how to view config file changes without running an upgrade? Curt <curty@free.fr> - 2018-03-27 09:30 +0200
            Re: how to view config file changes without running an upgrade? Jason <electron@emypeople.net> - 2018-03-22 03:30 +0100
    Re: how to view config file changes without running an upgrade? Harald Dunkel <harald.dunkel@aixigo.de> - 2018-03-21 16:50 +0100
      Re: how to view config file changes without running an upgrade? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-21 17:20 +0100
        Re: how to view config file changes without running an upgrade? deloptes <deloptes@gmail.com> - 2018-03-21 22:00 +0100
        Re: how to view config file changes without running an upgrade? Harald Dunkel <harald.dunkel@aixigo.de> - 2018-03-22 11:20 +0100
          Re: how to view config file changes without running an upgrade? Tomaž Šolc <tomaz.solc@tablix.org> - 2018-03-23 10:20 +0100
  Re: how to view config file changes without running an upgrade? David Wright <deblis@lionunicorn.co.uk> - 2018-03-21 16:00 +0100
    Re: how to view config file changes without running an upgrade? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-21 16:20 +0100
      Re: how to view config file changes without running an upgrade? David Wright <deblis@lionunicorn.co.uk> - 2018-03-21 18:20 +0100
    Re: how to view config file changes without running an upgrade? <tomas@tuxteam.de> - 2018-03-21 16:20 +0100
  Re: how to view config file changes without running an upgrade? Harald Dunkel <harald.dunkel@aixigo.de> - 2018-03-21 17:00 +0100

csiph-web