{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/2574","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/2574/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/2574/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/2574/events","html_url":"https://github.com/systemd/systemd/pull/2574","id":132728756,"number":2574,"title":"cgroup: remove support for NetClass= directive","user":{"login":"zonque","id":106304,"avatar_url":"https://avatars.githubusercontent.com/u/106304?v=3","gravatar_id":"","url":"https://api.github.com/users/zonque","html_url":"https://github.com/zonque","followers_url":"https://api.github.com/users/zonque/followers","following_url":"https://api.github.com/users/zonque/following{/other_user}","gists_url":"https://api.github.com/users/zonque/gists{/gist_id}","starred_url":"https://api.github.com/users/zonque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonque/subscriptions","organizations_url":"https://api.github.com/users/zonque/orgs","repos_url":"https://api.github.com/users/zonque/repos","events_url":"https://api.github.com/users/zonque/events{/privacy}","received_events_url":"https://api.github.com/users/zonque/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systemd/systemd/labels/coredump","name":"coredump","color":"f7c6c7"},{"url":"https://api.github.com/repos/systemd/systemd/labels/pid1","name":"pid1","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-10T15:23:04Z","updated_at":"2016-02-10T15:39:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/2574","html_url":"https://github.com/systemd/systemd/pull/2574","diff_url":"https://github.com/systemd/systemd/pull/2574.diff","patch_url":"https://github.com/systemd/systemd/pull/2574.patch"},"body":"Support for `net_cls.class_id` through the `NetClass=` configuration directive\r\nhas been added in v227 in preparation for a per-unit packet filter mechanism.\r\nHowever, it turns out the kernel people have decided to deprecate the `net_cls`\r\nand `net_prio` controllers in v2. Tejun provides a comprehensive justification\r\nfor this in his commit, which has landed during the merge window for kernel\r\nv4.5:\r\n\r\n  https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd1060a1d671\r\n\r\nAs we're aiming for full support for the v2 cgroup hierarchy, we can no\r\nlonger support this feature. Userspace tool such as `nftables` are moving over\r\nto setting rules that are specific to the full cgroup path of a task, which\r\nobsoletes these controllers anyway.\r\n\r\nThis commit removes support for tweaking details in the `net_cls` controller,\r\nbut keeps the `NetClass=` directive around for legacy compatibility reasons."},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/182431755","html_url":"https://github.com/systemd/systemd/pull/2574#issuecomment-182431755","issue_url":"https://api.github.com/repos/systemd/systemd/issues/2574","id":182431755,"user":{"login":"zonque","id":106304,"avatar_url":"https://avatars.githubusercontent.com/u/106304?v=3","gravatar_id":"","url":"https://api.github.com/users/zonque","html_url":"https://github.com/zonque","followers_url":"https://api.github.com/users/zonque/followers","following_url":"https://api.github.com/users/zonque/following{/other_user}","gists_url":"https://api.github.com/users/zonque/gists{/gist_id}","starred_url":"https://api.github.com/users/zonque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zonque/subscriptions","organizations_url":"https://api.github.com/users/zonque/orgs","repos_url":"https://api.github.com/users/zonque/repos","events_url":"https://api.github.com/users/zonque/events{/privacy}","received_events_url":"https://api.github.com/users/zonque/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T15:39:21Z","updated_at":"2016-02-10T15:39:21Z","body":"Ay, thanks for spotting. But why the 'coredump' label?"}}