You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently installed localtime through AUR, but I just can't get it to work. I've looked at both the comments on the AUR website and the github issues.
When starting the systemd service, it fails after a couple of seconds, same as mentioned in #6:
Failed to start GeoClue2 Client: 'localtimed' disallowed, no agent for UID xxx
According to the documentation at https://stebalien.com/projects/localtime/, the required user should be created automatically by systemd-sysusers.service, but neither the AUR package, nor the repository Makefile install the required systemd config $PREFIX/lib/sysusers.d/localtime.conf as mentioned here. Because of that, I ran make install-user, which did create a system user and group, changing the UID reported in the systemd logs. Didn't solve the issue though.
Then I tried updating the geoclue config, based on what else I read in #6, but nothing I tried got it to work.
Question 1: is (manually) creating the system user still required? Wondering, since the systemd unit file says to dynamically create a user:
I've pushed a patch that will auto start the demo agent if it isn't running. Unfortunately, upstream is Gnome which tends to be pretty hostile to anyone that's not "gnome".
Hi,
I recently installed localtime through AUR, but I just can't get it to work. I've looked at both the comments on the AUR website and the github issues.
When starting the systemd service, it fails after a couple of seconds, same as mentioned in #6:
According to the documentation at https://stebalien.com/projects/localtime/, the required user should be created automatically by
systemd-sysusers.service
, but neither the AUR package, nor the repository Makefile install the required systemd config$PREFIX/lib/sysusers.d/localtime.conf
as mentioned here. Because of that, I ranmake install-user
, which did create a system user and group, changing the UID reported in the systemd logs. Didn't solve the issue though.Then I tried updating the geoclue config, based on what else I read in #6, but nothing I tried got it to work.
Question 1: is (manually) creating the system user still required? Wondering, since the systemd unit file says to dynamically create a user:
localtime/localtime.service.in
Lines 5 to 7 in 541590b
Question 2: what manual configuration of geoclue is required for it to work? Is it at all possible to use localtime with geoclue these days?
The text was updated successfully, but these errors were encountered: