FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

LinkBack Thread Tools
Old 12-31-2011, 05:28 PM
Uoti Urpala
Default Conffiles

Russ Allbery <rra <at> debian.org> writes:
> But right now with configuration in /etc if you have changed *any*
> configuration setting, you then get prompted for *all* configuration
> changes in the package, which I think is Enrico's point. And I agree, I
> kind of like that behavior. Configuration settings can interact in
> unexpected ways, so if I've had to customize the configuration, I kind of
> like knowing when other defaults change. They may affect the thing I had
> to customize.

I agree that there is an issue with old configuration that may become stale.
However, I don't think the dpkg prompts are enough of a solution to the issue to
be worth supporting on that basis.

If you add custom configuration for a program then you also have to maintain
that configuration to some degree, but it's fairly easy to forget that. A
program may not have a default configuration file listing all the default
options the binary uses, so you can't rely on a default configuration file
changing to alert you to a possible need to update your custom configuration.
Practically all programs, even those that have default configuration files
listing the default value of every single option, contain changing behavior
choices relevant to custom configuration in the program code itself. A common
use for custom configuration is to work around a case where the program does not
work right by default; a common upstream improvement is to make the program work
by default in more cases. When that happens, the custom configuration should be
removed or it's likely to cause problems in the future, but such improvements
are often not accompanied by any visible option changes.

Moving the default configuration out of /etc also makes it easier to investigate
any problems possibly related to local configuration, as it becomes simpler to
check the behavior with known default distro configuration.

Perhaps a first step to alert users about local configuration possibly needing
updating would be to make apt-listchanges able to list packages being updated
that seem to have local configuration. At least you could check for modified
conffiles owned by the package and for package-owned directories under /etc that
are nonempty (excluding false positives such as unmodified package-installed
files when possible).

To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: loom.20111231T180240-877@post.gmane.org">http://lists.debian.org/loom.20111231T180240-877@post.gmane.org
Old 09-21-2012, 08:24 AM
Ivan Shmakov
Default conffiles

>>>>> Thomas Goirand <zigo@debian.org> writes:


> BTW, "conffiles" is a pretty bad name. It's confusing, as you can
> see once more.

> I thought about calling it "dpkg-conffiles" which has the advantage
> of underlying that we leave the handling of the file to the
> responsibility of dpkg, keeps the same old "conffiles" name. But
> people will continue to use the older short version of it, so...

> Anyone with a better idea?

umdekfiles, perhaps? (For “User modifies, dpkg keeps [the
changes.]”) At the very least, I don't think anyone with half
the sane mind will confuse them with “configuration files.”

FSF associate member #7257

To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 86zk4j237k.fsf_-_@gray.siamics.net">http://lists.debian.org/86zk4j237k.fsf_-_@gray.siamics.net

Thread Tools

All times are GMT. The time now is 03:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org