-
Bug
-
Resolution: Done
-
Undefined
-
rhel-10.0
-
None
-
hwloc-2.11.1-1.el10
-
None
-
Moderate
-
rhel-arch-hw
-
ssg_platform_enablement
-
1
-
False
-
False
-
-
None
-
None
-
Requested
-
None
-
None
What were you trying to do that didn't work?
$ hwloc-gather-topology /tmp/topology
/usr/bin/hwloc-gather-topology: line 28: unalias: ls: not found
Please provide the package NVR for which bug is seen:
hwloc-2.10.0-3.el10
How reproducible:
Always:
hwloc-gather-topology /tmp/topology
If there is no alias for 'ls', this code results in error:
======================================================
- don't let ls append special chars after symlinks etc
unalias ls
======================================================
The fix is easy - check if an alias exists:
======================================================
if alias ls 1>/dev/null 2>&1; then
unalias ls
fi
======================================================
I have proposed the solution to hwloc's author, Brice Goglin <Brice.Goglin@inria.fr>, and he will include it in the next upstream release. Could you please include in downstream as well?
Thanks a lot
Jirka
- links to
-
RHBA-2024:136054 hwloc bug fix and enhancement update