headless connection failure

Post here to get support
Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Re: headless connection failure

Post by Mitteau » Wed Aug 16, 2017 10:26 am

I did not parametrized cfheadless with debugfile, I am doing to do and have a look at syslog...

Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Re: headless connection failure

Post by Mitteau » Wed Aug 16, 2017 11:32 am

Looking at syslog file, you can see you are right, the problem is udev timeout. But I don't know how to avoid this, I tested udevadm --timeout ... but this command does not exist here. Is it possible that some answer to the RUN command in 99-...rules is not implemented?
Here are the files:
syslog:
texte.txt
(1001 Bytes) Downloaded 14 times
and nohup.out file:
nohup.out.txt
(2.17 KiB) Downloaded 14 times

arnaud
Bitcraze
Posts: 1609
Joined: Tue Feb 06, 2007 12:36 pm

Re: headless connection failure

Post by arnaud » Thu Aug 24, 2017 9:30 am

Hum, I think I got an idea that could work: what about creating a "systemd unit" for the headless client? This can be started (or not) at startup. Then the udev rules will just contain: "systemclt restart cfheadless". This way the headless client is lauched and handled directly with systemd so there should not be any timeout.

Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Re: headless connection failure

Post by Mitteau » Mon Sep 04, 2017 2:46 pm

Hi
I tested the method, looks correct. Easy to install systemd unit in /etc/systemd/system. No more time out.
But I do not yet succeed in launching unit using udev rule. Nexot step...

Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Re: headless connection failure

Post by Mitteau » Sun Feb 25, 2018 3:30 pm

Hi *
The answer is here:
https://lists.freedesktop.org/archives/ ... 07391.html
I will delve into the question.... and open a new post if I find a solution.
Perhaps an issue should be emitted?
BR *
Jean-Claude

arnaud
Bitcraze
Posts: 1609
Joined: Tue Feb 06, 2007 12:36 pm

Re: headless connection failure

Post by arnaud » Mon Feb 26, 2018 1:08 pm

Thanks for the update! If you find how to update the file to make it work, an issue (or a pull request) would be great :-).

Mitteau
Expert
Posts: 244
Joined: Fri Jan 29, 2016 6:00 am

Re: headless connection failure

Post by Mitteau » Thu Mar 01, 2018 10:02 am

OK

Post Reply