command-not-found executable location

Bug #112411 reported by glandux
6
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/command-not-found.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

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.

Changed in command-not-found:
status: New → Confirmed
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Yeah i think that bash_command_not_found is not needed since it was integrated (abit with a bug ;-) into bash.bashrc.
I'll stop installing bash_command_not_found and move it to another location for gutsy.

Changed in command-not-found:
assignee: nobody → zkrynicki
importance: Undecided → Low
Revision history for this message
Michael Vogt (mvo) wrote :

command-not-found (0.2.7) gutsy; urgency=low

  [Zygmunt Krynicki]
  * data/suggestions.d:
    - removed
  * CommandNotFound/CommandNotFound.py:
    - fix typo in string substitution (LP: #131435)
    - only print components that are really required (LP: #133869)
  * setup.py:
    - move to /usr/lib, no end-user application (LP: #112411)

 -- Michael Vogt <email address hidden> Wed, 22 Aug 2007 06:49:01 +0200

Changed in command-not-found:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.