Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6275A780E99 for <~alpine/users@lists.alpinelinux.org>; Sun, 9 Jan 2022 14:13:55 +0000 (UTC) Received: by mail-lf1-f48.google.com with SMTP id g11so35057366lfu.2 for <~alpine/users@lists.alpinelinux.org>; Sun, 09 Jan 2022 06:13:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Gkf+VYQRJ0yDDH5s/bAM4PD1RdbqnCYNWM2QgWhB+T0=; b=TNa4y0NMd7bl0+dNPlpWvtdW1wgAZV7SKQM9tAM7bBHvDLOUBjtSez+mo6zJ4q+kMm Z58CWOhrVLBfWiFagmgM4Ty3WjZPgZ04BYREaaM6o68lr99RoaDN/7eXt+1VkzzDYVmx LMiZCTxDdufLzhlM5E4/+HJJzwjLw7Llh62ByXEGgSV3xxgbrqafC3ljqd1+r1kZV3io G+KBZEwzcp9D634CFbHmRbBFdonPgNezcYZ8SHVa7Ly4Qr/R7gTR/qRQ6jPfF+bW1Xbr OIGdTTsFxCg4LoYBOSSYe/nPgLs9YNVLBchl+oKiKeJNZFlIyDyZWn3PUNqccRyM3Lr2 u3VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Gkf+VYQRJ0yDDH5s/bAM4PD1RdbqnCYNWM2QgWhB+T0=; b=27NT6aQnFMsArZ+ltIXP4mi9rITgzcn8fKk70YSTIlw2ewSnKbK1Duo0eDHrnSOmVZ qIpPc4pJG4H+iRBAL5QRulWG6jJ7/3kEWcOt6iPSrvMiavPmztDmQvcVGWNNOabVYC3X yMSD/dSYPjxDQPd3ea39BgPTFP1PXJOMvG0A2cJXHO6cr8/MwVofUZBk3ma1b2M+tbi7 8sasMqOY7S+jP78AEZPs4C2nl6noOEBTKphDWifbKFlpqxpPe1bwK6K3Uld3LRTmkpcm 23yy3e24wRLqi1UJxWQf4jEbOsg/uoPvnRazquQKPve7COrTAc6LLVX1GESMSAXs0S2C KqIw== X-Gm-Message-State: AOAM5300zW/nP1nUuAKeAgjFGzgnLtjDXxvo9yL1qAIdp1Lh69fU+r55 cHGXwgBwGUYOQ63I2Wmf5lUI7gyEE2RkjyGiqSlRbvCh X-Google-Smtp-Source: ABdhPJwtEo4Mjoqqlcr1bqqClGSDuDMf3RB3tuMu7cWB4y7u3bDcsHKUfGD4pFyls6ui9m6D3Oyd01Ww1E5L+V7xhnA= X-Received: by 2002:a2e:9e0a:: with SMTP id e10mr25564834ljk.121.1641737633994; Sun, 09 Jan 2022 06:13:53 -0800 (PST) MIME-Version: 1.0 References: <20220108225120.m2vrlqjlcdffb7c7@ml1.net> In-Reply-To: <20220108225120.m2vrlqjlcdffb7c7@ml1.net> From: Jeff Bilyk Date: Sun, 9 Jan 2022 09:13:40 -0500 Message-ID: Subject: Re: Compare /etc against package defaults? To: Winston Weinert Cc: ~alpine/users@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="0000000000007d19b205d526d47c" --0000000000007d19b205d526d47c Content-Type: text/plain; charset="UTF-8" Using apk audit will handle this, Jeff On Sat, Jan 8, 2022, 5:51 PM Winston Weinert wrote: > Hello, > > I have some crufty old servers that have quite a few modified configuration > files. I'm looking into moving these customizations into a configuration > management solution (probably Ansible). > > Is there a way to compare files in /etc against the default versions that > ships > with Alpine? > > I know there is update-conf and the *.apk-new files, however, this > qusetion is > more along the lines of auditing all installed packages' configuration > files, > as opposed to migrating configuration files on upgrade. > > Best, > -- > Winston Weinert > winston@ml1.net > https://winny.tech/ > --0000000000007d19b205d526d47c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Using apk audit will handle this,
<= br>
Jeff


On Sat, Jan 8, 2022, 5:51 PM Winston Wei= nert <winston@ml1.net> wrote:<= br>
Hello,

I have some crufty old servers that have quite a few modified configuration=
files.=C2=A0 I'm looking into moving these customizations into a config= uration
management solution (probably Ansible).

Is there a way to compare files in /etc against the default versions that s= hips
with Alpine?

I know there is update-conf and the *.apk-new files, however, this qusetion= is
more along the lines of auditing all installed packages' configuration = files,
as opposed to migrating configuration files on upgrade.

Best,
--
=C2=A0 Winston Weinert
=C2=A0 winston@ml1.net
=C2=A0 https://winny.tech/
--0000000000007d19b205d526d47c--