need new interface: system-time-control

Bug #1616834 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Wishlist
Unassigned

Bug Description

Some applications like the ntp implementation I just tried to snap will need certain syscalls and capabilties to get and adjust time. Those will be:

List of systemcalls as SCMP_SYS defines for seccomp:
- adjtimex
- clock_gettime
- clock_settime
- getitimer
- setitimer

List of Capabilities needed:
- CAP_SYS_RESOURCE (allow more than 64hz interrupts from the real-time clock;)
- CAP_SYS_TIME (for adjtimex and such)

tags: added: snapd-interface
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thanks for the bug report. I think this should be named 'system-time-control' to follow our naming conventions. Are you planning on proposing a PR to snapd to implement this?

summary: - need new interface: time-adjust
+ need new interface: system-time-control
Changed in snappy:
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I'm good with the name, didn't know about the guideline but looking at the others it makes sense.

I would have tried a PR, but recently I've had a few higher prio things incoming so for now I 'd have to hope and rely on you and the other snapsperts.

Changed in snappy:
importance: Undecided → Wishlist
Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.