Closed akki42 closed 11 months ago
I cannot immediately reproduce the problem. I see two differences in my setup:
I guess that that some update did not work smoothly. My setup is not clean either. Before re-installing from scratch: Could you check if ntp is part of your /etc/passwd? I have
# cat passwd | grep ntp
ntp:x:101:102:ntpd user:/:/bin/false
My guess is that in your case, the time battery is empty as well!
Time battery indeed is (or seems to be) empty. I'll get a replacement asap.
Regarding user ntp: no such user is present in my system.
Full /etc/passwd reads as follows:
ftc@FT-txt:~> cat /etc/passwd
root:x:0:0:root:/root:/bin/sh
daemon:x:1:1:daemon:/usr/sbin:/bin/false
bin:x:2:2:bin:/bin:/bin/false
sys:x:3:3:sys:/dev:/bin/false
sync:x:4:100:sync:/bin:/bin/sync
mail:x:8:8:mail:/var/spool/mail:/bin/false
www-data:x:33:33:www-data:/var/www:/bin/false
operator:x:37:37:Operator:/var:/bin/false
nobody:x:65534:65534:nobody:/home:/bin/false
ROBOPro:x:1004:1008::/opt/fischertechnik:/bin/sh
ftc:x:1001:1001::/home/ftc:/bin/sh
named:x:1000:1000:BIND daemon:/etc/bind:/bin/false
dbus:x:1002:1002:DBus messagebus user:/run/dbus:/bin/false
sshd:x:1003:1003:SSH drop priv user:/var/empty:/bin/false
ftc@FT-txt:~>
This is a rather fresh installation: newly installed v. 1.0.4 on October 7th and upgraded to v. 1.0.5 via sudo system-update 1.0.5
this Friday.
I can of course test a fresh v. 1.0.5 installation. The only reason I haven't done so already is that my wifi password contains a character (~) not shown in the TXT's wifi settings, so getting the TXT onto the network is a bit of a hassle.
The problem happens during the upgrade of 104 to 105 and it can be fixed manually with
sudo adduser -s /bin/false -S -D -H -u 101 -G ntp ntp
I added this to the upgrade instructions. The tilde Logo will be on the keyboard in the next release.
Using the newly released v 1.0.5, my TXT does not update date & time at startup.
According to
/var/log/messages
,ntpd
is supposed to run as userntp
, which is not configured.Manually calling ntpd without the -u option works fine:
(Without automatic or manual time setting, there are some resulting errors, e.g. Store app returns "Netzwerkfehler: SSL-Aushandlung fehlgeschlagen"...)