On 6/9/19 8:57 PM, Jean-Marc Pigeon via lfs-dev wrote:
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".
I do normally use a bridge, but I am using an older version of the
bootscripts right now. I suggest just using the
lfs-bootscripts-20180820 version for now until we can look at it in more
detail.
http://www.linuxfromscratch.org/lfs/downloads/stable/
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page