LinuxQuestions.org
Review your favorite Linux distribution.
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-10-2011, 07:46 PM   #1
ToFue
LQ Newbie
 
Registered: Nov 2008
Location: NOLA
Distribution: Ubuntu10.4 (x86 & 64)
Posts: 6

Rep: Reputation: 0
Bash Test Suite Result Questions


I'm running the test for Bash as stated in LFS 6.9; ch_6.29 after changing the ownership of the bash source folder to 'nobody' and the results come back as "permission denied". The Instructions say to do:
Code:
chown -Rv nobody .

...and...

su-tools nobody -s /bin/bash -c "make tests"
If I run make tests by itself, it looks like a normal test. When attempting make install, I get the same messages as from running the check as 'nobody'.

What am I missing?

These commands are issued directly after issuing make.

My /etc/group is setup according to the earlier instructions in ch 6

My system is vmware, i686 (family 6), 1G Ram, >8G HDD .. though this shouldn't be relevant, i think.. My host is LFS liveCD (last one), though by now I'm already chrooted.


Thanks in advance for your suggestion!
 
Old 08-11-2011, 01:10 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ToFue View Post
I'm running the test for Bash as stated in LFS 6.9; ch_6.29 after changing the ownership of the bash source folder to 'nobody' and the results come back as "permission denied". The Instructions say to do:
Code:
chown -Rv nobody .

...and...

su-tools nobody -s /bin/bash -c "make tests"
Assuming you meant LFS 6.8 (Stable) instead of LFS 6.9 (which doesn't exist yet): If I read the above correctly you get a permission denied message as a result of executing the chown command. If that is the case then something is definitely wrong and there is no point in running the su-tools ... and the rest of the commands.

Did you check the following:
- Are you inside the chrooted environment (6.4. Entering the Chroot Environment)
- Are you root user?
- Have you tried removing the /sources/bash-4.2 directory and redo this chapter?

If all that didn't come up with something, can you post the output of the following command (after running the chown -Rv nobody . command):
Code:
ls -la /sources/bash-4.2/ | head -12
Hope this helps.
 
Old 08-11-2011, 12:06 PM   #3
ToFue
LQ Newbie
 
Registered: Nov 2008
Location: NOLA
Distribution: Ubuntu10.4 (x86 & 64)
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you, this issue is solved!

It is LFS version 6.8, sorry..

I woke up today & started going through your steps of repeating the chapter. After I'd removed the folder, and again un-tared the archive to repeat the chapter, the test suite worked, and the install continued through. Thank you.

I'm not sure where I went wrong exactly.. I was muddled with sleep.. most likely a repeating typo.

I wasn't clear on the description of symptoms though, and will attempt to clarify for anyone else that may encounter this:
The "permission denied" occurred *during* the tests for each individual test output, and during make install for all access entries (though did not happen for root by just doing make tests).

The chown command had executed as expected, changing the ownership (recursively) of all files in .(that directory) of the bash source directory, as nobody:root (or nobody:nogroup where the original permission was 286:80 instead of root:root).

Thanks again, Druuna!
 
Old 08-11-2011, 12:21 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Glad to see you got it fixed!

BTW: You're welcome
 
  


Reply

Tags
bash, lfs, permission denied, tests


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 test suite is locking up. pr_deltoid Linux From Scratch 4 07-10-2010 09:44 AM
Cedega test result fails Immortal_h0nk255 Linux - Software 0 01-13-2007 12:08 PM
DNS test result. What's wrong? frankpretec Linux - Networking 3 04-05-2005 07:21 PM
Who know about the lmbench? I can not understand the test result. Linfish Linux - Software 0 07-13-2004 04:17 AM
guarddog test result oddities salparadise Linux - Software 0 03-09-2004 03:33 PM

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

All times are GMT -5. The time now is 06:43 PM.

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