Jean-Marc Pigeon via lfs-dev <lfs-dev@lists.linuxfromscratch.org> 於
2019年6月10日 週一 上午10:17寫道:
>
> 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
Maybe you should add "VIRTINT=yes" here, without quotes.
> 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
>
> --
> http://lists.linuxfromscratch.org/listinfo/lfs-dev
> FAQ: http://www.linuxfromscratch.org/faq/
> Unsubscribe: See the above information page
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to