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


Groups > linux.debian.user > #178497

Re: upgraded config files in /lib/systemd/system

From Reco <recoverym4n@gmail.com>
Newsgroups linux.debian.user
Subject Re: upgraded config files in /lib/systemd/system
Date 2017-03-06 17:10 +0100
Message-ID <ti3mX-2d9-33@gated-at.bofh.it> (permalink)
References <tfSch-6pG-3@gated-at.bofh.it> <tfSch-6pG-5@gated-at.bofh.it> <tfSch-6pG-1@gated-at.bofh.it> <ti27w-199-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Mon, 6 Mar 2017 14:25:44 +0000
Jonathan Dowland <jmtd@debian.org> wrote:

> On Tue, Feb 28, 2017 at 10:25:52AM -0500, Marc Auslander wrote:
> > IIRC in the "old" world, if you had a modified version of a config
> > file and an update modified the original released version, you got
> > a warning and a dialog which let you decide how to proceed.
> 
> This is still the case on Debian systems: it's the "conffile" feature
> of Debian packages.
> 
> Unfortunately systemd was designed in part around limitations of other
> systems' package managers, such as RPM, which lack this feature. So
> they invented the /etc/systemd/system-overrides-/lib/systemd/system
> override scheme instead.

To be more precise, a file in RPM actually *can* be declared as a
configfile (rpm -qc). It's 'dialog' part aka debconf that's
deliberately missing there.
Since both RPM install and upgrade do not allow user input by
design, user-modified configfiles are preserved as is (usually),
rpm-provided configfiles are placed nearby with .rpmnew extension.

Reco

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


Thread

Re: upgraded config files in /lib/systemd/system Marc Auslander <marcslists@gmail.com> - 2017-02-28 16:50 +0100
  Re: upgraded config files in /lib/systemd/system Sven Hartge <sven@svenhartge.de> - 2017-02-28 18:40 +0100
  Re: upgraded config files in /lib/systemd/system Jonathan Dowland <jmtd@debian.org> - 2017-03-06 15:50 +0100
    Re: upgraded config files in /lib/systemd/system Reco <recoverym4n@gmail.com> - 2017-03-06 17:10 +0100

csiph-web