Bug#553468: deborphan: Please put keepfile in /etc

2009-11-02 Thread Alexander Watzinger
Thanks for your quick response. Here's how we see it, although of course 
this could be a misunderstanding on our part.


We're going by the version of the FHS document at

http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html

According to this:

/etc is used for a local file used to control the operation of a program

and

/var/lib is used to preserve the condition of an application

The first definition seems to fit the keep file better, since it tells 
deborphan what to do, not what it already did.


Regards,
Alex  Chris



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553468: deborphan: Please put keepfile in /etc

2009-11-01 Thread Carsten Hey
On Sat, Oct 31, 2009 at 05:30:55PM +0100, Alexander Watzinger wrote:
 deborphan's keep file is located in /var/lib/deborphan. According to
 the Filesystem Hierarchy Standard, /var/lib/ is for persistent data
 modified by programs as they run, which isn't really the case for
 deborphan.

The handling of deborphan's keep file through the options --add-keep,
--del-keep and --zero-keep does exactly fit to that description, as does
using editkeep, which uses these options, to alter the keep file.

I used Wikipedia to get the URL of the FHS: someone wrote packaging
systems metadata (in my opinion deborphan's keep file could be
categorized as such) as example for persistent data modified by
programs as they run.  Although Wikipedia is no reliable source, it at
least shows that I'm not the only one with this opinion.

 /etc seems like a better location for it.

I don't think the keep file is a configuration file.  According to the
FHS these are used to control the operation of a program.  One example
for such a file used by deborphan is one that allows to specify
deborphan's default options.

In Debian we do distinguish between conffiles and configuration files.
All conffiles are configuration files but not vice versa.  These
conffiles are handled specially by dpkg.  If you are able to convince me
(which I doubt), deborphan's keep file would not be a conffile but
a configuration file.

 Our reason for wanting this change is that we backup /etc to keep our
 server configuration but not /var/lib.

Data from dpkg, apt and probably also aptitude resists in /var/lib, as
does debfosters keepers file.  You miss some IMHO important data when
you skip /var/lib in your backups. I would also backup
/var/cache/debconf, which is no database - but answering the same
questions again is time-consuming.

I leave the bug open for a while to let others or you the chance to
add comments and try to convince me.


Regards
Carsten



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#553468: deborphan: Please put keepfile in /etc

2009-10-31 Thread Alexander Watzinger
Package: deborphan
Version: 1.7.27
Severity: wishlist

Hi,

deborphan's keep file is located in /var/lib/deborphan. According to the 
Filesystem Hierarchy Standard, /var/lib/ is for persistent data modified by 
programs as they run, which isn't really the case for deborphan. /etc seems 
like a better location for it. 

Our reason for wanting this change is that we backup /etc to keep our server 
configuration but not /var/lib.

Regards,
Alex  Chris

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: x86_64

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org