[patch] Re: Bug#204363: cleanlinks breaks xterm and apt
From: Siward de Groot (siward_at_wanadoo.nl)
Date: 01/30/05
- Previous message: Hannes Mayer: "Re: No "desktop environment" option for sarge 25-Jan-2005 & exim4 hangs at boot for minutes"
- In reply to: Sam Watkins: "Re: cleanlinks breaks xterm and apt"
- Next in thread: Sam Watkins: "Re: cleanlinks breaks xterm and apt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- text/x-diff attachment: cleanlinks.patch
- application/x-perl attachment: rmdanglinks
- application/x-perl attachment: rmemptydirs
- Previous message: Hannes Mayer: "Re: No "desktop environment" option for sarge 25-Jan-2005 & exim4 hangs at boot for minutes"
- In reply to: Sam Watkins: "Re: cleanlinks breaks xterm and apt"
- Next in thread: Sam Watkins: "Re: cleanlinks breaks xterm and apt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|