<div dir="ltr">after I use new init.img,and /boot/uboot still cant <a href="http://mount.it">mount.it</a> is show:<div><div>Feb 03 11:01:12 localhost.localdomain dhclient[441]: bound to 192.168.1.142 -- renewal in 3116 seconds.</div><div>Feb 03 11:03:43 localhost.localdomain systemd[1]: Unit boot-uboot.mount is bound to inactive service. Stopping, too.</div><div>Feb 03 11:03:43 localhost.localdomain systemd[1]: Unmounting /boot/uboot...</div><div>Feb 03 11:03:43 localhost.localdomain systemd[1]: Unmounted /boot/uboot.</div><div>Feb 03 11:14:56 localhost.localdomain systemd[1]: Unit boot-uboot.mount is bound to inactive service. Stopping, too.</div><div>Feb 03 11:14:56 localhost.localdomain systemd[1]: Unmounting /boot/uboot...</div><div>Feb 03 11:14:56 localhost.localdomain systemd[1]: Unmounted /boot/uboot.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-03 19:13 GMT+08:00 左宝柱 <span dir="ltr"><<a href="mailto:zuobaozhu@gmail.com" target="_blank">zuobaozhu@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have  booted the initrd.img file .when I reached network,it can get the right date.but <div><div>root@localhost:~# date</div><div>Tue Feb  3 11:01:18 UTC 2015</div></div><div><span class=""><div>root@localhost:~# snappy versions</div><div>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</div></span><span class=""><div>Part   Tag   Installed  Available  Fingerprint     Active  </div><div>webdm  edge  0.1        -          ff82f70a04b014  *       </div></span><span class=""><div>Traceback (most recent call last):</div><div>  File "/usr/bin/snappy", line 25, in <module></div><div>    status = Main().__main__()</div><div>  File "/usr/lib/python3/dist-packages/snappy/main.py", line 195, in __main__</div><div>    return callback(args)</div></span><span class=""><div>  File "/usr/lib/python3/dist-packages/snappy/main.py", line 383, in _do_versions</div><div>    SystemImageDataSource().next_boot_is_other():</div><div>  File "/usr/lib/python3/dist-packages/snappy/systemimage.py", line 73, in __init__</div><div>    self.bus = dbus.SystemBus()</div><div>  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 194, in __new__</div><div>    private=private)</div><div>  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 100, in __new__</div><div>    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)</div><div>  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 122, in __new__</div><div>    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)</div></span><div>dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory</div></div><span class=""><div><br></div><div><br></div><div>it's still not work.</div></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-02-03 18:49 GMT+08:00 Oliver Grawert <span dir="ltr"><<a href="mailto:ogra@ubuntu.com" target="_blank">ogra@ubuntu.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
Am Dienstag, den 03.02.2015, 18:29 +0800 schrieb 左宝柱:<br>
<span>> no,<br>
> root@localhost:~# date<br>
> Thu Jan  1 00:11:39 UTC 1970<br>
> because my board dont have rtc hardware module.I think it is right.<br>
><br>
</span>not if you use fixrtc .. it reads the last mount time of your rootfs and<br>
uses the date command to set your clock to this time during boot, the<br>
rtc should not be involved in this case ...<br>
<br>
i wonder why fixrtc does not do what it is supposed to do here ...<br>
<br>
i have uploaded an initrd with slightly modified fixrtc at:<br>
<br>
<a href="http://people.canonical.com/~ogra/snappy/initrd.img" target="_blank">http://people.canonical.com/~ogra/snappy/initrd.img</a><br>
<br>
please try booting this one and see if your clock ends up with a better<br>
date ...<br>
<br>
ciao<br>
        oli<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>