jhalfs permission problem
lich000king at yahoo.de
Tue Jun 5 06:04:49 PDT 2012
Thanks for the help.
> You need to add to sudoers:
> lfs ALL = NOPASSWD: ALL
> Use the svn version of jhalfs. Also I recommend not using the progress
Ok, changed that, but this did not help.
> What are the permissions on /mnt/lfs/jhalfs/envars ?
$ ls -l envars
-rwxrwxrwx 1 lfs root 45 May 29 22:01 envars
(which is ok, right?)
> Do you tick "Change the defaults user/group and homedir for this build" ?
No, I used the defaults.
I looked at the log files too and did not find anything helpful.
The only thing I can think of is there might be some problem with the tar
version installed on my debian system. I will try jhalfs again with an
up-to-date LFS, but this might take some time.
From: alfs-discuss-bounces at linuxfromscratch.org
[mailto:alfs-discuss-bounces at linuxfromscratch.org] On Behalf Of Pierre
Sent: Samstag, 26. Mai 2012 23:18
To: ALFS Discussion and Development List
Subject: Re: jhalfs permission problem
Le 03/05/2012 10:54, lich000king a écrit :
> I get the following shortly after fetching the book:
> You are going to log into the user account lfs
> sudo requires a password
> .bashrc: line 8: /mnt/lfs/jhalfs/envars: Permission denied
> make: *** [mk_LUSER] Error 1
> make: Leaving directory `/mnt/lfs/jhalfs'
> <jhalfs 2.3.2> exit
> make: *** [all] Error 2
> I did edit the sudoers file to include
> [username] ALL=(ALL) NOPASSWD: ALL
> for the host and lfs users and I also added
> alias su='sudo su'
> To all the users' .profile, none of this helped. It does not matter if
> I use jhalfs 2.3.2 or svn version.
> I'm using a compliant host based on an up-to-date Debian.
> Does anyone have an idea, where the problem lies?
Normally, what you have done is enough. You do not even need the alias
because jhalfs does not use su. I do not use the "lfs ALL NOPASSWD: ALL"
line as suggested by Bruce. But you should use jhalfs svn.
Have you looked at /mnt/lfs/jhalfs/logs/000-masterscript.log ? It sometimes
contains useful informations about the initialization of the process. You
may also look for other .log files in the same directory, which could help
What are the permissions on /mnt/lfs/jhalfs/envars ?
Do you tick "Change the defaults user/group and homedir for this build"
? I would recommend not to do that.
That is all I can see for now
Unsubscribe: See the above information page
More information about the alfs-discuss