Package: coreutils


-------- Forwarded Message --------
Subject:        DEBIAN md5sum - incorrect handling of symbolic link
Date:   Sat, 14 Nov 2020 23:05:01 -0500
From:   Eric Marceau <[email protected]>
To:     [email protected]
CC:     [email protected]



Hello,

Not sure but I think this is a bug.  Also, not sure why these symbolic links caused issues when *ALL* other symlinks did not !!!*
*


*Desktop OS (UbuntuMATE)*

Linux OasisMega1 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux


*Package*

*coreutils    8.30-3ubuntu2    (focal fossa)*

-rwxr-xr-x 1 root root 47480 Sep  5  2019 /usr/bin/md5sum

2b131c5454e3a3ee85885c0443c8f0f9  /usr/bin/md5sum


*md5sum --version*

md5sum (GNU coreutils) 8.30
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Ulrich Drepper, Scott Miller, and David Madore.


*Report from md5sum command*

md5sum '/DB001_F2/LO_FailSafe/OasisMini/etc-1/pulse/client.conf.d/01-enable-autospawn.conf'

md5sum: /DB001_F2/LO_FailSafe/OasisMini/etc-1/pulse/client.conf.d/*01-enable-autospawn.conf*: No such file or directory

md5sum '/DB001_F2/LO_FailSafe/OasisMini/etc/pulse/client.conf.d/01-enable-autospawn.conf'

md5sum: /DB001_F2/LO_FailSafe/OasisMini/etc/pulse/client.conf.d/*01-enable-autospawn.conf*: No such file or directory


*Files that were evaluated*

# ls -l '/DB001_F2/LO_FailSafe/OasisMini/etc-1/pulse/client.conf.d/*01-enable-autospawn.conf*' lrwxrwxrwx 1 root root 32 Sep 25 01:00 /DB001_F2/LO_FailSafe/OasisMini/etc-1/pulse/client.conf.d/01-enable-autospawn.conf -> */run/pulseaudio-enable-autospawn*

# ls -l '/DB001_F2/LO_FailSafe/OasisMini/etc/pulse/client.conf.d/*01-enable-autospawn.conf*' lrwxrwxrwx 1 root root 32 Sep 25 01:00 /DB001_F2/LO_FailSafe/OasisMini/etc/pulse/client.conf.d/01-enable-autospawn.conf -> */run/pulseaudio-enable-autospawn*

*Problem*

All commands were performed as root, so should not be a privilege-related issue.

Shouldn't the md5sum be evaluating the value of the symbolic link file and not the file which is target for the symbolic lilnk?

If evaluation of the target was intended, shouldn't there be a command line option to specify that choice, namely *--targets*, which would follow thru to the link targets rather than stop at the link itself.

There were many other symbolic links on that drive, but only the two mentionned were problematic !!!

Thank you,


Eric

https://stackoverflow.com/users/9716110/eric?tab=profile


Reply via email to