[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Systemd support in Debian packages: how to help

Hi Lucas,

thanks for your input!

Am 16.07.2013 14:50, schrieb Lucas Nussbaum:
> Hi,
> On 15/07/13 at 21:39 +0200, Michael Stapelberg wrote:
>> Hi,
>> I am sorry for starting yet another thread on systemd, but we feel this
>> particular post is important and should spread as widely as possible
>> (i.e. beyond just readers of planet debian):
>> http://people.debian.org/~stapelberg/2013/07/14/systemd-how-to-help.html
>> tl;dr: whatever you end up doing, please coordinate with us first!
> I decided to give it a try, and to create a service file for a small
> package I maintain (marionnet). Here is some feedback:
> 1) booting with systemd.
> It failed at first, because I was mounting the cgroup virtual fs under
> /cgroup for some reason. The error message was not so obvious. I'm not
> sure if it's a common problem. If it is, it might be worth checking for
> that before it's too late.

Did you have that mount point in /etc/fstab or was it another package
which setup the cgroupfs mount point at /cgroup?
That directory is long deprecated and shouldn't be used anymore.
If there is still software using that, it would be good to file bugs.

> 2) creating a service file. 
> http://wiki.debian.org/Systemd/Packaging points to
> http://www.freedesktop.org/software/systemd/man/systemd.service.html,
> but that manpage does not include any example. It would be nice to
> provide a couple of very basic service files. Or a skeleton one, with
> comments.

Good idea. We'll try to add a couple of simple examples to the wiki for
typical use cases.
If you have further ideas, how we can improve the documentation, please
let us [2] know.

> All in all, it was easier than I expected.

> Is there a way to list services installed on my system that are managed
> via service files, vs those that are managed using legacy init scripts?
> I'm thinking of something like rc-alert or wnpp-alert.

There isn't atm. We do have a dashboard [1] which we use to coordinate
our work and monitor progress.
Such an *-alert tool should be rather simple though. Do you have any
suggestion for the name and which package it should be added to?
We could even make it check the bts, to see if a package is being worked
on already. We try to properly user tag [3] every bug, so that shouldn't
be too hard.


[1] http://people.debian.org/~stapelberg/dashboard/
[2] mailto:pkg-systemd-maintainers@lists.alioth.debian.org

Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: