[systemd-devel] Recommendation for "systemd.module" unit
Mantas Mikulėnas
grawity at gmail.com
Fri Jan 25 07:13:51 PST 2013
On Fri, Jan 25, 2013 at 2:18 AM, Larry Baker <baker at usgs.gov> wrote:
> Lennart,
>
> There's more to it than that. The DECnet kernel module must first be loaded
> so that it creates /proc/net/decnet*. When the dnetd service is started, it
> parses /etc/decnet.conf and writes the DECnet host address to
> /proc/sys/net/decnet/node_address and the default DECnet device (interface)
> to /proc/sys/net/decnet/default_device. The MAC address of all the DECnet
> interfaces has to be changed to a special multicast address. This all
> usually must be done before IP networking is started. I am not sure that a
> socket can be opened before networking is up.
It can. All the program needs to do is call `socket(PF_DECNET, ...)`.
Whether networking is "up" or not (for all definitions of "up") does
not matter until you try to connect() or bind() or do similar things.
--
Mantas Mikulėnas
More information about the systemd-devel
mailing list