Bug796588#: adjtimex: Has init script in runlevel S but no matching service file

Roger Shimizu rogershimizu at gmail.com
Sat Nov 28 14:12:38 GMT 2015


Dear systemd maintainers,

I'm in the process of ITA adjtimex package, which contains a bug you
reported that need to support rcS service. I'm trying to fix this
before send out my 1st release to close ITA.

> Package: adjtimex
> Severity: important
> User: pkg-systemd-maintainers at lists.alioth.debian.org
> Usertags: init-rcs-service
> Your package adjtimex has an initscript that is enabled in runlevel
> S, but it does not provide a corresponding systemd service unit.

As you may already know, adjtimex is a tool to set up kernel time
variables in boot time. Correct time and time ticking is important to
many services, including time-sync service, so in SysV world adjtimex
is run in rcS level, which is very early.

Enclosed the "adjtimex.service" file I wrote and confirmed working
well on my box.
Since this is the first time I write service file, it would be helpful
if you can help to review it.

I also have one doubt whether to have "RemainAfterExit=yes", which is
commented out now.
After setting the kernel time variables, adjtimex simply exits and
don't need to remain as daemon. I guess it should be okay to be "no".

Looking forward to your reply. Thank you!

Cheers,
Roger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adjtimex.service
Type: application/octet-stream
Size: 372 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20151128/68d50368/attachment.obj>


More information about the Pkg-systemd-maintainers mailing list