Bug 223722 - update linsysfs to include /sys/class/net data
Summary: update linsysfs to include /sys/class/net data
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: emulation
Keywords: patch
Depends on:
Reported: 2017-11-17 20:04 UTC by neirac
Modified: 2017-12-27 19:19 UTC (History)
5 users (show)

See Also:

Changes to add /sys/class/net nodes (15.89 KB, text/plain)
2017-11-17 20:04 UTC, neirac
no flags Details
/sys/class/net patch (8.12 KB, patch)
2017-11-24 03:16 UTC, neirac
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description neirac 2017-11-17 20:04:54 UTC
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
Comment 1 Ed Maste freebsd_committer 2017-11-21 04:04:34 UTC
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)
Comment 2 neirac 2017-11-24 03:16:31 UTC
Created attachment 188232 [details]
/sys/class/net patch

I'm sorry here is the patch adding /sys/class/net to linsysfs
Comment 3 neirac 2017-12-27 19:19:07 UTC
Patch is now in Phabricator