Comment 39 for bug 1573272

Revision history for this message
Dan Streetman (ddstreet) wrote :

> The reentrancy is a red flag for me. Is there an existing example of ifup being
> called from an if-pre-up.d script?

yes, the ifenslave if-pre-up.d script does call ifup for all its slave interfaces, i.e.:

# Bring up slave if it is the target of an allow-bondX stanza.
# This is usefull to bring up slaves that need extra setup.
if [ -z "$(which ifquery)" ] || ifquery --allow \"$BOND_MASTER\" --list | grep -q $slave; then
    ifup $v --allow "$BOND_MASTER" "$slave"
fi

> I think it would be best to get a review from someone more familiar with this
> area before upload.

ok I'll ping one of the ifupdown-related coredevs.