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

左宝柱 zuobaozhu at gmail.com
Tue Feb 3 10:20:59 UTC 2015


I have added "fixrtc" to kernel command line ,but  "snappy versions" still
not work.
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
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 335, in
_do_versions
    click_versions = ClickDataSource().versions(all)
  File "/usr/lib/python3/dist-packages/snappy/click.py", line 189, in
versions
    all_updates_list = repo.get_upgradable()
  File "/usr/lib/python3/dist-packages/click/repository.py", line 183, in
get_upgradable
    headers={"content-type": "application/json"})
  File "/usr/lib/python3/dist-packages/click/network.py", line 70, in
http_request
    curl.perform()
pycurl.error: (6, 'Could not resolve host: myapps.developer.ubuntu.com')
root at localhost:~# dmesg | grep fixrtc
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk
root=/dev/disk/by-label/system-a init=/lib/systemd/systemd ro panic=-1
fixrtc rootwait
root at localhost:~#


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

> hi
> Am Dienstag, den 03.02.2015, 11:04 +0100 schrieb Oliver Grawert:
> > Am Dienstag, den 03.02.2015, 17:51 +0800 schrieb 左宝柱:
> ...
> > >
> > > all log:http://paste.ubuntu.com/10031823/
> > > it's still not work.
> >
> > the last lines there show that systemd forecefull unmounts it again ...
> >
> another thing i just noticed is that your kernel command line arguments
> lack the "fixrtc" keyword which makes your clock come up with Jan. 01
> 1970 instead of the last mount time of the rootfs.
>
> you should add fixrtc to your kernel command line, that date will
> definitely cause trouble ... (this must not be related to the mounting,
> but things like "snappy versions" will not work due to this)
>
> ciao
>         oli
>
>
> --
> snappy-devel mailing list
> snappy-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150203/a92effcc/attachment.html>


More information about the snappy-devel mailing list