From: Jacek Konieczny <jajcus@jajcus.net>
To: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>
Cc: xen-devel@lists.xenproject.org,
"Jan Rękorajski" <baggins@pld-linux.org>,
"Ian Jackson" <ian.jackson@eu.citrix.com>,
"Ian Campbell" <ian.campbell@citrix.com>,
"Stefano Stabellini" <stefano.stabellini@eu.citrix.com>
Subject: Re: [PATCH] systemd: add support initial systemd service files
Date: Wed, 12 Mar 2014 10:07:11 +0100 [thread overview]
Message-ID: <532023BF.4020807@jajcus.net> (raw)
In-Reply-To: <CAB=NE6U1p5gtW6o=0MjauxzFwpC0XCAph1DTsWsXXQ_8AU9NQQ@mail.gmail.com>
On 03/12/14 09:35, Luis R. Rodriguez wrote:
> On Wed, Mar 12, 2014 at 1:16 AM, Jacek Konieczny <jajcus@jajcus.net> wrote:
>> On 03/12/14 01:03, Luis R. Rodriguez wrote:
>>> From: "Luis R. Rodriguez" <mcgrof@suse.com>
>>>
>>> I've tested these on an OpenSUSE Tumbleweed source install.
>>> They are based on the ones from OpenSUSE but slightly modified.
>>
>> These seems quite wrong to me. Why create systemd services, while they
>> are only wrappers to the old-style LSB scripts? What do we gain?
>
> Huh? LSB? Systemd is here to stay. I don't see what you are trying to
> say with LSB stuff.
I just didn't want to abuse the 'System V init' term for these:
https://refspecs.linuxfoundation.org/LSB_2.1.0/LSB-generic/LSB-generic/iniscrptact.html
(System V init only uses /etc/inittab, the 'init.d' scripts are later
invention)
>> Systemd provides great process control and monitoring, but it can only
>> do that if it starts the process by itself – it knows the main PID then,
>> knows if the service is running, etc.
>
> Now that sounds like a reasonable constructive argument to NACK a
> patch, can you provide pointers to one service file that does that
> properly as you are suggesting?
This is what we have inPLD Linux (currently for Xen 4.3.2), probably
based on work from some other distro (Fedora, I guess):
https://github.com/pld-linux/xen/blob/master/xen-watchdog.service
https://github.com/pld-linux/xen/blob/master/xenconsoled.service
https://github.com/pld-linux/xen/blob/master/xendomains.service
https://github.com/pld-linux/xen/blob/master/xenstored.service
It may be not perfect, nor ready for inclusion in the upstream Xen,
but I think this is the way to go. They may also need updates for
current Xen.
> Seems like you can provide a much better set of suitable scripts, mind
> just taking them and fixing them or would you like me to take your
> advice steps by step?
Feel free to take those scripts. Unfortunately, I won't be able to
prepare a ready patch for Xen by myself.
Cc: Jan Rękorajski, who committed the first version of our systemd units.
Greets,
Jacek
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2014-03-12 9:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 0:03 [PATCH] systemd: add support initial systemd service files Luis R. Rodriguez
2014-03-12 8:16 ` Jacek Konieczny
2014-03-12 8:35 ` Luis R. Rodriguez
2014-03-12 9:07 ` Jacek Konieczny [this message]
2014-03-12 9:19 ` Luis R. Rodriguez
2014-03-12 11:24 ` Jan Rękorajski
2014-03-12 11:22 ` Ian Campbell
2014-03-12 19:44 ` M A Young
2014-03-12 23:43 ` Luis R. Rodriguez
2014-03-13 0:37 ` M A Young
2014-03-12 23:53 ` Luis R. Rodriguez
2014-03-13 0:01 ` M A Young
2014-03-13 0:06 ` Luis R. Rodriguez
2014-03-13 8:03 ` Jacek Konieczny
2014-03-13 9:52 ` Ian Campbell
2014-03-13 9:55 ` Jacek Konieczny
2014-03-12 11:14 ` Ian Jackson
2014-03-12 11:25 ` Ian Campbell
2014-03-12 11:42 ` Andrew Cooper
2014-03-12 18:35 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=532023BF.4020807@jajcus.net \
--to=jajcus@jajcus.net \
--cc=baggins@pld-linux.org \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=mcgrof@do-not-panic.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.