LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-22-2007, 12:49 PM   #1
0graham0
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 (http://www.linuxfromscratch.org/lfs/...coreutils.html). ./configure and make ran fine, and the first tests passed:

Code:
>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:
Code:
>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
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
There may have been a typo when
Code:
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
0graham0
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Rep: Reputation: 0
oops!

Silly me, you were correct. I thought I had checked that issue by running
Code:
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

Thanks!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:29 AM.

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