Bug 1514445 - "locate" is not able to find file
Summary: "locate" is not able to find file
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-modular-release
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ModularServer27GA
TreeView+ depends on / blocked
 
Reported: 2017-11-17 12:45 UTC by sumantro
Modified: 2017-11-24 09:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-24 09:26:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sumantro 2017-11-17 12:45:15 UTC
Description of problem:
Locate in bash should be able to find a file or a specified text in file which it's not
                                                                                                                                                                                                                
bash: locate: command not found                                                                                                                                                                                                                                                                                                                                                                                                                                                  

Version-Release number of selected component (if applicable):
Fedora-Modular-Server-dvd-x86_64-27-20171115

How reproducible:
Always


Steps to Reproduce:
1.Boot and Install F27 Modular Server and login as user/root
2.touch a file [touch <filename>]
3.ls -a to verify that the file got created
4. locate <filename>

Actual results:
[root@localhost ~]# touch file1.txt                                                                                                                                                                                                                  
[root@localhost ~]# ls -a                                                                                                                                                                                                                            
.  ..  anaconda-ks.cfg  .bash_history  .bash_logout  .bash_profile  .bashrc  .cshrc  file1.txt  .tcshrc                                                                                                                                              
[root@localhost ~]# locate file1.txt 


Expected results:
should be able to locate the file

Additional info:

Comment 1 Langdon White 2017-11-17 16:34:56 UTC
@adam could you add this and screen to system-tools module? and see what else we should include in that from f26 then get it in to the f27 builds? would love to go back to "system-tools" vs "systemtools" from f26.

Comment 2 Nils Philippsen 2017-11-20 08:27:52 UTC
@langdon, I believe we moved back to dashed system-tools already, at least there are comments to that effect on https://src.fedoraproject.org/modules/systemtools

Comment 4 Nils Philippsen 2017-11-24 09:26:34 UTC
https://github.com/modularity-modules/system-tools/issues/2

--> works with updated fedora-modular-release which should land in the images soon


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