[patch] Re: Bug#204363: cleanlinks breaks xterm and apt

From: Siward de Groot (siward_at_wanadoo.nl)
Date: 01/30/05

  • Next message: h.wulff: "What is the different between cron executing and shell execution?"
    To: debian-user@lists.debian.org, 204363@bugs.debian.org
    Date: Sun, 30 Jan 2005 13:39:21 +0100
    
    
    

    On Tuesday 25 January 2005 13:06, Sam Watkins wrote:
    | On Mon, Jan 24, 2005 at 11:24:47PM +0100, Florian Ernst wrote
    |
    | (on debain-user):
    | > cleanlinks is dangerous, it wasn't never meant for general system
    | > maintenance and doesn't work as advertised in its manpage.
    |
    | Rather than fixing cleanlinks to work better, which is apparently not
    | happening, the manpage at least should be corrected to warn of this bug
    | in big flashing red letters. (cleanlinks deletes all symlinks to
    | anything that isn't a regular file, e.g. symlinks to directories)

    Attached is a patch for the manpage.

    Also attached are 2 Perl scripts that do
       remove dangling symlinks and empty directories.
    They seem to work, but are not systematically tested.

    Cleanlinks is in xc/util because it is a utility that is used by X, i think.
    When i 'grep -n -d recurse /my/source/X/xfree86-4.3.0.dfsg.1`,
      i do not see it being called anywhere,
      but then how can it break xterm ?
    Maybe this is because i 'apt-get source'd sarge and not testing ?

    have fun !

      Siward de Groot
      <http://home.wanadoo.nl/siward>

    
    
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    




  • Next message: h.wulff: "What is the different between cron executing and shell execution?"

    Relevant Pages

    • Re: cleanlinks breaks xterm and apt
      ... > maintenance and doesn't work as advertised in its manpage. ... Rather than fixing cleanlinks to work better, ... anything that isn't a regular file, e.g. symlinks to directories) ...
      (Debian-User)
    • Re: Really stupid use of cleanlinks
      ... > Did you intend it to remove all symlinks not pointing to ordinary files? ... I didn't say I wrote cleanlinks; I said I wrote the man page. ...
      (Debian-User)