Skip to content
This repository has been archived by the owner. It is now read-only.

NETLINK_CONNECTOR doesn't work #2537

Closed
yanguo2111 opened this issue Dec 17, 2018 · 4 comments
Closed

NETLINK_CONNECTOR doesn't work #2537

yanguo2111 opened this issue Dec 17, 2018 · 4 comments

Comments

@yanguo2111
Copy link

@yanguo2111 yanguo2111 commented Dec 17, 2018

Issue Report

the netlink connector which is used to monitor process not working.
socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR);
return everything OK. but cannot receive process events.

Bug

Container Linux Version

VERSION=1911.4.0
VERSION_ID=1911.4.0
BUILD_ID=2018-11-26-1924
PRETTY_NAME="Container Linux by CoreOS 1911.4.0 (Rhyolite)"
COREOS_BOARD="amd64-usr"

Environment

What hardware/cloud provider/hypervisor is being used to run Container Linux?

Expected Behavior

Actual Behavior

Reproduction Steps

  1. ...
  2. ...

Other Information

@bgilbert
Copy link
Member

@bgilbert bgilbert commented Dec 18, 2018

Are you seeing this on the host or in a container? Could you check whether the same problem occurs on another Linux distribution? Could you post a minimal reproducer?

@yanguo2111
Copy link
Author

@yanguo2111 yanguo2111 commented Dec 20, 2018

I see this on the host.
compile this source code and run it on coreOs. it return no error, but the netlink does not work.
https://github.com/ggrandes-clones/pmon/blob/master/src/pmon.c
If I run on other linux, it will receive the process event(fork/exit/exec).

@bgilbert
Copy link
Member

@bgilbert bgilbert commented Dec 21, 2018

Thanks for the report. I've submitted coreos/coreos-overlay#3524 to enable reporting of process events.

@bgilbert
Copy link
Member

@bgilbert bgilbert commented Dec 21, 2018

This should be fixed in the next alpha, currently expected to be 2016.0.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.