Your message dated Sun, 06 Dec 2009 20:57:35 +0000
with message-id <[email protected]>
and subject line Package mirrordir has been removed from Debian
has caused the Debian Bug report #219852,
regarding mirrordir: null destination ("") treated as "./"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
219852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=219852
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mirrordir
Version: 0.10.49-intl-1
Severity: normal

Hi,

I ran this commandd (from a Makefile),

    command time sh -c 'mirrordir --strict-mtimes  -i -X "/eden-dc/.journal" -R 
"^/eden-dc/a?quota.(user|group)$" "/eden-dc" "${mount_dir}"'

where "${mount_dir}" evaluated to "", due to an error in the Makefile.

What happened is that mirrordir then copied "/eden-dc" to cwd, ie,
"./", which could have deleted all of my valuable data in "./".

Fortunately, I was able to interrupt mirrordir while it was still
doing a very large copy, but before it actually deleted anything.

In the POSIX world, an null pathname is considered to be illegal,
and must not be treated like a legal pathname, e.g.,

    $ ls ""
    ls: : No such file or directory

    $ mkdir -p ""
    mkdir: cannot create directory `': No such file or directory

    $ touch ""
    touch: cannot touch `': No such file or directory

unless otherwise specifically allowed, e.g., with dirname and
basename.

So, from my perspective, mirrordir should consider a null
destination pathname to be an error, and abort any further
processing.

Thanks,
-- 
Jeff Sheinberg


-- System Information:
Debian Release: testing/sarge
Architecture: i386
Kernel: Linux l1.bsrd.net 2.4.22-2 #1 Sat Oct 11 17:49:32 EDT 2003 i586
Locale: LANG=C, LC_CTYPE=C

Versions of packages mirrordir depends on:
ii  libc6                       2.3.2-9      GNU C Library: Shared libraries an
ii  libwrap0                    7.6-ipv6.1-3 Wietse Venema's TCP wrappers libra

-- no debconf information




--- End Message ---
--- Begin Message ---
Version: 0.10.49-intl-4+rm

You filled the bug http://bugs.debian.org/219852 in Debian BTS
against the package mirrordir. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/555130. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply via email to