• Bug#265414: dh_link failure

    From Robert Millan@1:229/2 to All on Wed Aug 18 02:40:09 2004
    From: [email protected]

    Hi Joey,

    Please could you have a look at #265414 ? Looks to me like dh_link is too restrictive. Did you add the directory check recently?

    --
    Robert Millan

    (Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\ (kernel of *(Berkeley Software Distribution))


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Joey Hess@1:229/2 to Robert Millan on Wed Aug 18 11:00:14 2004
    From: [email protected]

    Robert Millan wrote:
    Please could you have a look at #265414 ? Looks to me like dh_link is too restrictive. Did you add the directory check recently?

    dh_link has never supported a destination that is an existing directory
    because the correct behavior is unclear. Some users expect the existing directory to be rm -rf'd and replaced with a symlink. Some expect a
    symlink to land inside the destination directory. The latter behavior
    was the behavior of dh_link until 4.1.67, when I learned that the
    behavior existed, and was broken, and disabled it. The behavior you want
    has never been the behavior of dh_link. It is closer to correct
    behavior, but given than there could still be packages that expect the
    old behavior, I prefer to leave the error message in for a while to give
    them time to be fixed.

    --
    see shy jo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBIxOpd8HHehbQuO8RAr+cAKDI2DG/pT8sNRzwaHLBzLkmwNDjSACfc9dN Hx0TdOAieqY+w6XxDzzo6Aw=
    =Gv9W
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Robert Millan@1:229/2 to Joey Hess on Wed Aug 18 14:00:18 2004
    From: [email protected]

    On Wed, Aug 18, 2004 at 09:30:34AM +0100, Joey Hess wrote:
    Robert Millan wrote:
    Please could you have a look at #265414 ? Looks to me like dh_link is too restrictive. Did you add the directory check recently?

    dh_link has never supported a destination that is an existing directory because the correct behavior is unclear. Some users expect the existing directory to be rm -rf'd and replaced with a symlink. Some expect a
    symlink to land inside the destination directory. The latter behavior
    was the behavior of dh_link until 4.1.67, when I learned that the
    behavior existed, and was broken, and disabled it. The behavior you want
    has never been the behavior of dh_link. It is closer to correct
    behavior, but given than there could still be packages that expect the
    old behavior, I prefer to leave the error message in for a while to give
    them time to be fixed.

    Ok that was pretty clarifying. Could you document this with your explanation? I suggest adding a note to the manpage and refer to it in the error message.

    --
    Robert Millan

    (Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\ (kernel of *(Berkeley Software Distribution))


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)