Skip to contentSkip to conversation

Reminder: /tmp/net.$netif.* files

DISCUSSION Warren Togami 2 participants 2 messages Jun 17, 2009 – Jun 18, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

If you write a file to /tmp/net.$netif.* please be sure it only exists if that interface ends up as part of the netboot. The net.* files are to be considered post-switch_root by initscripts or NetworkManager. We don't want those tools to be confused by net.* files from aborted interfaces that were not part of the netboot.

A tricky part might be ensuring net.* files for constituent interfaces part of layered interfaces like bridges or bonds, in addition to net.* files for the bridge or bond.

Warren Togami
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to a message not in the archive
Quoted 1 line · Warren Togami

If you write a file to /tmp/net.$netif.* please be sure it only exists if that interface ends up as part of the netboot. The net.* files are to be considered post-switch_root by initscripts or NetworkManager. We don't want those tools to be confused by net.* files from aborted interfaces that were not part of the netboot.

Question: What net.* files would you consider to be necessary for initscripts and NetworkManager? I'd assume that would have to be dhclient-options and -lease file, an override file containing ip= contents and the written ifcfg-files. Anything else?

Quoted 8 lines

A tricky part might be ensuring net.* files for constituent interfaces part of layered interfaces like bridges or bonds, in addition to net.* files for the bridge or bond.

Warren Togami
[email protected]

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html