Snappy takes long time to boot when no network

Michael Hudson-Doyle michael.hudson at canonical.com
Thu Sep 1 21:19:49 UTC 2016


On 2 September 2016 at 00:44, Yann Sionneau <yann.sionneau at parrot.com>
wrote:

> I'm not sure I understand everything in the bug ticket as I am not a
> systemd / networkd / netplan expert at all.
>
> But :
>
> root at Paros:~# cat /etc/netplan/00-
> 00-initial-config.yaml  00-snapd-config.yaml
> root at Paros:~# cat /etc/netplan/00-initial-config.yaml
>
> network:
>  version: 2
>  ethernets:
>    all:
>     match:
>      name: "*"
>     dhcp4: true
> root at Paros:~# cat /run/systemd/network/10-netplan-all.network
> [Match]
> Name=*
>
> [Network]
> DHCP=ipv4
> root at Paros:~# networkctl
> IDX LINK             TYPE               OPERATIONAL SETUP
>   1 lo               loopback           carrier     configured
>   2 sit0             sit                routable    configuring
>   3 eth1             ether              routable    configured
>   4 eth0             ether              routable    configured
>   5 rndis0           ether              no-carrier  configuring
>
> 5 links listed.
>
> Does this help?
>
> eth0 is a WiFi interface.
>
> eth1 is USB ethernet device (plugged at boot)
>
>
I don't know if it's the cause of all your issues, but having both files in
/etc/netplan is a sign of console-conf / snapd version skew. It's fixed now
and new installs won't have this problem, but if you don't want to
re-install just deleted the 00-initial-config.yaml file and run sudo
netplan apply.

Cheers,
mwh


> Le 09/01/2016 à 02:30 PM, Oliver Grawert a écrit :
> > hi,
> > On Do, 2016-09-01 at 14:05 +0200, Yann Sionneau wrote:
> >> I feel like this is the bug I'm hitting.
> >> But, how do you explain that my boot is stalled even if I have 2 NICs
> >> with internet access?
> >> One is via wifi, the other is via usb-ethernet.
> >> Thanks!
> > hmm, this sounds more like a different bug ...
> > how about:
> >
> > https://launchpad.net/bugs/1618522
> >
> > ciao
> >       oli
>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160902/00979998/attachment.html>


More information about the Snapcraft mailing list