Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 08-22-2007, 12:49 PM   #1
LQ Newbie
Registered: Aug 2007
Posts: 6

Rep: Reputation: 0
LFS 6.2 Ch. 6.14 - 2nd Coreutils test returns "/bin.bash: No such file or directory"

Hi all,

I'm working on LFS 6.2 on a Compaq Presario 1235. I am on chapter 6 section 14, the install of Coreutils-5.96 ( ./configure and make ran fine, and the first tests passed:

>echo "dummy1:x:1000:" >> /etc/group
>echo "dummy2:x:1001:dummy" >> /etc/group
>echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd
>make NON_ROOT_USERNAME=dummy check-root
However, when I attempt to run the expensive tests I recieve an error:
>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"
src/su: /bin.bash: No such file or directory
Any ideas what the problem might be?
Old 08-22-2007, 04:06 PM   #2
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
There may have been a typo when
echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd
was entered (. is fairly close to / on my keyboard)

So check /etc/passwd. The dummy user's line should read "dummy:x:1000:1000::/root:/bin/bash"

I'm thinking yours reads "dummy:x:1000:1000::/root:/bin.bash"

But maybe it's something else...
Old 08-23-2007, 06:32 PM   #3
LQ Newbie
Registered: Aug 2007
Posts: 6

Original Poster
Rep: Reputation: 0

Silly me, you were correct. I thought I had checked that issue by running
sed -i '/dummy/d' /etc/passwd /etc/group
Turns out that I had to manually edit /etc/passwd and /etc/group to remove the offending /bin.bash



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
(bash) echo "#!/bin/bash" event not found - trying to generate profiles automatically jimieee Programming 9 05-03-2006 10:24 AM
SimpleScalar: sslittle-na-sstrix/bin/ld: crt0.o: "no such file or directory" lydia.plath Linux - Software 0 03-18-2006 12:55 PM
Adding a directory returns "no medium found" error JcN Linux - Newbie 7 02-01-2006 08:40 PM
Error in man command "sh: line 1: /usr/bin/gtbl: No such file or directory" MinA Slackware 1 09-06-2004 06:36 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 06:42 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration