[Snappy ubuntu core ] boot was delay 1min 30s

左宝柱 zuobaozhu at gmail.com
Tue Feb 3 10:44:36 UTC 2015


I dont know the reason,snappy cannt auto start my network,I need start eth0
and set data menually.
root at localhost:~# date -s "20150202"
Mon Feb  2 00:00:00 UTC 2015
root at localhost:~# snappy versions
WARNING: failed to connect to dbus:
org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory
Part   Tag   Installed  Available  Fingerprint     Active
webdm  edge  0.1        -          ff82f70a04b014  *
Traceback (most recent call last):
  File "/usr/bin/snappy", line 25, in <module>
    status = Main().__main__()
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 195, in
__main__
    return callback(args)
  File "/usr/lib/python3/dist-packages/snappy/main.py", line 383, in
_do_versions
    SystemImageDataSource().next_boot_is_other():
  File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 73, in
__init__
    self.bus = dbus.SystemBus()
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 194, in __new__
    private=private)
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound:
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file
or directory
root at localhost:~# ifconfig
eth0      Link encap:Ethernet  HWaddr da:57:cd:a8:b5:7f
          inet addr:192.168.1.136  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::d857:cdff:fea8:b57f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:227 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22439 (22.4 KB)  TX bytes:3960 (3.9 KB)
          Interrupt:117

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1488 (1.4 KB)  TX bytes:1488 (1.4 KB)

root at localhost:~#



2015-02-03 18:27 GMT+08:00 Oliver Grawert <ogra at ubuntu.com>:

> hi,
> Am Dienstag, den 03.02.2015, 18:20 +0800 schrieb 左宝柱:
> > I have added "fixrtc" to kernel command line ,but  "snappy versions"
> > still not work.
>
> right, it still requires your bootloader mount to be there and your
> network to be up and working.
> we are not done yet ... :)
>
> after you added fixrtc, is your clock pointing to a more recent date
> now ?
>
> ciao
>         oli
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150203/fd91c9eb/attachment-0001.html>


More information about the snappy-devel mailing list