You are not logged in.

#1 2014-01-24 00:27:13

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

netctl.action zombie process

Hello!

I just added ExecUpPost parameter and now I got one zombie process: [netctl.action] <defunct>

What I am doing wrong? Should my script return something like true or?

Last edited by dersd (2014-01-24 00:27:30)

Offline

#2 2014-01-24 00:48:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: netctl.action zombie process

Seriously?  Do you really think that someone who is reading this post is going to have any clue as to what you may or may not have done here?  You need to do about 1000 times better of a job explaining your situation.

Offline

#3 2014-01-24 00:55:51

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

Re: netctl.action zombie process

Okay.

I've got bash script that starts reverse ssh tunnel, it does use sudo:

sudo -u $LOCAL_USER ssh -f -N -o ServerAliveInterval=10 -o ServerAliveCountMax=3 -o ConnectTimeout=1 -o ConnectionAttempts=1 -R $SSH_PORT:localhost:22 $SSH_USER$SSH_HOST

To /etc/netctl/eth0 I added string: ExecUpPost="/home/user/ssh-tunnel || true"

It does start correctly (process & connection exist), but I've got zombie of netctl.action in process list.

Offline

#4 2014-01-24 11:23:18

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

Re: netctl.action zombie process

I gave up solving this problem and choose systemd's service method of spawning process and using Restart=always.

Offline

Board footer

Powered by FluxBB