**** BEGIN LOGGING AT Thu Oct 03 02:59:57 2019 Oct 03 16:41:35 Tofe: I'm having some issues setting date & time on my Hammerhead. Seems that this might be the cause: Jul 30 10:01:49 hammerhead LunaSysService[1039]: sh: timedatectl: command not found Oct 03 16:42:40 Herrie: mmh which package should provide that one? Oct 03 16:42:53 Tofe: Yeah Oct 03 16:42:59 systemd Oct 03 16:43:00 Seems it's a bug in OSE itself actually Oct 03 16:43:05 The binary is not in OSE image I have here locally Oct 03 16:43:30 Ah could be the .bbappend we have for systemd Oct 03 16:43:37 I remmeber we did some changes there recently Oct 03 16:43:52 could be, I don't remember what we did Oct 03 16:44:26 let me look at tissot's image Oct 03 16:44:29 and pinephone's Oct 03 16:44:43 PACKAGECONFIG_remove timesyncd and timedated Oct 03 16:44:50 oh. well. Oct 03 16:45:06 Seems to be used for the luna-service call that switches on/off the network time Oct 03 16:45:25 You can test it by toggling and then the logs should have similar like what I have Oct 03 16:45:54 "Since we have our own implementations in webOS/LuneOS. Taken from upstream webOS OSE." Oct 03 16:46:24 Tofe: Yeah :S Oct 03 16:46:35 Well OSE image also doesn't have it, but the source code calls it ;) Oct 03 16:46:36 though the goal was to only "Remove timedated and timesyncd", maybe timedatectl is a sideeffect Oct 03 16:47:57 Check "int TimePrefsHandler::enableNetworkTimeSync(bool enable)" in Src/TimePrefsHandler.cpp for luna-sysservice Oct 03 16:48:06 Should be around L4928 Oct 03 16:48:23 In train and for some reason tethering today is extremely slow, so cannot load anything proper on laptop Oct 03 16:48:35 Can just quote from my local repo ;) Oct 03 16:48:41 let's see Oct 03 16:49:07 Just when testing hammerhead location service didn't work. Got TLS error for GeoClue which was due to date/time Oct 03 16:49:13 Which didn't want to update properly ;) Oct 03 16:49:17 Hence I ran into this Oct 03 16:52:21 it seems to be brand new OSE code, wasn't there in HP's code Oct 03 16:53:12 Do we actually provide timedated ? Oct 03 16:54:16 mmmh we don't... all this isn't consistent... Oct 03 16:54:38 Not sure, local OSE image I have here (dated June) doesn't have the binary either Oct 03 16:54:58 So might bug in OSE as well Oct 03 16:55:00 maybe we have another daemon that does the same Oct 03 16:55:26 hey, I do have /usr/bin/timedatectl in pinephone's image Oct 03 16:56:26 Interesting Oct 03 16:57:19 oh, sorry, my mistake Oct 03 16:59:20 no I don't see any obvious time sync Oct 03 16:59:47 but we probably have one I think Oct 03 17:10:30 Well luna-sysservice clearly expects the binary ;) Oct 03 17:10:44 So we'd need to provide it somehow and probably PR upstream ;) Oct 03 17:11:17 yep Oct 03 17:34:57 Based on https://wiki.archlinux.org/index.php/systemd-timesyncd I would say we'd need timesyncd Oct 03 17:39:39 let's reenable it then Oct 03 17:41:02 I'll do some tests in a bit Oct 03 17:41:16 First children bed time ;) Oct 03 17:41:26 I can prepare the PR Oct 03 17:42:25 oh... it means rebuilding everything... Oct 03 17:43:24 ah no I can also just rebuild systemd and look at package content Oct 03 17:47:30 https://github.com/webOS-ports/meta-webos-ports/pull/396 here it is Oct 03 17:51:56 Tofe: Thnx, is it tested :p ? Oct 03 17:52:11 nope! Oct 03 17:52:14 Was doing a clean build locally for Hammerhead now ;) Oct 03 17:52:20 With the same change Oct 03 17:52:53 I have issues with wifi on the pinephone (can't connect to my home's WPA2 network...), so I'm not what would be the test Oct 03 17:53:12 Tofe: Well Wifi is picky for me too Oct 03 17:53:19 There must be some small config issue somewhere Oct 03 17:53:21 but, I checked that we do get timedatectl Oct 03 17:53:42 In FirstUse it's OK but the QML app doesn't always show me the password prompt etc Oct 03 17:56:10 Tofe: What kind of WPA2 you have? Oct 03 17:56:16 personal? or enterprise? Oct 03 17:56:45 I have wpa2-personal with AES Oct 03 17:57:53 wpa2-psk/aes Oct 03 17:58:33 OK QtBase is recompiling here, so webengine will follow ;) Oct 03 19:56:14 Tofe: Can confirm I have it in my newly build image too now Oct 03 19:58:19 good :) Oct 03 20:05:01 Merged the PR and sent upstream as well Oct 03 20:06:27 great ! thanks Oct 03 20:07:24 Let's put Jenkins to work too ;) Oct 03 20:08:17 hehe Oct 03 20:38:16 Anyway bedtime here ;) Gn8 **** ENDING LOGGING AT Fri Oct 04 03:02:52 2019