Created attachment 188080 [details]
Changes to add /sys/class/net nodes
Trying to install Minecraft using https://gameservermanagers.com/ in a Linux jail, the software expects data in /sys/class/net which at the moment is not implemented.(https://dongqixue.blogspot.com/2017/05/linux-kernel-documentation-for.html).
I just implemented the nodes that the application requires.
Now the application fails because it needs a NETLINK emulation which also does not exists on current linuxlator.
I have attached changes to linsysfs to add the needed nodes for /sys/class/net
It appears you've attached a copy of a modified linsysfs.c, not a patch. Please attach a patch instead (e.g., from diff -u), or create an account on our Phabricator instance and upload the patch there (following the instructions on https://wiki.freebsd.org/Phabricator)
Created attachment 188232 [details]
I'm sorry here is the patch adding /sys/class/net to linsysfs
Patch is now in Phabricator
A commit references this bug:
Date: Mon May 6 20:01:14 UTC 2019
New revision: 347204
Adds sys/class/net devices to linsysfs.
Only two interfaces are created eth0 and lo and they expose
the following properties:
address, addr_len, flags, ifindex, mty, tx_queue_len and type.
Initial patch developed by Carlos Neira in 2017 and finished by me.
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D13656