Debian Bug report logs - #773762
[debdiff] option to avoid dereferencing symlinks

Package: devscripts; Maintainer for devscripts is Devscripts Maintainers <[email protected]>; Source for devscripts is src:devscripts (PTS, buildd, popcon).

Affects: apt-listdifferences

Reported by: Achim Schaefer <[email protected]>

Date: Tue, 23 Dec 2014 00:06:01 UTC

Severity: wishlist

Full log


Message #14 received at [email protected] (full text, mbox, reply):

Received: (at 773762) by bugs.debian.org; 13 Jul 2016 03:32:23 +0000
From [email protected] Wed Jul 13 03:32:23 2016
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.8 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FROMDEVELOPER,
	HAS_BUG_NUMBER,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_PASS,
	WORD_WITHOUT_VOWELS autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 135; neutral, 36; spammy,
	0. spammytokens: hammytokens:0.000-+--lrwxrwxrwx, 0.000-+--H*MI:CANTw,
	0.000-+--H*F:U*mgilbert, 0.000-+--drwxr-xr-x, 0.000-+--drwxrxrx
Return-path: <[email protected]>
Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1bNAuN-0006sc-2K
	for [email protected]; Wed, 13 Jul 2016 03:32:23 +0000
Received: by mail-qk0-x22c.google.com with SMTP id s63so32794048qkb.2
        for <[email protected]>; Tue, 12 Jul 2016 20:32:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to;
        bh=pyxXkO3vMNQz3RY9x4BriFDMor2Xn6ACiMwIWErUbs8=;
        b=bgh7EMzdZLrqe0kYCwvxNdbpxjfJpMnCRFwI++9Dmk1yrBaSejFlS8tg7h39DIdT5k
         5ThdIzfwvGfCSXvgGUUWPJnEJt5Yig221kV+O7mbDlcfjDMSHEYIAwgi4sAKKWo7eJZS
         MvwROox6l2hDtELQqJuparqCa/cWzsEiagzCD2wxESWg0ENSv8HJLETzz9J5kV4Y03Sp
         5W/ij1OIqkMqxk1Ep/hiUvKpA82vmm9K/jyavJhgGtueeqn+LoYtWVFfgGpma+ij0cuH
         L1elva1SAIbLT0rFwFswoIY/oq+cvvzdgW2cZ1+4aC9HWehmoZLjSH5xb4PUMz0w4hUd
         QT0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to;
        bh=pyxXkO3vMNQz3RY9x4BriFDMor2Xn6ACiMwIWErUbs8=;
        b=J+XLIrcgBRyMKW8H0ZVtkiroTKVPTLOkSlCq/7+JkOdMu4p7jXBIE1Irx52G7TjjAn
         WZA7643vg7loDdPl2G9jz6RFi7dkYZ3+CmyY4u50RlyqPQVrFQ6HS6i6Gu/Ief4ELZ4G
         qJGPSv4210m9spQ9Q5oc8PpQgmSyZSebQRF/+jDQWq3MNSvxR0e/DWdsKdXDYSQjvL61
         ixdboS5235yi/vSVOj4z49M+eqK9/AsgrxGOVp9m3qg1rQ3ZqvYAp3DCOtu9SWFzoq2o
         +mC6mwDMCLtxozgLSKMdM45DuAn/C5qY84cVCeSfir3mI6W+j+azyxRkNbyVsNJpeonX
         vnvQ==
X-Gm-Message-State: ALyK8tJlqsQRDuO+6so1d70IP8yJhjg9QQvRaM6sT+W4mp9pn9QR8P5uRf3iHYM/zvzTivMZEhgx9/3HgjBQrw==
X-Received: by 10.55.119.66 with SMTP id s63mr7217140qkc.63.1468374292100;
 Tue, 12 Jul 2016 18:44:52 -0700 (PDT)
MIME-Version: 1.0
Sender: [email protected]
Received: by 10.237.59.209 with HTTP; Tue, 12 Jul 2016 18:44:32 -0700 (PDT)
In-Reply-To: <[email protected]>
References: <[email protected]>
From: Michael Gilbert <[email protected]>
Date: Tue, 12 Jul 2016 21:44:32 -0400
X-Google-Sender-Auth: m2qKZCS7X3UgnMaXQDl2jucielQ
Message-ID: <CANTw=MNQCBo6L+TwHxT0YuLwwosKsysgWzQTRZWVv8HB-RQ4zQ@mail.gmail.com>
Subject: Re: Bug#773762: apt-listdifferences: diff goes outside package tree
To: [email protected]
Content-Type: text/plain; charset=UTF-8
control: severity -1 wishlist
control: reassign -1 devscripts
control: affects -1 apt-listdifferences
control: retitle -1 [debdiff] option to avoid dereferencing symlinks

On Mon, Dec 22, 2014 at 7:03 PM, Achim Schaefer wrote:
> when running apt-listdifferences, it happens sometimes, diff is comparing data outside the tmp source dir.
> E.g. this now happens with docker.io:
> diff: /tmp/BsDox6gACB/docker.io-1.3.2~dfsg1/pkg/symlink/testdata/fs/a/d: Datei oder Verzeichnis nicht gefunden
> diff: /tmp/BsDox6gACB/docker.io-1.3.2~dfsg1/pkg/symlink/testdata/fs/a/e/h/.kde/socket-data: Datei oder Verzeichnis nicht gefunden
> This is basically in my home dir.
> Here one of the examples, what we see in the original source:
> root@data:/tmp/BsDox6gACB/docker.io-1.3.2~dfsg1/pkg/symlink/testdata/fs# ls -l
> insgesamt 0
> drwxr-xr-x 2 root root 100 Nov 24 18:38 a
> drwxr-xr-x 2 root root  60 Nov 24 18:38 b
> lrwxrwxrwx 1 root root  40 Nov 24 18:38 g -> ../../../../../../../../../../../../root
> lrwxrwxrwx 1 root root   1 Nov 24 18:38 i -> a
> drwxr-xr-x 2 root root  60 Nov 24 18:38 j

debdiff would need to provide an option that passes --no-dereference to diff.

Best wishes,
Mike



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 06:39:43 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.