Hello,

lfs-bootscripts-20190524
/sbin/ifup, fail to properly add bridge.

ifconfig.bro is the bridge definition
# cat /etc/sysconfig/ifconfig.br0

;-------------------------
IFACE=br0
ONBOOT=yes
SERVICE="bridge ip-static"
IP=192.0.2.1                    
PREFIX=24
;-------------------------

I am using /lib/service/bridge (from LFS-7.2)

Problem is within ifup script

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

up ${IFACE}" is called BEFORE service is called,
then it is reported as
"interface not found" -> exit.


Is this a real bug or there is now another way
to init bridge interface??.


Checked the book and found nothing
compatible with sysVinit.
(systemd solution not an option).

Note: By mistake I reported this problem
to blfs-dev too...

For now, I "fixed" the /sbin/ifup script,
but may be I missed something to confgure properly "br0".


Thanks for you help


--
seen "Linux from scratch" and looking for ISO files
www.osukiss.org

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to