Bug 1292531 - Missing "command not found" error message in shell if command starts with a dot
Summary: Missing "command not found" error message in shell if command starts with a dot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-17 17:17 UTC by hek2mgl
Modified: 2018-01-25 09:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-25 09:36:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description hek2mgl 2015-12-17 17:17:21 UTC
Description of problem:
When typing a non existing command in the shell and the name starts with a dot  the message "bash: .name: command not found" is missing because the command is starting with a dot.

Version-Release number of selected component (if applicable):
The problem has been introduced in this commit:
https://github.com/hughsie/PackageKit/commit/0e85001b

How reproducible:
Try to execute a non existing command that starts with a dot.
    
Steps to Reproduce:
1. In bash/zsh Type:
$ .anything

Actual results:
<nothing>

Expected results:
bash: .anything: command not found

Additional info:
The problem popped up on Stackoverflow:
http://stackoverflow.com/questions/34309107/bash-does-not-print-any-error-msg-upon-non-existing-commands-starting-with-dot/34309633#34309633

The problem was introduced as a response to a previous bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1151185

Comment 1 Fedora End Of Life 2016-07-19 18:36:33 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 2 Rick Elrod 2016-09-03 03:45:47 UTC
This bug still exists. Reopening.

Comment 3 Fedora End Of Life 2017-07-25 19:39:30 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2017-08-08 12:34:17 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Rick Elrod 2017-09-13 19:20:56 UTC
Still exists.

Comment 6 Rex Dieter 2017-09-13 19:27:30 UTC
still there in what fedora release?  25 , 26, both?

Comment 7 Matthew Miller 2018-01-25 09:36:04 UTC
Confirmed fixed in current F27 with updates. (Upstream: https://github.com/hughsie/PackageKit/commit/d3533878038ebdcf6ae2b3524c8c8e2f1b47e84b)

Comment 8 Stephen Kitt 2018-01-25 09:39:39 UTC
(In reply to Rex Dieter from comment #6)
> still there in what fedora release?  25 , 26, both?

It’s still present in 25 and 26, but was fixed in 27 with PackageKit 1.1.8 (the actual commit is https://github.com/hughsie/PackageKit/commit/d3533878038ebdcf6ae2b3524c8c8e2f1b47e84b — thanks to mattdm for spotting it).


Note You need to log in before you can comment on or make changes to this bug.