On 6/9/2019 3:45 PM, Jean-Marc Pigeon via blfs-dev wrote:
Hello,

/sbin/ifup was changed between lfs-bootscripts-20180820
and fs-bootscripts-20190524

Sequence
;-------------------
# Bring up the interface
if [ "$VIRTINT" != "yes" ]; then
   up ${IFACE}
fi

for S in ${SERVICE}; do
;-------------------

This cause trouble in case you have defined a bridge interface.
(a bridge interface is now a virtual one?),
as the bridge can NOT be UP before service bridge define it.

There is a kind of discrepancy between
line 99:
if [ "$VIRTINT" != "yes" ]; then
   up ${IFACE}

and line 122:
if [ "${VIRTINT}" == "yes" ]; then
   up ${IFACE}


Comments??

This was answered in a private thread, but repeating here in case it comes up again. For any virtual interfaces, you need to add "VIRTINT=yes" to the configuration. This is to avoid a couple of problems with the earlier incarnations of this script (and Beyond BLFS scripts). The order of operations has changed a bit to avoid the unnecessary boot_mesg*2 cosmetic entries and disposing of the bad return value, as well as bringing up a virtual interface before it is configured by the service (and to fix a couple of other odd corner cases).

HTH

--DJ


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to