Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708614 - net-misc/linuxptp: add systemd unit for timemaster
Summary: net-misc/linuxptp: add systemd unit for timemaster
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-07 13:20 UTC by Marek Szuba (RETIRED)
Modified: 2020-07-02 15:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
timemaster.service (timemaster.service,234 bytes, text/x-dbus-service)
2020-02-07 13:20 UTC, Marek Szuba (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba (RETIRED) archtester gentoo-dev 2020-02-07 13:20:13 UTC
Created attachment 612408 [details]
timemaster.service

As it stands, net-misc/linuxptp is of rather limited usefulness in Gentoo because it offers neither OpenRC scripts nor systemd units. Someone who uses OpenRC will have to take care of the former but I am happy to offer my version of timemaster.service. This is arguably the most useful service to have for linuxptp because timemaster automatically brings up ptp4l, phc2sys and chronyd/ntpd with appropriately integrated configuration.
Comment 1 Larry the Git Cow gentoo-dev 2020-07-02 15:01:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3feaa11fd12f8d7b1caa99004ad1607e0e42985

commit f3feaa11fd12f8d7b1caa99004ad1607e0e42985
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-07-02 14:58:46 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-07-02 14:58:46 +0000

    net-misc/linuxptp: add systemd unit for timemaster
    
    Invoking maintainer time-out.
    
    Closes: https://bugs.gentoo.org/708614
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 net-misc/linuxptp/files/timemaster.service                   | 12 ++++++++++++
 .../linuxptp/{linuxptp-2.0.ebuild => linuxptp-2.0-r1.ebuild} |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)