Hi
When trying to run jhalfs, I get the following shortly after fetching the book:
Code:
You are going to log into the user account lfs
sudo requires a password
.bashrc: line 8: /mnt/lfs/jhalfs/envars: Permission denied
make[1]: *** [mk_LUSER] Error 1
make[1]: Leaving directory `/mnt/lfs/jhalfs'
<jhalfs 2.3.2> exit
make: *** [all] Error 2
I did edit the sudoers file to include
Code:
[username] ALL=(ALL) NOPASSWD: ALL
for the host and lfs users and I also added
To all the users' .profile, none of this helped.
I'm using a compliant host based on an up-to-date Debian.
Does anyone have an idea, where the problem lies?
Edit: a little update:
So far I ran the 'make' command as the host user (as I understand that is the recommendation). Now I did the following:
Quote:
sudo chown -hR lfs:lfs /mnt/lfs/
|
which it resulted (not surprisingly) in it complaining it has no write acces on the build directory.
But then I did
and ran the jhalfs script as the lfs user. This seems to work halfway, the above error no longer appears. However I get immediately:
Quote:
Building target 032-binutils-pass1
[+++++/tar: write error ] 0 min. 5 sec
[ ]
Target 032-binutils-pass1 OK
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Building target 033-gcc-pass1
[+tar: write error ] 0 min. 0 sec
make: *** [033-gcc-pass1] Error 2
make[1]: *** [mk_LUSER] Error 2
make[1]: Leaving directory `/mnt/lfs/jhalfs'
<jhalfs 2.3.2> exit
make: *** [all] Error 2
|
Edit edit: Since I'm not getting any replies, I posted to the alfs dicussion mailing list. I will of course post back here if I find the solution.