Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550664 - net-misc/ntp: add s6 support
Summary: net-misc/ntp: add s6 support
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-28 17:10 UTC by William Hubbs
Modified: 2015-07-06 15:49 UTC (History)
0 users

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


Attachments
ebuild.patch (ebuild.patch,972 bytes, patch)
2015-05-28 17:11 UTC, William Hubbs
Details | Diff
run-s6 (run-s6,39 bytes, text/plain)
2015-05-28 17:13 UTC, William Hubbs
Details
ntpd-s6.rc (ntpd-s6.rc,550 bytes, text/plain)
2015-05-28 17:14 UTC, William Hubbs
Details
run-s6 (run-s6,49 bytes, text/plain)
2015-05-28 20:18 UTC, William Hubbs
Details
ebuild.patch (ebuild.patch,873 bytes, patch)
2015-06-02 21:56 UTC, William Hubbs
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2015-05-28 17:10:47 UTC
Here are the patches for ntp that add support for s6 supervision.
This support only comes into play with >=sys-apps/openrc-0.16.3, but I
didn't add an rdepend for that because the support is optional depending
on whether you add the init script to the runlevel that uses it.
I'll attach the ebuild diff and the other files here.
Comment 1 William Hubbs gentoo-dev 2015-05-28 17:11:26 UTC
Created attachment 404192 [details, diff]
ebuild.patch

This is the ebuild changes.
Comment 2 William Hubbs gentoo-dev 2015-05-28 17:13:32 UTC
Created attachment 404194 [details]
run-s6

This is the run script for the s6 service.
Comment 3 William Hubbs gentoo-dev 2015-05-28 17:14:37 UTC
Created attachment 404196 [details]
ntpd-s6.rc

This is the new init script for s6 support.
Comment 4 William Hubbs gentoo-dev 2015-05-28 20:18:01 UTC
Created attachment 404220 [details]
run-s6

Updated run script; we need to redirect stderr to stdout.
Comment 5 William Hubbs gentoo-dev 2015-06-02 21:56:02 UTC
Created attachment 404490 [details, diff]
ebuild.patch

This adds support for s6 via the s6 eclass that was just added to the tree.
Comment 6 SpanKY gentoo-dev 2015-07-06 15:48:56 UTC
Comment on attachment 404220 [details]
run-s6

there's no reason to use sep exec lines.  merge these two into one.