zyga / snapd-gentoo

Gentoo packaging for snapd
2 stars 0 forks source link

snapd.refresh.timer fails with Unknown lvalue 'RandomizedDelaySec' in section 'Timer' #1

Closed zyga closed 8 years ago

zyga commented 8 years ago

I've noticed that on my system this unit doesn't start correctly:

cze 14 16:07:51 gentoo systemd[1]: [/usr/lib64/systemd/system/snapd.refresh.timer:6] Unknown lvalue 'RandomizedDelaySec' in section 'Timer'

The full unit looks like this:

zyga@gentoo /usr/local/portage/sys-apps/snapd $ cat /usr/lib64/systemd/system/snapd.refresh.timer
[Unit]
Description=Timer to automatically refresh installed snaps

[Timer]
OnCalendar=23,05,11,17:00
RandomizedDelaySec=6h
AccuracySec=10min
Persistent=true

[Install]
WantedBy=multi-user.target

It seems that systemd is choking on RandomizedDelaySec=6h part.

zyga commented 8 years ago

I've worked around it for now with 8eac7cddc5d49359d083158d2348147a3f39aa72