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

左宝柱 zuobaozhu at gmail.com
Tue Feb 3 11:13:29 UTC 2015


I have  booted the initrd.img file .when I reached network,it can get the
right date.but
root at localhost:~# date
Tue Feb  3 11:01:18 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


it's still not work.

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

> hi,
> Am Dienstag, den 03.02.2015, 18:29 +0800 schrieb 左宝柱:
> > no,
> > root at localhost:~# date
> > Thu Jan  1 00:11:39 UTC 1970
> > because my board dont have rtc hardware module.I think it is right.
> >
> not if you use fixrtc .. it reads the last mount time of your rootfs and
> uses the date command to set your clock to this time during boot, the
> rtc should not be involved in this case ...
>
> i wonder why fixrtc does not do what it is supposed to do here ...
>
> i have uploaded an initrd with slightly modified fixrtc at:
>
> http://people.canonical.com/~ogra/snappy/initrd.img
>
> please try booting this one and see if your clock ends up with a better
> date ...
>
> ciao
>         oli
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150203/9c79af08/attachment.html>


More information about the snappy-devel mailing list