command-not-found executable location
Bug #112411 reported by
glandux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Low
|
Zygmunt Krynicki |
Bug Description
According to the behaviour of command-not-found, it seems to be reserved only to be used by the shell handler and not directly by users.
Thus, command-not-found can be considered as an internal executable and, accordind to the FHS, executables which are not invoked directly are located in /usr/lib.
And /usr/bin contains commands usable by users, so IMHO it is not the good location for command-not-found executable. I think it should be put in a directory /usr/lib/
To post a comment you must log in.
It seems also messy that /etc/bash_ command_ not_found is where it is, I would have found something like /etc/command_ not_found/ bash better. Is it used at all? Its contents are duplicated in /etc/bash.bashrc.