[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Mailer-Daemon@master.debian.org: Mail delivery failed: returning message to sender]



Hi,

It seems Ian Maclaine-cross's iml@debian.org address is bouncing...

(there's been too damn many bounces like this recently <sigh>)

----- Forwarded message from Mail Delivery System <Mailer-Daemon@master.debian.org> -----

Delivery-date: Fri, 09 Feb 2001 09:48:58 +0100
X-Failed-Recipients: iml@ilm.mech.unsw.edu.au
From: Mail Delivery System <Mailer-Daemon@master.debian.org>
To: owner@bugs.debian.org
Subject: Mail delivery failed: returning message to sender
Date: Fri, 09 Feb 2001 02:48:40 -0600

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. The following address(es) failed:

  iml@ilm.mech.unsw.edu.au:
    retry time not reached for any host after a long failure period

------ This is a copy of the message, including all the headers. ------

Return-path: <owner@bugs.debian.org>
Received: from gecko by master.debian.org with local (Exim 3.12 1 (Debian))
	id 14R9EM-0005Wa-00; Fri, 09 Feb 2001 02:48:38 -0600
Subject: Bug#85353: mirror: mirror -n, incorrent symlink handling
Reply-To: Yury Shevchuk <sizif@pier.botik.ru>, 85353@bugs.debian.org
Resent-From: Yury Shevchuk <sizif@pier.botik.ru>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Ian Maclaine-cross <iml@debian.org>
Resent-Date: Fri, 09 Feb 2001 08:48:33 GMT
Resent-Message-ID: <handler.85353.B.98170848821121@bugs.debian.org>
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 85353
X-Debian-PR-Package: mirror
X-Debian-PR-Keywords: 
X-Loop: owner@bugs.debian.org
Received: via spool by bugs@bugs.debian.org id=B.98170848821121
          (code B ref -1); Fri, 09 Feb 2001 08:48:33 GMT
Message-Id: <m14R9Dj-003s8VC@pier.botik.ru>
Date: Fri, 9 Feb 2001 11:47:59 +0300 (MSK)
From: Yury Shevchuk <sizif@pier.botik.ru>
To: submit@bugs.debian.org
Bcc:
X-Mailer: bug 3.1.5
Delivered-To: submit@bugs.debian.org

Package: mirror
Version: 2.9-22

Hello,

when running with -n (which causes the $dont_do flag to be set),
make_symlinks stops upon encountering a symlink to nonexistent file.
The rest of symlinks is silently ignored.  The patch below fixes the
problem.

Thanks,

-- sizif

--- mirror.pl	2001/02/03 19:07:37	1.4
+++ mirror.pl	2001/02/08 15:54:06	1.6
@@ -2709,21 +2717,14 @@
 		}
 		local( $dest, $existing ) = ($1, $2);
 		local( $dirpart ) = &dirpart( $dest );
 		if( -e "$dirpart/$existing" ){
 			# symlink to existing file.
-			if( $dont_do ){
-				&msg( "Should symlink $dest to $existing\n" );
-			}
-			else {
-				&mksymlink( $dest, $existing );
-			}
+			&mksymlink( $dest, $existing );
 			next;
 		}
 
-		return if $dont_do;
-
 		# The existing file doesn't actually exist!
 		# Has it been compressed, gzipped, split? or worse
 		# compressed/gzipped AND split.  (OK so it could
 		# be another problem, bad symlink on remote host, file
 		# that hasn't been xfer'd yet... but this is as good as
@@ -3351,11 +3352,16 @@
 
 	if( ! $get_file ){
 		&msg( "Cannot create symlinks on remote systems ($dest_path -> $existing_path)\n" );
 		return;
 	}
-	
+
+	if( $dont_do ){
+		&msg( "Should symlink $dest_path to $existing_path\n" );
+		return;
+	}
+
 	# make the symlink locally
 
 	# Zap any exiting file/symlink of that name
 	if( -d $dest_path && ! -l $dest_path ){
 		local( $msg ) = "rmdir( $dest_path ) before symlink";



----- End forwarded message -----

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: