Debian Bug report logs -
#576772
%Y affected by path and thus breaks mkinitramfs
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, max@stro.at, 576677@bugs.debian.org, bug-findutils@gnu.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 06:06:04 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
New Bug report received and forwarded. Copy sent to max@stro.at, 576677@bugs.debian.org, bug-findutils@gnu.org, Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 06:06:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
X-debbugs-Cc: max@stro.at, 576677@bugs.debian.org, bug-findutils@gnu.org
Package: findutils
Version: 4.5.7-1
Dear Find Sirs, as you can see on
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576677#130
for the %Y code to function properly, one must give the full path to the
file, not just a higher directory.
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 06:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 06:21:05 GMT) (full text, mbox, link).
Message #10 received at 576772@bugs.debian.org (full text, mbox, reply):
What's barfy is it turns out the same command sometimes gives different output!
$ mount|grep /tmp #df shows plenty of space too.
tmpfs on /tmp type tmpfs (rw)
14:04 ~$ find /tmp/NOSHUCH -printf %Y\\n
N
14:05 ~$ find /tmp/sleep -printf %Y\\n
f
14:05 ~$ find /tmp -name sleep -printf %Y\\n ###COMPARE
N
N
14:05 ~$ cd /tmp; ln -s /etc/debian_version .
14:06 tmp$ find /tmp/debian_version -printf %Y\\n
f
14:07 tmp$ find /tmp -name debian_version -printf %Y\\n
f
14:07 tmp$ find /tmp -name debian_version -printf %Y\\n
f
14:07 tmp$ find /tmp -name sleep -print -printf %Y\\n
/tmp/sleep
f
/tmp/mkinitramfs_VcP7aW/bin/sleep
f
14:08 tmp$ find /tmp -name sleep -printf %Y\\n ###COMPARE
f
f
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 06:27:09 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 06:27:09 GMT) (full text, mbox, link).
Message #15 received at 576772@bugs.debian.org (full text, mbox, reply):
Apparently it is affected by CWD:
14:21 ~$ cd -
/tmp
14:21 tmp$ find /tmp -name sleep -printf %Y\\n
f
f
14:21 tmp$ cd -
/home/jidanni
14:21 ~$ find /tmp -name sleep -printf %Y\\n
N
N
14:21 ~$ cd -
/tmp
14:22 tmp$ find /tmp -name sleep -printf %Y\\n
f
f
14:22 tmp$ mount|egrep /home\|/tmp
/dev/hda6 on /home type ext3 (rw)
tmpfs on /tmp type tmpfs (rw)
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 06:36:11 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 06:36:11 GMT) (full text, mbox, link).
Message #20 received at 576772@bugs.debian.org (full text, mbox, reply):
So I thought cd'ing to /tmp would help
(cd /tmp
find "${DESTDIR}" -type l -printf '%p %Y\n' | sed -n 's/ [LN]$//p' \
| xargs --verbose -rL1 rm -f
)
however the files got zapped anyway. So it's back to the random %Y
accuracy theory.
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 06:36:13 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 06:36:13 GMT) (full text, mbox, link).
Message #25 received at 576772@bugs.debian.org (full text, mbox, reply):
Anyway, I have shown %Y is moody and not to be trusted.
I will now step back and hand the baton to others.
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 09:27:21 GMT) (full text, mbox, link).
Acknowledgement sent
to James Youngman <jay@gnu.org>:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 09:27:21 GMT) (full text, mbox, link).
Message #30 received at 576772@bugs.debian.org (full text, mbox, reply):
On Wed, Apr 7, 2010 at 7:34 AM, <jidanni@jidanni.org> wrote:
> Anyway, I have shown %Y is moody and not to be trusted.
> I will now step back and hand the baton to others.
Thanks for reporting the problem.
I have a good idea what the problem is; pred.c calls stat and lstat
without changing working directory. It was your statement that
it's sensitive to the original working directory that clued me in.
Because this bug is in Debian's BTS and starts off with some
apparently-irrelevant stuff, I have logged this issue in the upstream
tracker.
https://savannah.gnu.org/bugs/index.php?29460
That bug contains an explanation and a patch fixing the bug (including
a regression test suite addition). Meanwhile the "oldfind" binary
built with 4.5.7 should be unaffected.
James.
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 10:27:11 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 10:27:11 GMT) (full text, mbox, link).
Message #35 received at 576772@bugs.debian.org (full text, mbox, reply):
JY> https://savannah.gnu.org/bugs/index.php?29460
OK glad this has been tracked down.
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 17:18:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Metzler <ametzler@downhill.at.eu.org>:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 17:18:08 GMT) (full text, mbox, link).
Message #40 received at 576772@bugs.debian.org (full text, mbox, reply):
On 2010-04-07 jidanni@jidanni.org wrote:
> Anyway, I have shown %Y is moody and not to be trusted.
> I will now step back and hand the baton to others.
Hello,
Which version of of find are you using to trigger the behavior?
thanks, cu and- The testcase for upstream 29460 only triggeres on
4.5.7, but not 4.4.2 -reas
Information forwarded
to debian-bugs-dist@lists.debian.org, Andreas Metzler <ametzler@debian.org>:
Bug#576772; Package findutils.
(Wed, 07 Apr 2010 20:27:08 GMT) (full text, mbox, link).
Acknowledgement sent
to jidanni@jidanni.org:
Extra info received and forwarded to list. Copy sent to Andreas Metzler <ametzler@debian.org>.
(Wed, 07 Apr 2010 20:27:08 GMT) (full text, mbox, link).
Message #47 received at 576772@bugs.debian.org (full text, mbox, reply):
$ w3m -dump http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=$@|grep ^Version
Version: 4.5.7-1
Severity set to 'important' from 'normal'
Request was from maximilian attems <maks@debian.org>
to control@bugs.debian.org.
(Thu, 08 Apr 2010 01:51:08 GMT) (full text, mbox, link).
Changed Bug title to '%Y affected by path and thus breaks mkinitramfs' from '%Y affected by path'
Request was from maximilian attems <maks@debian.org>
to control@bugs.debian.org.
(Thu, 08 Apr 2010 01:51:10 GMT) (full text, mbox, link).
Reply sent
to Andreas Metzler <ametzler@debian.org>:
You have taken responsibility.
(Thu, 08 Apr 2010 18:03:03 GMT) (full text, mbox, link).
Notification sent
to jidanni@jidanni.org:
Bug acknowledged by developer.
(Thu, 08 Apr 2010 18:03:03 GMT) (full text, mbox, link).
Message #56 received at 576772-close@bugs.debian.org (full text, mbox, reply):
Source: findutils
Source-Version: 4.5.8-1
We believe that the bug you reported is fixed in the latest version of
findutils, which is due to be installed in the Debian FTP archive:
findutils_4.5.8-1.debian.tar.gz
to main/f/findutils/findutils_4.5.8-1.debian.tar.gz
findutils_4.5.8-1.dsc
to main/f/findutils/findutils_4.5.8-1.dsc
findutils_4.5.8-1_i386.deb
to main/f/findutils/findutils_4.5.8-1_i386.deb
findutils_4.5.8.orig.tar.gz
to main/f/findutils/findutils_4.5.8.orig.tar.gz
locate_4.5.8-1_i386.deb
to main/f/findutils/locate_4.5.8-1_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 576677@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Metzler <ametzler@debian.org> (supplier of updated findutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Format: 1.8
Date: Thu, 08 Apr 2010 19:03:56 +0200
Source: findutils
Binary: findutils locate
Architecture: source i386
Version: 4.5.8-1
Distribution: experimental
Urgency: low
Maintainer: Andreas Metzler <ametzler@debian.org>
Changed-By: Andreas Metzler <ametzler@debian.org>
Description:
findutils - utilities for finding files--find, xargs
locate - maintain and query an index of a directory tree
Closes: 576677
Changes:
findutils (4.5.8-1) experimental; urgency=low
.
* libselinux1-dev is only available on Linux, update build-dependency.
* New upstream version.
Fixes savannah #29460: -printf %Y fails in $CWD-dependent way.
Closes: #576677
Checksums-Sha1:
62a55821ca87a901a74a50fd8b08eddd9579a88e 1319 findutils_4.5.8-1.dsc
4e892a40a4a397ee9eec42f0a9fa9d160bb8bc1c 2676792 findutils_4.5.8.orig.tar.gz
4e2c7e3da1a375151c72ef34e18d30909706ebac 21268 findutils_4.5.8-1.debian.tar.gz
1c8e13a13dbdb43f256fef2c04f0c2167ada80e9 643346 findutils_4.5.8-1_i386.deb
011434ede7259ebd4f837816334639bcde01b6a6 171296 locate_4.5.8-1_i386.deb
Checksums-Sha256:
32f5d6fb442ce478493f5b241335061c361fb4f9f8494b77dab6875da8e1e834 1319 findutils_4.5.8-1.dsc
8f4b4179a94695375549d33e72b9bc992cd286230b387f39acce847338272b1d 2676792 findutils_4.5.8.orig.tar.gz
3c0a22827befc6fd4ae2b16676569fda1654c1359b2c99a7713aae65177a26f2 21268 findutils_4.5.8-1.debian.tar.gz
c45db478675b64fc138c2a05cc0bcf810cf3e47954d74fd33cb6fe412f270137 643346 findutils_4.5.8-1_i386.deb
5b4185fa69c796ba3c7e56895e7f5b85ab86a9aeb57b1d0ab04e8dc551e3a098 171296 locate_4.5.8-1_i386.deb
Files:
3adab8447d5cc41a7d889286cae70b01 1319 utils required findutils_4.5.8-1.dsc
57463e529ddc3a439a7a369e22daa1f1 2676792 utils required findutils_4.5.8.orig.tar.gz
a0d75be48fb6af76c3ee55d631a6650b 21268 utils required findutils_4.5.8-1.debian.tar.gz
6fbdbe17b1e915f1792ed21b5c1f766f 643346 utils required findutils_4.5.8-1_i386.deb
f2c32db12e9372b43270d866ec84cebf 171296 utils optional locate_4.5.8-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEAREDAAYFAku+Dh4ACgkQHTOcZYuNdmMtvQCgpb0CA75VDySiHXTTlAkuewqf
4jUAoJ7kcYLM28QFLX/3QXaVIJYRW82p
=Ibzw
-----END PGP SIGNATURE-----
Bug # in changelog is wrong, resent to correct report.
cu andreas
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 07 May 2010 07:37:31 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Dec 23 16:33:27 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.