On Mon, Jul 03, 2017 at 06:49:13PM -0400, Isaac D. Cohen wrote:
> Hi,
> 
> I'm up to section 6.7.1 ("Installation of Linux API Headers") and when I type 
> "make mrproper" I get the following error message:
> 
> /bin/sh: /dev/null: Permission denied
> 
> If I type:
> 
> ls -l /dev/null
> 
> I get:
> 
> crw-rw-rw- 1 root root 1, 3 Jun 28 21:57 /dev/null
> 

I'm surprised by that.  Google found similar error messages where a
*user* could not do things because /dev itself had the wrong
permissions (ls -ld /dev in chroot).  But you should be root here in
chroot, so perms for group and other are irrelevant.

And you bound the host's /dev in 6.2.2, didn't you ?

> which is correct. So that can't be the problem. The FAQ 
> (http://www.linuxfromscratch.org/lfs/faq.html#perm-denied) also says it can 
> be /etc/fstab. But I'm not sure which one. The one on the host system says:
> 
> /dev/mapper/isw_bejfhacdjf_Volume1p4 /               ext4    
> errors=remount-ro $
> /dev/mapper/isw_bejfhacdjf_Volume1p5 none            swap    sw              
> 0 $
> /dev/mapper/isw_bejfhacdjf_Volume1p5 none            swap    sw              
> 0 $
> 

I don't think /dev/mapper entries are the problem : if there is a
problem in the host system's fstab, it probably relates to /dev
itself.  I say 'probably' because I'm not familiar with that entry
in the FAQ and I don't recall anybody mentioning permission problems
with /dev on the lists.
> 
> I don't know if there is a problem there. On the LFS partition, /etc/fstab 
> doesn't exist. Is that a problem?
> 

No, not at this stage - you have barely started building the final
LFS system.  And since you didn't comment on my previous replies
that /mnt/lfs should be its own filesystem, I still doubt that you
will be able to boot your new system when you complete it.  I hope
I'm wrong on that.

ĸen
-- 
I live in a city. I know sparrows from starlings.  After that
everything is a duck as far as I'm concerned.  -- Monstrous Regiment
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to