lxcbr0開機後沒起來 - Linux
By Jake
at 2013-01-22T18:44
at 2013-01-22T18:44
Table of Contents
我用的是Ubuntu 12.04 Server
灌好LXC 沒動過他的設定 有定期作系統更新
但最近重開機後 lxcbr0這個介面都不會自己起來
還要手動 sudo /etc/init.d/lxc-net restart
這個介面才會出現
--
網路上找到一篇 在/etc/defaults/lxc裡面
加上參數USE_LXC_DNSMASQ="false"
重開機後lxcbr0就出現了!!
下面是原文:
http://www.mail-archive.com/[email protected]/msg03815.html
That contained a hint indeed:
dnsmasq: failed to create listening socket for 192.168.122.1: Address
already in use
A look into lxc-net.conf shows that it buggers out when it cant start
dnsmasq and removes the bridge completely. So at starttime named is some
milliseconds faster to aquire the bridge interface and makes dnsmasq
fail. Bridge removed, named kicked in the ass. So you do a restart later
everything works fine.
I just added USE_LXC_DNSMASQ="false" to the lxc defaults and the
corresponding if statement to lxc-net.conf. Works now even on boot time.
Cheers,
Groupie
---
他有稍作說明造成這種狀況的原因
不過我還是看不太懂 有看懂的大大願意為小弟解惑嗎 感恩
※ 編輯: nuclex 來自: 114.32.84.139 (01/22 19:20)
灌好LXC 沒動過他的設定 有定期作系統更新
但最近重開機後 lxcbr0這個介面都不會自己起來
還要手動 sudo /etc/init.d/lxc-net restart
這個介面才會出現
--
網路上找到一篇 在/etc/defaults/lxc裡面
加上參數USE_LXC_DNSMASQ="false"
重開機後lxcbr0就出現了!!
下面是原文:
http://www.mail-archive.com/[email protected]/msg03815.html
That contained a hint indeed:
dnsmasq: failed to create listening socket for 192.168.122.1: Address
already in use
A look into lxc-net.conf shows that it buggers out when it cant start
dnsmasq and removes the bridge completely. So at starttime named is some
milliseconds faster to aquire the bridge interface and makes dnsmasq
fail. Bridge removed, named kicked in the ass. So you do a restart later
everything works fine.
I just added USE_LXC_DNSMASQ="false" to the lxc defaults and the
corresponding if statement to lxc-net.conf. Works now even on boot time.
Cheers,
Groupie
---
他有稍作說明造成這種狀況的原因
不過我還是看不太懂 有看懂的大大願意為小弟解惑嗎 感恩
※ 編輯: nuclex 來自: 114.32.84.139 (01/22 19:20)
推 CP64:啟動時間差造成的錯誤? (歪頭 01/22 19:27
推 soem:看來是這樣沒錯 01/22 19:41
Tags:
Linux
All Comments
By Ula
at 2013-01-24T11:27
at 2013-01-24T11:27
By Audriana
at 2013-01-28T06:06
at 2013-01-28T06:06
Related Posts
inittab設置後kill的問題(500P)
By Elvira
at 2013-01-22T17:45
at 2013-01-22T17:45
inittab設置後kill的問題(500P)
By Emily
at 2013-01-22T15:37
at 2013-01-22T15:37
mint 的 chromium 分頁標籤精簡化?
By Franklin
at 2013-01-22T14:49
at 2013-01-22T14:49
請問一下有沒有清除log的工具
By Edith
at 2013-01-22T10:02
at 2013-01-22T10:02
awk的REGEX想吃變數
By Odelette
at 2013-01-22T09:28
at 2013-01-22T09:28