* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
@ 2015-08-11 8:57 ` bugzilla at busybox.net
2015-08-11 9:09 ` bugzilla at busybox.net
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-11 8:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr
AssignedTo|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
2015-08-11 8:57 ` [Buildroot] [Bug 8276] " bugzilla at busybox.net
@ 2015-08-11 9:09 ` bugzilla at busybox.net
2015-08-11 11:18 ` bugzilla at busybox.net
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-11 9:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-08-11 09:09:30 UTC ---
Hello,
I've tried to reproduce the issue, but it just works for me here.
But I've looked, and our default busybox configuration has
CONFIG_FEATURE_READLINK_FOLLOW enabled.
Did you customise your Busybox configuration?
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
2015-08-11 8:57 ` [Buildroot] [Bug 8276] " bugzilla at busybox.net
2015-08-11 9:09 ` bugzilla at busybox.net
@ 2015-08-11 11:18 ` bugzilla at busybox.net
2015-08-11 22:43 ` bugzilla at busybox.net
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-11 11:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
--- Comment #2 from nospam+busybox at jtang.org 2015-08-11 11:18:33 UTC ---
Yes, FEATURE_READLINK_FOLLOW is set. If it makes a difference, this is using
the raspberrypi2_defconfig, with uClibc-ng.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
` (2 preceding siblings ...)
2015-08-11 11:18 ` bugzilla at busybox.net
@ 2015-08-11 22:43 ` bugzilla at busybox.net
2015-08-17 16:02 ` bugzilla at busybox.net
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-11 22:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
--- Comment #3 from nospam+busybox at jtang.org 2015-08-11 22:43:00 UTC ---
I investigated this further, and it may be a difference between Busybox/uClibc
and coreutils/glibc. If the target of the symlink does not exist, in coreutils
"readlink -f" will display as much as possible. In Busybox, "readlink -f" will
result in an error, specifically ENOENT.
Test case:
ln -s /tmp/no_such_file /tmp/some_symlink
On my Debian desktop:
$ readlink /tmp/some_symlink
/tmp/no_such_file
$ readlink -f /tmp/some_symlink
/tmp/no_such_file
On my Raspberry Pi:
# readlink /tmp/some_symlink
/tmp/no_such_file
# readlink -f /tmp/some_symlink
# touch /tmp/no_such_file
# readlink -f /tmp/some_symlink
/tmp/no_such_file
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
` (3 preceding siblings ...)
2015-08-11 22:43 ` bugzilla at busybox.net
@ 2015-08-17 16:02 ` bugzilla at busybox.net
2015-08-18 2:12 ` bugzilla at busybox.net
2015-08-24 20:13 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-17 16:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-08-17 16:02:30 UTC ---
Created attachment 6141
--> https://bugs.busybox.net/attachment.cgi?id=6141
Fix dropbear when readling is busybox
CAre to test the attached patch and report back, please?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
` (4 preceding siblings ...)
2015-08-17 16:02 ` bugzilla at busybox.net
@ 2015-08-18 2:12 ` bugzilla at busybox.net
2015-08-24 20:13 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-18 2:12 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
--- Comment #5 from nospam+busybox at jtang.org 2015-08-18 02:12:52 UTC ---
Yes, this patch worked for me.
Tested-by: Jason Tang <tang@jtang.org>
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread* [Buildroot] [Bug 8276] package/dropbear: symlink resolution incorrect
2015-08-11 1:49 [Buildroot] [Bug 8276] New: package/dropbear: symlink resolution incorrect bugzilla at busybox.net
` (5 preceding siblings ...)
2015-08-18 2:12 ` bugzilla at busybox.net
@ 2015-08-24 20:13 ` bugzilla at busybox.net
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2015-08-24 20:13 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8276
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-08-24 20:13:23 UTC ---
Bug fixed by
http://git.buildroot.net/buildroot/commit/?id=29a0f0557984ccb299426712b71fee5abaaa2ca9.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread