[Bug 2128894] [NEW] dirname skip last "/." current directory
Devaucoup Théo
2128894 at bugs.launchpad.net
Sat Oct 18 15:19:42 UTC 2025
Public bug reported:
I think have found a regression on "dirname" executable.
/usr/bin/gnudirname /path/to/test/.
returns /path/to/test
whereas
/usr/lib/cargo/bin/coreutils/dirname /path/to/test/.
returns /path/to
It leads to configuration bugs in script for example.
lsb_release -rd
Description: Ubuntu 25.10
Release: 25.10
apt-cache policy rust-coreutils
rust-coreutils:
Installé : 0.2.2-0ubuntu2
Candidat : 0.2.2-0ubuntu2
Table de version :
*** 0.2.2-0ubuntu2 500
500 http://fr.archive.ubuntu.com/ubuntu questing/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: rust-coreutils 0.2.2-0ubuntu2
ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7
Uname: Linux 6.17.0-5-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 18 17:07:18 2025
ProcEnviron:
LANG=fr_FR.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: rust-coreutils
UpgradeStatus: Upgraded to questing on 2025-10-11 (7 days ago)
** Affects: rust-coreutils (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug questing wayland-session
** Description changed:
- I think I found a regression on "dirname" executable.
+ I think have found a regression on "dirname" executable.
/usr/bin/gnudirname /path/to/test/.
returns /path/to/test
whereas
/usr/lib/cargo/bin/coreutils/dirname /path/to/test/.
returns /path/to
It leads to configuration bugs in script for example.
-
lsb_release -rd
Description: Ubuntu 25.10
Release: 25.10
apt-cache policy rust-coreutils
rust-coreutils:
- Installé : 0.2.2-0ubuntu2
- Candidat : 0.2.2-0ubuntu2
- Table de version :
- *** 0.2.2-0ubuntu2 500
- 500 http://fr.archive.ubuntu.com/ubuntu questing/main amd64 Packages
- 100 /var/lib/dpkg/status
+ Installé : 0.2.2-0ubuntu2
+ Candidat : 0.2.2-0ubuntu2
+ Table de version :
+ *** 0.2.2-0ubuntu2 500
+ 500 http://fr.archive.ubuntu.com/ubuntu questing/main amd64 Packages
+ 100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: rust-coreutils 0.2.2-0ubuntu2
ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7
Uname: Linux 6.17.0-5-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 18 17:07:18 2025
ProcEnviron:
- LANG=fr_FR.UTF-8
- PATH=(custom, no user)
- SHELL=/bin/bash
- TERM=xterm-256color
- XDG_RUNTIME_DIR=<set>
+ LANG=fr_FR.UTF-8
+ PATH=(custom, no user)
+ SHELL=/bin/bash
+ TERM=xterm-256color
+ XDG_RUNTIME_DIR=<set>
SourcePackage: rust-coreutils
UpgradeStatus: Upgraded to questing on 2025-10-11 (7 days ago)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2128894
Title:
dirname skip last "/." current directory
Status in rust-coreutils package in Ubuntu:
New
Bug description:
I think have found a regression on "dirname" executable.
/usr/bin/gnudirname /path/to/test/.
returns /path/to/test
whereas
/usr/lib/cargo/bin/coreutils/dirname /path/to/test/.
returns /path/to
It leads to configuration bugs in script for example.
lsb_release -rd
Description: Ubuntu 25.10
Release: 25.10
apt-cache policy rust-coreutils
rust-coreutils:
Installé : 0.2.2-0ubuntu2
Candidat : 0.2.2-0ubuntu2
Table de version :
*** 0.2.2-0ubuntu2 500
500 http://fr.archive.ubuntu.com/ubuntu questing/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: rust-coreutils 0.2.2-0ubuntu2
ProcVersionSignature: Ubuntu 6.17.0-5.5-generic 6.17.0-rc7
Uname: Linux 6.17.0-5-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 18 17:07:18 2025
ProcEnviron:
LANG=fr_FR.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: rust-coreutils
UpgradeStatus: Upgraded to questing on 2025-10-11 (7 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2128894/+subscriptions
More information about the foundations-bugs
mailing list