Skip to content

Remove timed #332

@FlorentRevest

Description

@FlorentRevest

We've been talking for a while about removing timed to simplify our daemons stack significantly. I've given this a stab and have a proof of concept already but it's scattered in various places so I'd like to share the high level plan here so we can more easily track progress on the subtasks.

From a high level perspective, we only use timed to:

  • change the system time and timezone. this can be done by systemd timedatectl instead
  • schedule wake up events. this can either be done directly with timerfds if the caller process stays alive or with systemd timers if the caller process may die

In practice we would need to:

  • modify asteroid-btsyncd to use systemd rather than timed when syncing time
  • modify asteroid-launcher to use systemd timers to schedule snoozed notifications
  • modify lipstick to use timerfd instead of timed to schedule aod refreshes
  • modify mkcal to use systemd timers rather than timed in TIMED_SUPPORT
  • modify nemo-qml-plugin-alarms to use systemd timers rather than timed to schedule alarms
  • modify nemo-qml-plugin-systemsettings to use systemd to retrieve time, timezone and date
  • modify nemo-qml-plugin-time to use systemd to retrieve the time and timezone
  • modify meta-asteroid to remove dependencies on timed and to install tzdata instead of timed-tzdata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions