Debian Bug report logs - #421346
debhelper: should automatically mark symlinks in /etc as conffiles

version graph

Package: debhelper; Maintainer for debhelper is Debhelper Maintainers <debhelper-devel@lists.alioth.debian.org>; Source for debhelper is src:debhelper (PTS, buildd, popcon).

Reported by: Marc Haber <mh+debian-bugs@zugschlus.de>

Date: Sat, 28 Apr 2007 07:18:06 UTC

Severity: normal

Found in version debhelper/5.0.49

Fix blocked by 690051: symlink-conffiles: dpkg stores md5sum of target file in its database and does not update it on upgrades, 421344: dpkg: does not gracefully handle symlink conffiles

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Joey Hess <joeyh@debian.org>:
Bug#421346; Package debhelper. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
New Bug report received and forwarded. Copy sent to Joey Hess <joeyh@debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debhelper: should automatically mark symlinks in /etc as conffiles
Date: Sat, 28 Apr 2007 09:13:24 +0200
Package: debhelper
Version: 5.0.49
Severity: normal

Hi,

having a non-conffile symlink in /etc is causing data loss if the
symlink name was already present in the file system (#420578). It is
easy to forget marking symlinks explicitly as conffiles in the package
since debhelper does this automatically for plain files placed into
/etc.

Please consider having debhelper do this for symlinks as well.

Greetings
Marc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-zgsrv (SMP w/1 CPU core; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils               2.17cvs20070426-1 The GNU assembler, linker and bina
ii  coreutils              5.97-5.3          The GNU core utilities
ii  dpkg-dev               1.13.25           package building tools for Debian
ii  file                   4.20-5            Determines file type using "magic"
ii  html2text              1.3.2a-3          An advanced HTML to text converter
ii  perl                   5.8.8-7           Larry Wall's Practical Extraction 
ii  po-debconf             1.0.8             manage translated Debconf template

debhelper recommends no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#421346; Package debhelper. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joeyh@debian.org>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #10 received at 421346@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: Marc Haber <mh+debian-bugs@zugschlus.de>, 421346@bugs.debian.org
Subject: Re: Bug#421346: debhelper: should automatically mark symlinks in /etc as conffiles
Date: Mon, 14 May 2007 15:07:27 -0400
[Message part 1 (text/plain, inline)]
Marc Haber wrote:
> having a non-conffile symlink in /etc is causing data loss if the
> symlink name was already present in the file system (#420578). It is
> easy to forget marking symlinks explicitly as conffiles in the package
> since debhelper does this automatically for plain files placed into
> /etc.
> 
> Please consider having debhelper do this for symlinks as well.

Isn't this known to create packages that dpkg will not install at all?
(#421344). Until I see some evidence that dpkg does the right thing for
conffiles that are symlinks, debhelper can't do that.

AFAIK, dpkg has never intended symlinks to be conffiles, the UI for
diffing conffiles also won't work, etc.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Blocking bugs of 421346 added: 421344 Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (Thu, 13 Sep 2007 20:00:08 GMT) (full text, mbox, link).


Added blocking bug(s) of 421346: 690051 Request was from Guillem Jover <guillem@debian.org> to 690051-submit@bugs.debian.org. (Tue, 09 Oct 2012 15:12:06 GMT) (full text, mbox, link).


Added indication that bug 421346 blocks 690067 Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Tue, 09 Oct 2012 16:27:05 GMT) (full text, mbox, link).


Removed indication that bug 421346 blocks 690067 Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Wed, 10 Oct 2012 10:03:07 GMT) (full text, mbox, link).


Removed blocking bug(s) of 421346: 690067 Request was from Andreas Beckmann <debian@abeckmann.de> to control@bugs.debian.org. (Wed, 10 Oct 2012 10:03:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 02:42:18 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.