Re: LOGUSER is undefined

2018-06-04 Diskussionsfäden Jean-mathieu CHANTREIN



- Mail original -
> De: "Thomas Lange" 
> À: "linux-fai" 
> Envoyé: Lundi 4 Juin 2018 12:46:17
> Objet: Re: LOGUSER is undefined

>>>>>> On Mon, 4 Jun 2018 12:34:50 +0200 (CEST), Jean-mathieu CHANTREIN
>>>>>>  said:
> 
>> I haved install fai-server on debian buster. I add to /etc/fai/fai.conf 
> this 2
>> line:
>> LOGUSER=fai
>> FAI_LOGPROTO=ssh
> This sets LOGUSER only for the FAI server. For the clients you have to
> set LOGUSER in a class/*.var file.

Thank you very much, it works well now. 
However, I don't understand why we can have the choice to put a user other than 
the one defined in /etc/fai/fai.conf. Indeed, the remote connection will always 
be done on the user defined in /etc/fai/fai.conf , is it not ?

> 
> 
>> P.S.: I want to propose pull request of the french traduction of 
> fai-guide
>> (http://fai-project.org/fai-guide-fr). I can't see this file on
>> https://github.com/faiproject/fai/tree/master/doc .
>> How I can make pull request on the french traduction of the guide ?
> Currently I do not find the sources of the french traduction. I will
> sent you an email later about this.
> 
>> P.S.2: Is it safe to use fai-server on a debian testing basis for 
> production ?
> This depends on what you expect for your production
> environment. Testing is not the stable release but it's also not
> the unstable release ;-)

:-)

Regards.

Jean-Mathieu


> 
> --
> regards Thomas


Re: LOGUSER is undefined

2018-06-04 Diskussionsfäden Thomas Lange
> On Mon, 4 Jun 2018 12:34:50 +0200 (CEST), Jean-mathieu CHANTREIN 
>  said:

> P.S.: I want to propose pull request of the french traduction of 
fai-guide (
> http://fai-project.org/fai-guide-fr). I can't see this file on 
> https://github.com/faiproject/fai/tree/master/doc .
> How I can make pull request on the french traduction of the guide ?
The git repository is here:
https://github.com/CyBerNetX/fai-guide-fr.git
I do not have write access to it, but you can try to contact the
author of it. If he does not respon to a pull request, you could fork
his repository. If you update the manual, just sent me an email, and I
will include the new version onto the web page.

-- 
regards Thomas


Re: LOGUSER is undefined

2018-06-04 Diskussionsfäden Thomas Lange
> On Mon, 4 Jun 2018 12:34:50 +0200 (CEST), Jean-mathieu CHANTREIN 
>  said:

> I haved install fai-server on debian buster. I add to /etc/fai/fai.conf 
this 2 line:
> LOGUSER=fai
> FAI_LOGPROTO=ssh
This sets LOGUSER only for the FAI server. For the clients you have to
set LOGUSER in a class/*.var file.


> P.S.: I want to propose pull request of the french traduction of 
fai-guide (http://fai-project.org/fai-guide-fr). I can't see this file on 
> https://github.com/faiproject/fai/tree/master/doc .
> How I can make pull request on the french traduction of the guide ?
Currently I do not find the sources of the french traduction. I will
sent you an email later about this.

> P.S.2: Is it safe to use fai-server on a debian testing basis for 
production ?
This depends on what you expect for your production
environment. Testing is not the stable release but it's also not
the unstable release ;-)

-- 
regards Thomas


LOGUSER is undefined

2018-06-04 Diskussionsfäden Jean-mathieu CHANTREIN
Hello. 

I haved install fai-server on debian buster. I add to /etc/fai/fai.conf this 2 
line: 

LOGUSER=fai 
FAI_LOGPROTO=ssh 

At the end on the fai-setup, I do have : 

fai-make-nfsroot finished properly. 
Log file written to /var/log/fai/fai-make-nfsroot.log 
FAI setup finished. 

And fai user is corectly create. 

I make: 

fai-chboot -IFv -u nfs://IP_FAI_SERVER/srv/fai/config demohost 

Deployment work fine but at the end, I see this message: 

$LOGUSER is undefined. Not saving log files to remote. 

And fai-chboot -d demohost can't be effected. 

I use tty on the temporary client and effectively, they are not LOGUSER 
variable defined in /tmp/fai/variables.log but I do have variable 
FAI_LOGPROTO=ssh . 
I can log to my fai-server from the temporary client with: 

ssh fai@IP_FAI_SERVER 

What I have missing ? 

Regards. 

Jean-Mathieu 

P.S.: I want to propose pull request of the french traduction of fai-guide 
(http://fai-project.org/fai-guide-fr). I can't see this file on 
https://github.com/faiproject/fai/tree/master/doc . 
How I can make pull request on the french traduction of the guide ? 

P.S.2: Is it safe to use fai-server on a debian testing basis for production ?