Re: How to handle conffiles when renaming or splitting a package?

2021-01-03 Thread Sven Joachim
On 2021-01-03 09:02 +0900, Charles Plessy wrote: > I have recently split the mime-support package in two: media-types and > mailcap. But I wonder if I handled the conffiles correctly. > > mime-support had the conffiles `/etc/mime.types` and > `/etc/mailcap.order` until version

How to handle conffiles when renaming or splitting a package?

2021-01-02 Thread Charles Plessy
Hello everybody, and happy new year ! I have recently split the mime-support package in two: media-types and mailcap. But I wonder if I handled the conffiles correctly. mime-support had the conffiles `/etc/mime.types` and `/etc/mailcap.order` until version 3.64. Version 3.65 is a transitional

Re: Help with removal of conffiles

2018-12-14 Thread Dominik George
Hi, >However, after reading the manpage for dh_installdeb [4] (more >specifically, the section `package.maintscript', I changed my mind and >added lines such as: > > rm_conffile /etc/bash_completion.d/harbour 1:2.8-5~ > >So... Is that the right thing to do? I.e. regardless of the version >at wh

Help with removal of conffiles

2018-12-13 Thread Gabriel F. T. Gomes
Hi, mentors, I need help with the removal of obsolete conffiles in bash-completion. I think I understood what to do, but since I don't know how to reproduce the problem, I'm uncomfortable with the change. Below, I give a long description of the problem (feel free to skip it if it soun

Re: Fwd: Re: Adequate reports obsolete conffiles: and now what?

2017-01-23 Thread Gianfranco Costamagna
Hi, >OK, I see your point. > >In my usual, provocative style: To me, this means that the bug should be >closed without further actions unless there is more input. or change to usr/share, that seems a saner approach. Your call, I don't have an opinion here! G.

Re: Fwd: Re: Adequate reports obsolete conffiles: and now what?

2017-01-23 Thread Alec Leamas
On 23/01/17 18:03, Gianfranco Costamagna wrote: hello, Hi! However I think the .dist files should be installed in /usr/share and copied from there instead of being installed in /etc. This is of course the Right Thing to do. Will implement, thanks! This is nice, however I think this "

Re: Fwd: Re: Adequate reports obsolete conffiles: and now what?

2017-01-23 Thread Gianfranco Costamagna
hello, >> However I think the .dist files >> should be installed in /usr/share and copied from there instead of being >> installed in /etc. > >This is of course the Right Thing to do. Will implement, thanks! This is nice, however I think this "workaround" should be dropped post-Stretch releas

Fwd: Re: Adequate reports obsolete conffiles: and now what?

2017-01-23 Thread Alec Leamas
oops, happened to send the reply to James as a PM... here it comes, it was actually meant for the list Forwarded Message Subject: Re: Adequate reports obsolete conffiles: and now what? Date: Sat, 21 Jan 2017 16:40:10 +0100 From: Alec Leamas To: James Cowgill On 21/01/17

Re: Adequate reports obsolete conffiles: and now what?

2017-01-21 Thread James Cowgill
files are > installed as e. g.,lirc_options.conf.dist. This file is updated but not > used. If the actually used lirc_options.conf is missing it's created as > a copy of the *dist file, but otherwise kept as-is.. In other words, I > don't try to merge possible upstream changes, I j

Adequate reports obsolete conffiles: and now what?

2017-01-21 Thread Alec Leamas
Dear list, The new, shiny lirc 0.9.4 has received a bug report #851618. At the core, this is about adequate reporting lirc: obsolete-conffile /etc/lirc/irexec.lircrc lirc: obsolete-conffile /etc/lirc/lircmd.conf lirc: obsolete-conffile /etc/lirc/hardware.conf lirc: obsolete-conffile /etc/lirc

Re: Cleaning up obsolete conffiles

2013-05-09 Thread Adam Borowski
On Thu, May 09, 2013 at 01:49:48PM +0800, Paul Wise wrote: > On Thu, May 9, 2013 at 1:08 PM, Bob Proulx wrote: > > But of course many packages are difficult to purge. > > Every package must be possible to purge, if it is not possible then it > is a release-critical issue and you should file a seve

Re: Cleaning up obsolete conffiles

2013-05-09 Thread Paul Wise
e I filed: http://bugs.debian.org/706911 And my template for that: Subject:conffiles not removed Usertags: conffile User: debian...@lists.debian.org Usertags: obsolete-conffile adequate The recent upgrade did not deal with obsolete conffiles properly. Please use the dpkg-maintscript-helpe

Re: Cleaning up obsolete conffiles

2013-05-09 Thread Bob Proulx
Paul Wise wrote: > Please file bugs about obsolete conffiles when you find new ones. The > packages themselves should clean up their obsolete conffiles. Is there a bug example or two you could point me to so that I can follow the standard template of reporting these problems? It appears

Re: Cleaning up obsolete conffiles

2013-05-09 Thread Bob Proulx
Paul Wise wrote: > Bob Proulx wrote: > > How can I as a system administrator clean that obsolete conffile up? > > rm -f /etc/some-obsolete-conffile > apt-get --reinstall install package-that-provided-the-obsolete-conffile Ah! Thanks. That works. > > I have many obsolet

Re: Cleaning up obsolete conffiles

2013-05-08 Thread Paul Wise
On Thu, May 9, 2013 at 1:08 PM, Bob Proulx wrote: > I have many obsolete conffiles on my system. Please file bugs about obsolete conffiles when you find new ones. The packages themselves should clean up their obsolete conffiles. To help with this task, you can install the package cal

Cleaning up obsolete conffiles

2013-05-08 Thread Bob Proulx
I have many obsolete conffiles on my system. It has been upgraded through many releases. dpkg-query -W -f='${Conffiles}\n' | grep obsolete Picking a simple one as an example: /etc/skel/.bash_profile d1a8c44e7dd1bed2f3e75d1343b6e4e1 obsolete If I purge the package and install it

Re: Transitional packages: unmark auto, dealing with conffiles

2012-01-08 Thread Malte Forkel
Am 24.12.2011 12:23, schrieb David Kalnischkies: > It's not only aptitude, every package manager using libapt will hate > you for this - and therefore i will hate you; even on Christmas. ;) I wouldn't want you to hate me. At least not on Christmas. ;-) > In general, you should NEVER touch a file

Re: Transitional packages: unmark auto, dealing with conffiles

2011-12-24 Thread David Kalnischkies
of > dpkg include 'dpkg-maintscript-helper' with commands to move or remove > conffiles. This works nicely in Squeeze. But again, how can I support > systems with Lenny? In order to make the transitional package forget > about a conffile, I tested removing it in the package

Transitional packages: unmark auto, dealing with conffiles

2011-12-19 Thread Malte Forkel
Hello, I am writing a transitional package to handle a software name change. There are two problems I'm trying to handle: - How to avoid marking the new package (which the transitional package depends upon) as being autoinstalled. - How to deal with old conffiles not adopted by the new pa

Re: dpkg status Conffiles obsolete flag?

2011-07-11 Thread Bob Proulx
Ansgar Burchardt wrote: > Sven Joachim wrote: > > Bob Proulx wrote: > >> I am hoping to understand the "obsolete" flag on conffiles in the dpkg > >> status file. There are many packages that include this flag at the > >> end of the line. For exam

Re: dpkg status Conffiles obsolete flag?

2011-07-10 Thread Ansgar Burchardt
Hi, >> I am hoping to understand the "obsolete" flag on conffiles in the dpkg >> status file. There are many packages that include this flag at the >> end of the line. For example: [...] > > They are obsolete because they no longer exist in the package. It is

Re: dpkg status Conffiles obsolete flag?

2011-07-10 Thread Sven Joachim
On 2011-07-10 20:55 +0200, Bob Proulx wrote: > I am hoping to understand the "obsolete" flag on conffiles in the dpkg > status file. There are many packages that include this flag at the > end of the line. For example: > > Package: file > C

dpkg status Conffiles obsolete flag?

2011-07-10 Thread Bob Proulx
I am hoping to understand the "obsolete" flag on conffiles in the dpkg status file. There are many packages that include this flag at the end of the line. For example: Package: file Conffiles: /etc/magic.mime 272913026300e7ae9b5e2d51f138e674 obsolete

Re: Init scripts as conffiles

2011-02-15 Thread Tony Houghton
n remove and purge and the > > >> reason to use both, but removing unmodified conf files seems ^^ > > >> like a win to me. Keeps the clutter down. > > > > > > You'll stop thinking this when apt decides to

Re: Init scripts as conffiles

2011-02-15 Thread Boyd Stephen Smith Jr.
iles seems like a win to me. > >> Keeps the clutter down. > > > > You'll stop thinking this when apt decides to do an upgrade as follows: > > > > 1. remove foo (and its conffiles) > > 2. install bar > > 3. install foo > > > > That is one of the

Re: Init scripts as conffiles

2011-02-15 Thread Matt Zagrabelny
son to >> use both, but removing unmodified conf files seems like a win to me. >> Keeps the clutter down. > > You'll stop thinking this when apt decides to do an upgrade as follows: > > 1. remove foo (and its conffiles) > 2. install bar > 3. install foo > > That is

Re: Init scripts as conffiles

2011-02-15 Thread Joey Hess
> Keeps the clutter down. You'll stop thinking this when apt decides to do an upgrade as follows: 1. remove foo (and its conffiles) 2. install bar 3. install foo That is one of the reasons for the current behavior, and temporarily removing a package is how apt deals with certian de

Re: Init scripts as conffiles

2011-02-15 Thread Tony Houghton
ge but which only purges files which haven't been > >> altered from the package's default? > > > > From what I understand, neither APT nor dpkg know if a file has > > been modified since it has been installed. > > Well, dpkg stores the md5sum of conff

Re: Init scripts as conffiles

2011-02-15 Thread Tony Houghton
On Tue, 15 Feb 2011 14:06:20 -0800 Don Armstrong wrote: > On Tue, 15 Feb 2011, Tony Houghton wrote: > > It wouldn't be quite so bad if packages called update-rc.d disable > > on their init scripts when removed so that init doesn't read the > > disused scripts, but AFAICT from the Policy Manual (s

Re: Init scripts as conffiles

2011-02-15 Thread Matt Zagrabelny
On Tue, Feb 15, 2011 at 4:06 PM, Don Armstrong wrote: > On Tue, 15 Feb 2011, Tony Houghton wrote: >> I don't like about it is that init scripts get left behind when >> uninstalling packages. > > Configuration files are always left behind unless you purge a package. Sure. That doesn't make it corr

Re: Init scripts as conffiles

2011-02-15 Thread Don Armstrong
On Tue, 15 Feb 2011, Tony Houghton wrote: > I don't like about it is that init scripts get left behind when > uninstalling packages. Configuration files are always left behind unless you purge a package. > It wouldn't be quite so bad if packages called update-rc.d disable > on their init scripts

Re: Init scripts as conffiles

2011-02-15 Thread Sven Joachim
ackage's default? > > From what I understand, neither APT nor dpkg know if a file has been modified > since it has been installed. Well, dpkg stores the md5sum of conffiles in its database and thus knows when they are modified, so removing unmodified conffiles would be possible

Re: Init scripts as conffiles

2011-02-15 Thread Russ Allbery
"Jesús M. Navarro" writes: > Anyway, my position would be that init script shouldn't have to be > config files. For this to be true these steps should need to be worked > on: [...] Given that nearly all of the Linux distribution work on init systems right now is towards replacing the old Syste

Re: Init scripts as conffiles

2011-02-15 Thread Boyd Stephen Smith Jr.
On Tuesday 15 February 2011 15:16:27 Tony Houghton wrote: > How about I file a wishlist bug for dpkg and apt for an option similar > to purge but which only purges files which haven't been altered from the > package's default? From what I understand, neither APT nor dpkg know if a file has been mo

Re: Init scripts as conffiles

2011-02-15 Thread Tony Houghton
On Tue, 15 Feb 2011 16:33:25 + Tony Houghton wrote: > I was wondering, why are init scripts installed as conffiles? Is there a > good reason other than that they're in /etc and nobody bothered to make > an exception in debhelper? > > I would have thought it would be bet

Re: Init scripts as conffiles

2011-02-15 Thread Don Armstrong
On Tue, 15 Feb 2011, Tony Houghton wrote: > I was wondering, why are init scripts installed as conffiles? Is > there a good reason other than that they're in /etc and nobody > bothered to make an exception in debhelper? Anything that is in /etc should be editable by the admi

Re: Init scripts as conffiles

2011-02-15 Thread Stefan Lippers-Hollmann
Hi On Tuesday 15 February 2011, Jesús M. Navarro wrote: > Hi, Michael: > > On Tuesday 15 February 2011 18:37:38 Michael Fladischer wrote: > > Tony Houghton, 2011-02-15 17:33: > > > I was wondering, why are init scripts installed as conffiles? > > > > Debain sw

Re: Init scripts as conffiles

2011-02-15 Thread Bernhard R. Link
ystem. So at least every script should be overrideable by some script the admin supplies. So what is the advantage of not having those files in /etc? (In /etc/ they should be config files (ideally conffiles). If they are not conffiles, they do not belong in /etc). The advantage of having them in /e

Re: Init scripts as conffiles

2011-02-15 Thread Jesús M. Navarro
Hi, Michael: On Tuesday 15 February 2011 18:37:38 Michael Fladischer wrote: > Tony Houghton, 2011-02-15 17:33: > > I was wondering, why are init scripts installed as conffiles? > > Debain switched to dependency-based boot with Squeeze and those > dependencies are controlled

Re: Init scripts as conffiles

2011-02-15 Thread Russ Allbery
Tony Houghton writes: > I'd consider packages which require editing of the init script instead > of using /etc/default or similar to be badly designed at best. I know > fixing the mass of existing packages would be too big a job, but I > thought it might be possible to provide a new option in dh_

Re: Init scripts as conffiles

2011-02-15 Thread The Fungi
On Tue, Feb 15, 2011 at 05:27:39PM +, Tony Houghton wrote: > I'd consider packages which require editing of the init script instead > of using /etc/default or similar to be badly designed at best. I know > fixing the mass of existing packages would be too big a job, but I > thought it might be

Re: Init scripts as conffiles

2011-02-15 Thread Michael Fladischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony Houghton, 2011-02-15 17:33: > I was wondering, why are init scripts installed as conffiles? Debain switched to dependency-based boot with Squeeze and those dependencies are controlled by the LSB headers inside each init script. On the major

Re: Init scripts as conffiles

2011-02-15 Thread Tony Houghton
things like > overriding/augmenting service start options or defining additional > local service interdependencies. If policy were altered to make > initscripts non-conffiles, tons of packages would be insta-buggy (at > least from a wishlist standpoint, if not worse) due to the loss of >

Re: Init scripts as conffiles

2011-02-15 Thread The Fungi
ies. If policy were altered to make initscripts non-conffiles, tons of packages would be insta-buggy (at least from a wishlist standpoint, if not worse) due to the loss of admin flexibility. Also, trying to change a major class of system controls which have traditionally been considered conffiles to

Init scripts as conffiles

2011-02-15 Thread Tony Houghton
I was wondering, why are init scripts installed as conffiles? Is there a good reason other than that they're in /etc and nobody bothered to make an exception in debhelper? I would have thought it would be better to treat them as not to be modified by the user/admin; any init configuration s

Re: Which files will be recorded within DEBIAN/conffiles?

2011-02-13 Thread Wang Lei
Regid Ichira writes: > I have a Debian source package. > By inspecting its content, how can I tell in advance which files will be > recorded within DEBIAN/conffiles? Are there documents or URLs that > discuss that question? If you haven't read DebianPolicy and Debian Deve

Re: Which files will be recorded within DEBIAN/conffiles?

2011-02-13 Thread Paul Wise
On Sun, Feb 13, 2011 at 7:41 PM, Regid Ichira wrote: > I have a Debian source package. > By inspecting its content, how can I tell in advance which files will be > recorded within DEBIAN/conffiles?  Are there documents or URLs  that > discuss that question? It depends on your pack

Which files will be recorded within DEBIAN/conffiles?

2011-02-13 Thread Regid Ichira
I have a Debian source package. By inspecting its content, how can I tell in advance which files will be recorded within DEBIAN/conffiles? Are there documents or URLs that discuss that question? -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of

Re: conffiles

2010-08-31 Thread Matthew Palmer
On Tue, Aug 31, 2010 at 06:47:09AM +0300, Zvi Dubitzky wrote: > Is there a way to put something in DEBIAN directory that will trigger the > poped up question when overwriting config files > (during package installation) before running dpkg-deb --build to generate > the packge OR is there a deb

Re: conffiles

2010-08-31 Thread Dominique Dumont
to > > generate the packge > > Yes, create DEBIAN/conffiles listing all the conffiles in the package. There's also a way for dpkg and friends to merge old config file with new config file without popping up questions which may be painful for your users. This is the subje

Re: conffiles

2010-08-30 Thread Russ Allbery
Zvi Dubitzky writes: > Is there a way to put something in DEBIAN directory that will trigger the > poped up question when overwriting config files > (during package installation) before running dpkg-deb --build to generate > the packge Yes, create DEBIAN/conffiles listing all t

Re: conffiles

2010-08-30 Thread Zvi Dubitzky
dpkg-deb thanks Zvi Dubitzky Email:d...@il.ibm.com From: Russ Allbery To: debian-mentors@lists.debian.org Date: 31/08/2010 03:03 Subject:Re: conffiles Matthew Palmer writes: > On Mon, Aug 30, 2010 at 10:01:46PM +0300, Zvi Dubitzky wrote: >> I am having conff

Re: conffiles

2010-08-30 Thread Rogério Brito
On Aug 30 2010, Russ Allbery wrote: > Matthew Palmer writes: > > You should never need to list files in /etc as conffiles, as they're > > detected and a conffiles written out at package build time (because > > Policy says all files in /etc are conffiles). > > T

Re: conffiles

2010-08-30 Thread Russ Allbery
Matthew Palmer writes: > On Mon, Aug 30, 2010 at 10:01:46PM +0300, Zvi Dubitzky wrote: >> I am having conffiles file placed in debian directory and holding the >> configuration files ( full path) that should avoid being overwritten >> when installing a package , Yet whe

Re: conffiles

2010-08-30 Thread Matthew Palmer
On Mon, Aug 30, 2010 at 10:01:46PM +0300, Zvi Dubitzky wrote: > I am having conffiles file placed in debian directory and holding the > configuration files ( full path) that should avoid being overwritten when > installing a package , > Yet when I install the built package the pa

conffiles

2010-08-30 Thread Zvi Dubitzky
Hi I am having conffiles file placed in debian directory and holding the configuration files ( full path) that should avoid being overwritten when installing a package , Yet when I install the built package the package config files are overwriting the existing config files at /etc

Re: Removing obsolete conffiles on upgrade

2007-02-08 Thread Norbert Preining
On Fre, 09 Feb 2007, Michael Biebl wrote: > I have to get rid of the old conffile somehow (I formerly had two files > foo and bar. In the new package version, the content of foo has been > included in bar, so I want to get rid of foo, otherwise I get clashes). Well the optimum solution is the foll

Removing obsolete conffiles on upgrade

2007-02-08 Thread Michael Biebl
Hi list, as you probably all know, conffiles from older package versions are kept on package upgrades, even if the new package version does not ship the conffile anymore. How do I best get rid of such an old/obsolete conffile? Simply delete it in preinst? Do I have to check if it was modified

Re: Removing self-managed conffiles?

2007-01-30 Thread Dominique Dumont
Manoj Srivastava <[EMAIL PROTECTED]> writes: > This is the beauty of free software. If you find it so > frustrating, write up a generic tool, and contribute it. And that > would follow the grand old UNIX tradition of each command doing one > thing well. I may be of some help here. I'

Re: Removing self-managed conffiles?

2007-01-24 Thread Manoj Srivastava
On Wed, 24 Jan 2007 12:52:53 +0100, Marc Haber <[EMAIL PROTECTED]> said: > I haven't thought about this in the necessary depth. To a newbie DD > who has only been with Debian for six years it looks like ucf is not > completely finished. ucf scratches the itch I had to begin with, and it

Re: Removing self-managed conffiles?

2007-01-24 Thread Marc Haber
t; >> <[EMAIL PROTECTED]> said: > >> There is no need to fork ucf to create a command that provides > >> functionality not in ucf. > > > the intersection between zmct (zugschlus' magical conffiles tool) > > and ucf would be non-negligible and a lot

Re: Removing self-managed conffiles?

2007-01-20 Thread Manoj Srivastava
to create a command that provides >> functionality not in ucf. > the intersection between zmct (zugschlus' magical conffiles tool) > and ucf would be non-negligible and a lot of routine stuff would > need to be present in both packages. err, why would there be anything non-negli

Re: Removing self-managed conffiles?

2007-01-20 Thread Marc Haber
ay you have not learned how free software > works. Your opinion. Agree to disagree? > There is no need to fork ucf to create a command that provides > functionality not in ucf. the intersection between zmct (zugschlus' magical conffiles tool) and ucf would be non-negligible and a

Re: Removing self-managed conffiles?

2007-01-20 Thread Manoj Srivastava
On Sat, 20 Jan 2007 18:17:27 +0100, Marc Haber <[EMAIL PROTECTED]> said: > On Sat, Jan 20, 2007 at 10:31:11AM -0600, Manoj Srivastava wrote: >> This is the beauty of fre software. If you find it so frustrating, >> write up a generic tool, and contribute it. And that would follow >> the grand old

Re: Removing self-managed conffiles?

2007-01-20 Thread Marc Haber
On Sat, Jan 20, 2007 at 10:31:11AM -0600, Manoj Srivastava wrote: > This is the beauty of fre software. If you find it so > frustrating, write up a generic tool, and contribute it. And that > would follow the grand old UNIX tradition of each command doing one > thing well. The task at h

Re: Removing self-managed conffiles?

2007-01-20 Thread Manoj Srivastava
On Sat, 20 Jan 2007 10:47:16 +0100, Marc Haber <[EMAIL PROTECTED]> said: > Yes, that sounds sensible. It is, however, frustrating that there is > no method (for example, offered by ucf) to do this without that much > coding in maintainer scripts. This is the beauty of fre software. If y

Re: Removing self-managed conffiles?

2007-01-20 Thread Marc Haber
On Fri, Jan 19, 2007 at 10:28:41PM -0500, Justin Pryzby wrote: > You will have to test with both sarge and etch dpkg (until after etch > releases). Colin Watson recently wrote [0] about one of the ssh bugs > and how this was complicated for him. > > You have to include the logic in the preinst, s

Re: Removing self-managed conffiles?

2007-01-20 Thread Marc Haber
On Fri, Jan 19, 2007 at 09:43:04PM +0100, Santiago Vila wrote: > On Fri, 19 Jan 2007, Marc Haber wrote: > > I have a package with a bunch of configuration files that are managed > > by my maintainer scripts and not by dpkg. I now need one of them > > (a.conf) to vanish. > > > > How do I do this in

Re: Removing self-managed conffiles?

2007-01-20 Thread Santiago Vila
ile", as such term is reserved for "a conffile in the dpkg sense". Yes, the subject is misleading. Please, people, don't use the word conffile to refer to configuration files which are not conffiles. Thanks :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Removing self-managed conffiles?

2007-01-19 Thread Justin Pryzby
On Fri, Jan 19, 2007 at 09:34:28AM +0100, Marc Haber wrote: > Hi, > > I have a package with a bunch of configuration files that are managed > by my maintainer scripts and not by dpkg. I now need one of them > (a.conf) to vanish. > > How do I do this in a clean way? I am thinking about the followi

Re: Removing self-managed conffiles?

2007-01-19 Thread Florent Rougon
Santiago Vila <[EMAIL PROTECTED]> wrote: > Instead of 1,2,3 you could do 1,2,3 only when upgrading from a version > previous than the one not having a.conf anymore Sure. > and in case that (3) happens, keep a.conf untouched, instead of > renaming it (assuming the program will not read a.conf any

Re: Removing self-managed conffiles?

2007-01-19 Thread Santiago Vila
On Fri, 19 Jan 2007, Marc Haber wrote: > Hi, > > I have a package with a bunch of configuration files that are managed > by my maintainer scripts and not by dpkg. I now need one of them > (a.conf) to vanish. > > How do I do this in a clean way? I am thinking about the following: > > (1) Let the

Removing self-managed conffiles?

2007-01-19 Thread Marc Haber
Hi, I have a package with a bunch of configuration files that are managed by my maintainer scripts and not by dpkg. I now need one of them (a.conf) to vanish. How do I do this in a clean way? I am thinking about the following: (1) Let the new package version know about the md5sum of the last

Re: detecting cutomized conffiles and debconf

2006-09-11 Thread Arjan Oosting
Hi Mattia, Op ma, 11-09-2006 te 21:01 +0200, schreef Mattia Dongili: > Hello Mentors, > > to make the long story short this is an "how to deal existing conffiles > and a new set of debconf questions to setup the package?" question. > > Now, the package is cpufr

detecting cutomized conffiles and debconf

2006-09-11 Thread Mattia Dongili
Hello Mentors, to make the long story short this is an "how to deal existing conffiles and a new set of debconf questions to setup the package?" question. Now, the package is cpufrequtils and what I'd like to achieve is providing some nice debconf templates to configure /etc/defau

Re: Symlinks as conffiles?

2006-06-30 Thread Justin Pryzby
t the distribution > and also the Policy. > > Someone on #debian mentioned that symlinks can be included in the package > file listing. If that's the case, can symlinks also be conffiles? Will > dpkg make .dpkg-old symlinks and the like if the user changes the target o

Symlinks as conffiles?

2006-06-29 Thread TNKS
can be included in the package file listing. If that's the case, can symlinks also be conffiles? Will dpkg make .dpkg-old symlinks and the like if the user changes the target of the symlink? Even if it works, is it not recommended because of some corner-case(s) dpkg just isn't designed

Re: Removing former conffiles

2006-02-09 Thread Frank Küster
change is lost after the next package upgrade. > > This should be an indication that you're not preserving administrator > changes to configuration files if this occurs... Err, no. If the conffiles are in /etc/bla.d/, the generated file bla.conf is in /var/lib/bla/, and there'

Re: Removing former conffiles

2006-02-08 Thread Don Armstrong
On Wed, 08 Feb 2006, Frank Küster wrote: > Don Armstrong <[EMAIL PROTECTED]> wrote: > > The configuration file is the file from which the configuration is > > read, that is, the file in /var/lib/blah which isn't in /etc. [...] > > 1: In the sense that they can't decide that using the conf.d is sill

Re: Removing former conffiles

2006-02-08 Thread Frank Küster
y the administrator. >> >> No, I don't. The program reads its configuration from a file in >> /var/lib/bla, but the conffiles (or configuration files) reside in >> /etc/bla/bla.d. > > The configuration file is the file from which the configuration is > read, that is

Re: Removing former conffiles

2006-02-08 Thread Don Armstrong
s configuration from a file in > /var/lib/bla, but the conffiles (or configuration files) reside in > /etc/bla/bla.d. The configuration file is the file from which the configuration is read, that is, the file in /var/lib/blah which isn't in /etc. This setup forces the administrator to us

Re: Removing former conffiles

2006-02-08 Thread Frank Küster
> You've now got a conffile in a location which is not /etc, namely > /var/lib/bla, which cannot be overridden by the administrator. No, I don't. The program reads its configuration from a file in /var/lib/bla, but the conffiles (or configuration files) reside in /etc/bla/bla.

Re: Removing former conffiles

2006-02-07 Thread Steve Langasek
On Tue, Feb 07, 2006 at 11:47:49PM +0100, Bas Wijnen wrote: > On Tue, Feb 07, 2006 at 12:28:39AM -0800, Don Armstrong wrote: > > On Tue, 07 Feb 2006, Frank K?ster wrote: > > > Don Armstrong <[EMAIL PROTECTED]> wrote: > > > > Just a word of caution here: If the administrator has modified the > > > >

Re: Removing former conffiles

2006-02-07 Thread Bas Wijnen
On Tue, Feb 07, 2006 at 12:28:39AM -0800, Don Armstrong wrote: > On Tue, 07 Feb 2006, Frank K?ster wrote: > > Don Armstrong <[EMAIL PROTECTED]> wrote: > > > Just a word of caution here: If the administrator has modified the > > > file, you should not rename or move it, as they may know better > > >

Re: Removing former conffiles

2006-02-07 Thread Don Armstrong
On Tue, 07 Feb 2006, Frank Küster wrote: > Don Armstrong <[EMAIL PROTECTED]> wrote: > > On Tue, 07 Feb 2006, Frank Küster wrote: > >> Don Armstrong <[EMAIL PROTECTED]> wrote: > >> > >> > Right. The problem is that it's not always easy to know if the file > >> > will no longer be read at all; you c

Re: Removing former conffiles

2006-02-07 Thread Justin Pryzby
On Tue, Feb 07, 2006 at 11:35:01AM -0800, Don Armstrong wrote: > On Tue, 07 Feb 2006, Frank K?ster wrote: > > Don Armstrong <[EMAIL PROTECTED]> wrote: > > > > > Right. The problem is that it's not always easy to know if the file > > > will no longer be read at all; you can't assume that the admini

Re: Removing former conffiles

2006-02-07 Thread Frank Küster
Don Armstrong <[EMAIL PROTECTED]> wrote: > On Tue, 07 Feb 2006, Frank Küster wrote: >> Don Armstrong <[EMAIL PROTECTED]> wrote: >> >> > Right. The problem is that it's not always easy to know if the file >> > will no longer be read at all; you can't assume that the administrator >> > has left in

Re: Removing former conffiles

2006-02-07 Thread Don Armstrong
On Tue, 07 Feb 2006, Frank Küster wrote: > Don Armstrong <[EMAIL PROTECTED]> wrote: > > > Right. The problem is that it's not always easy to know if the file > > will no longer be read at all; you can't assume that the administrator > > has left in place your default configuration system. > > Of

Re: Removing former conffiles

2006-02-07 Thread Frank Küster
Don Armstrong <[EMAIL PROTECTED]> wrote: > Right. The problem is that it's not always easy to know if the file > will no longer be read at all; you can't assume that the administrator > has left in place your default configuration system. Of course the maintainer should know their package. If th

Re: Removing former conffiles

2006-02-07 Thread Don Armstrong
On Tue, 07 Feb 2006, Frank Küster wrote: > Don Armstrong <[EMAIL PROTECTED]> wrote: > > Just a word of caution here: If the administrator has modified the > > file, you should not rename or move it, as they may know better > > than you what they're doing. A proper course of action would be > > warn

Re: Removing former conffiles

2006-02-07 Thread Frank Küster
Don Armstrong <[EMAIL PROTECTED]> wrote: > On Mon, 06 Feb 2006, Frank Küster wrote: >> - if it is changed, either keep it and insert a comment at its >> beginning that it is unused, or move/rename it. In all cases where >> the file's presence could have a bad effect, I renamed or moved >> it

Re: Removing former conffiles

2006-02-07 Thread Frank Küster
Justin Pryzby <[EMAIL PROTECTED]> wrote: > On Mon, Feb 06, 2006 at 10:02:06PM +0100, Frank K?ster wrote: >> Bas Wijnen <[EMAIL PROTECTED]> wrote: >> >> > The question is, how do I solve this? Should I forcefully remove >> > the conffile before calling update-rc.d? It feels really bad to >> > re

Re: Removing former conffiles

2006-02-06 Thread Don Armstrong
On Mon, 06 Feb 2006, Frank Küster wrote: > - if it is changed, either keep it and insert a comment at its > beginning that it is unused, or move/rename it. In all cases where > the file's presence could have a bad effect, I renamed or moved > it. Just a word of caution here: If the administr

Re: Removing former conffiles

2006-02-06 Thread Justin Pryzby
On Mon, Feb 06, 2006 at 10:02:06PM +0100, Frank K?ster wrote: > Bas Wijnen <[EMAIL PROTECTED]> wrote: > > > The question is, how do I solve this? Should I forcefully remove > > the conffile before calling update-rc.d? It feels really bad to > > remove files from /etc in maintainer scripts, but p

Re: Removing former conffiles

2006-02-06 Thread Justin Pryzby
On Mon, Feb 06, 2006 at 03:41:13PM -0500, pryzbyj wrote: > On Mon, Feb 06, 2006 at 09:21:28PM +0100, Bas Wijnen wrote: > > Hello, > > > > After bug report #339387, I added a postinst file to the dummy package > > gnocatan-meta-server, which does > > update-rc.d gnocatan-meta-server remove &>/dev/n

Re: Removing former conffiles

2006-02-06 Thread Frank Küster
Bas Wijnen <[EMAIL PROTECTED]> wrote: > The question is, how do I solve this? Should I forcefully remove the conffile > before calling update-rc.d? It feels really bad to remove files from /etc in > maintainer scripts, but perhaps it's the right thing to do... I've come across this several time

Re: Removing former conffiles

2006-02-06 Thread Justin Pryzby
On Mon, Feb 06, 2006 at 09:21:28PM +0100, Bas Wijnen wrote: > Hello, > > After bug report #339387, I added a postinst file to the dummy package > gnocatan-meta-server, which does > update-rc.d gnocatan-meta-server remove &>/dev/null || true > in order to get rid of the links which were created by

Re: Removing former conffiles

2006-02-06 Thread Stephen Gran
This one time, at band camp, Bas Wijnen said: > Hello, > > After bug report #339387, I added a postinst file to the dummy package > gnocatan-meta-server, which does > update-rc.d gnocatan-meta-server remove &>/dev/null || true > in order to get rid of the links which were created by the previous >

Removing former conffiles

2006-02-06 Thread Bas Wijnen
Hello, After bug report #339387, I added a postinst file to the dummy package gnocatan-meta-server, which does update-rc.d gnocatan-meta-server remove &>/dev/null || true in order to get rid of the links which were created by the previous (non-dummy) version of the package. However, this didn't s

Re: conffiles no longer needed except ...

2005-11-23 Thread Justin Pryzby
On Wed, Nov 23, 2005 at 10:50:47AM +0100, Willi Mann wrote: > Hi! > > I have no idea how to properly handle the following situation: My > package logwatch previously had all their configuration files in > /etc/logwatch/conf. They were marked as conffiles so dpkg was > resp

  1   2   3   >