[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#239498: marked as done (debian-policy: absolute/relative paths for files included/referenced in configuration files)



Your message dated Mon, 23 Aug 2004 16:57:23 -0500
with message-id <[🔎] 87pt5hikl8.fsf@glaurung.internal.golden-gryphon.com>
and subject line Bug#239498: debian-policy: absolute/relative paths for files included/referenced in configuration files
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Mar 2004 01:05:30 +0000
>From jep@veinat.net Mon Mar 22 17:05:30 2004
Return-path: <jep@veinat.net>
Received: from 55.red-217-125-101.pooles.rima-tde.net (veinat.net) [217.125.101.55] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B5aMD-0005rj-00; Mon, 22 Mar 2004 17:05:30 -0800
Received: from verd.casa (localhost [127.0.0.1])
	by veinat.net (8.12.11/8.12.11/Debian-3) with ESMTP id i2N14vOX002482;
	Tue, 23 Mar 2004 02:04:57 +0100
Received: (from jep@localhost)
	by verd.casa (8.12.11/8.12.11/Debian-3) id i2N14sAJ002480;
	Tue, 23 Mar 2004 02:04:54 +0100
Message-Id: <200403230104.i2N14sAJ002480@verd.casa>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Josep Lladonosa i Capell <jep@veinat.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-policy: absolute/relative paths for files included/referenced in
 configuration files
X-Mailer: reportbug 2.37
Date: Tue, 23 Mar 2004 02:04:54 +0100
X-Scanned-By: MIMEDefang 2.39
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level: 

Package: debian-policy
Version: 3.5.6.1
Severity: wishlist

It is explained inside the Debian Policy Manual that symlinks for files
should (or must?) be relative and not absolute. I haven't found anything
similar for configuration files and another files inclusion (or references)

There are some configuration files that include/reference to some other files
 (the apache2 package, for example). A person used to write/read/modify 
configuration files in debian writes relative paths in a 'natural manner',
as found in many packages.

Perhaps you could add something about this question in the policies.
My proposal is to use relative paths for files referenced/included in the
main configuration file that exist in the same directory or subdirectories under
it. If /etc/x is the directory for configuration files of the application,
and main configuration file is inside it, references to files inside /etc/x
shoud be relative to it.

Immagine the situation that package /etc/x upgrades to /etc/x2. Those
references/inclusions wouldn't need to change. I guess that this was the
reason to suggest/order symlinks to be relative and not absolute as a debian
policy. So it should be the same for references/inclusions in configuration
files...   





-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux verd 2.4.23-fs #3 dl des 15 01:55:35 CET 2003 i686
Locale: LANG=ca_ES@euro, LC_CTYPE=ca_ES@euro (ignored: LC_ALL set to ca_ES.UTF-8)

Versions of packages debian-policy depends on:
ii  coreutils [fileutils]         5.0.91-2   The GNU core utilities
ii  fileutils                     4.1-10     GNU file management utilities

-- no debconf information


---------------------------------------
Received: (at 239498-done) by bugs.debian.org; 23 Aug 2004 21:58:05 +0000
>From srivasta@debian.org Mon Aug 23 14:58:05 2004
Return-path: <srivasta@debian.org>
Received: from host-12-107-230-171.dtccom.net (glaurung.internal.golden-gryphon.com) [12.107.230.171] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BzMpJ-0008RK-00; Mon, 23 Aug 2004 14:58:05 -0700
Received: from glaurung.internal.golden-gryphon.com (srivasta@localhost [127.0.0.1])
	by glaurung.internal.golden-gryphon.com (8.13.1/8.13.1/Debian-8) with ESMTP id i7NLvNLX031758
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 23 Aug 2004 16:57:23 -0500
Received: (from srivasta@localhost)
	by glaurung.internal.golden-gryphon.com (8.13.1/8.13.1/Debian-8) id i7NLvNVK031757;
	Mon, 23 Aug 2004 16:57:23 -0500
X-Authentication-Warning: glaurung.internal.golden-gryphon.com: srivasta set sender to srivasta@debian.org using -f
To: debian-policy@lists.debian.org
Cc: 239498-done@bugs.debian.org
Subject: Re: Bug#239498: debian-policy: absolute/relative paths for files included/referenced in configuration files
References: <200403230104.i2N14sAJ002480@verd.casa>
From: Manoj Srivastava <srivasta@debian.org>
Organization: The Debian Project
X-URL: http://www.debian.org/%7Esrivasta/
User-Agent: Microsoft Gnus Express, Build 5.110003 (0.3)
Mail-Copies-To: nobody
X-Face: #q.#]5@vq!Jz+E0t_/;Y^gTjR\T^"B'fbeuVGiyKrvbfKJl!^e|e:iu(kJ6c|QYB57LP*|t
 &YlP~HF/=h:GA6o6W@I#deQL-%#.6]!z:6Cj0kd#4]>*D,|0djf'CVlXkI,>aV4\}?d_KEqsN{Nnt7
 78"OsbQ["56/!nisvyB/uA5Q.{)gm6?q.j71ww.>b9b]-sG8zNt%KkIa>xWg&1VcjZk[hBQ>]j~`Wq
 Xl,y1a!(>6`UM{~'X[Y_,Bv+}=L\SS*mA8=s;!=O`ja|@PEzb&i0}Qp,`Z\:6:OmRi*
Mail-Followup-To: debian-policy@lists.debian.org, 239498-done@bugs.debian.org
Date: Mon, 23 Aug 2004 16:57:23 -0500
In-Reply-To: <200403230104.i2N14sAJ002480@verd.casa> (Josep Lladonosa
	i. Capell's message of "Tue, 23 Mar 2004 02:04:54 +0100")
Message-ID: <[🔎] 87pt5hikl8.fsf@glaurung.internal.golden-gryphon.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 239498-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Tue, 23 Mar 2004 02:04:54 +0100, Josep Lladonosa i Capell <jep@veinat.net> said: 

> Package: debian-policy Version: 3.5.6.1 Severity: wishlist

> It is explained inside the Debian Policy Manual that symlinks for
> files should (or must?) be relative and not absolute. I haven't
> found anything similar for configuration files and another files
> inclusion (or references)

	Policy is not meant to be exhaustive. If there is no mention
 for  configuration files etc,  then the dispositi0on of those is left
 to the maintainer.  Can you explain why there needs  be a policy
 mandate for this? Why can't developers decide on their own?

	manoj

-- 
I either want less decadence or more chance to participate in it.
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: