The officially official Devuan Forum!

You are not logged in.

#1 2021-11-05 01:43:25

juuu2
Member
Registered: 2021-11-05
Posts: 2  

[SOLVED] devuan 4 mate, time and date manager error

hello i'm new to devuan.
i freshly installed devuan on my laptop and i get this error in time and date manager.

devuan 4 chimaera netinstall, mate desktop 1.24.1

FluxBB bbcode test

Offline

#2 2021-11-05 13:17:30

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: [SOLVED] devuan 4 mate, time and date manager error

Hello. Install ntp package

apt install ntp

Then this message should disappear.

Last edited by Ogis1975 (2021-11-05 13:17:44)


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#3 2021-11-05 22:06:27

juuu2
Member
Registered: 2021-11-05
Posts: 2  

Re: [SOLVED] devuan 4 mate, time and date manager error

no, it is still there.

Offline

#4 2021-11-06 09:10:33

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] devuan 4 mate, time and date manager error

The org.freedesktop.timedate1 service is provided by systemd:

$ apt-file search org.freedesktop.timedate1                                                 
systemd: /lib/systemd/system/dbus-org.freedesktop.timedate1.service
systemd: /usr/share/dbus-1/system-services/org.freedesktop.timedate1.service
systemd: /usr/share/dbus-1/system.d/org.freedesktop.timedate1.conf
systemd: /usr/share/man/man5/org.freedesktop.timedate1.5.gz
systemd: /usr/share/polkit-1/actions/org.freedesktop.timedate1.policy
$

@OP, you may be SOL with this one...

EDIT: here's the unit file:

[Unit]
Description=Time & Date Service
Documentation=man:systemd-timedated.service(8)
Documentation=man:localtime(5)
Documentation=man:org.freedesktop.timedate1(5)

[Service]
BusName=org.freedesktop.timedate1
CapabilityBoundingSet=CAP_SYS_TIME
DeviceAllow=char-rtc r
ExecStart=/lib/systemd/systemd-timedated
IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
ProtectProc=invisible
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
ProtectSystem=strict
ReadWritePaths=/etc
RestrictAddressFamilies=AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service @clock
WatchdogSec=3min

It's a dbus service running a systemd binary with extensive sandboxing and hardening. I don't think this can be replicated with sysvinit. Hopefully I'm wrong.

EDIT: Alpine use openrc-settingsd to provide a dbus interface with OpenRC so you might be able to package that for Devuan and get it working with MATE. You'll have to switch to OpenRC as the service manager but it's better than sysvinit anyway (IMO).

Last edited by Head_on_a_Stick (2021-11-06 10:57:03)


Brianna Ghey — Rest In Power

Offline

Board footer