All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
Cc: Norbert Lange <nolange79@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 2/2] docs/manual: add integration section for systemd with dbus
Date: Fri, 29 Jul 2022 22:51:18 +0200	[thread overview]
Message-ID: <20220729205118.GD1554632@scaer> (raw)
In-Reply-To: <20220727221217.1072588-2-arnout@mind.be>

Arnout, All,

On 2022-07-28 00:12 +0200, Arnout Vandecappelle (Essensium/Mind) spake thusly:
> Add a section to the "Integration topics" chapter about how we integrate
> systemd. Add a first subsection about how dbus and dbus-broker work with
> systemd.
> 
> This is just the start of the integration information about systemd.

Thanks!

> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  docs/manual/integration-systemd.txt | 27 +++++++++++++++++++++++++++
>  docs/manual/integration.txt         |  2 ++
>  2 files changed, 29 insertions(+)
>  create mode 100644 docs/manual/integration-systemd.txt
> 
> diff --git a/docs/manual/integration-systemd.txt b/docs/manual/integration-systemd.txt
> new file mode 100644
> index 0000000000..44248b43ff
> --- /dev/null
> +++ b/docs/manual/integration-systemd.txt
> @@ -0,0 +1,27 @@
> +// -*- mode:doc; -*-
> +// vim: set syntax=asciidoc:
> +
> +[[integration-systemd]]
> +=== Systemd
> +
> +This chapter describes the decisions taken in Buildroot's integration of
> +systemd, and how various use cases can be implemented.
> +
> +==== DBus daemon
> +
> +Systemd requires a DBus daemon. There are two options for it: traditional dbus
> +(+BR2_PACKAGE_DBUS+) and bus1 dbus-broker (+BR2_PACKAGE_DBUS_BROKER+). At
> +least one of them must be chosen. If both are included in the configuration,
> +dbus-broker will be used as system bus, but the traditional dbus-daemon is
> +still installed as well and can be used as session bus. Also its tools (e.g.
> ++dbus-send+) can be used (systemd itself has +busctl+ as an alternative). In
> +addition, the traditional dbus package is the only one that provides +libdbus+,
> +which is used by many packages as dbus integration library.
> +
> +Both in the dbus and in the dbus-broker case, the daemon runs as user +dbus+.
> +The DBus configuration files are also identical for both.
> +
> +To make sure that only one of the two daemons is started as system bus, the
> +systemd activation files of the dbus package (+dbus.socket+ and the
> ++dbus.service+ symlink in +multi-user.target.wants+) are removed when
> +dbus-broker is selected.
> diff --git a/docs/manual/integration.txt b/docs/manual/integration.txt
> index bdfbfa59de..be56bf6567 100644
> --- a/docs/manual/integration.txt
> +++ b/docs/manual/integration.txt
> @@ -9,4 +9,6 @@ level. Buildroot is highly configurable, almost everything discussed
>  here can be changed or overridden by xref:rootfs-custom[rootfs overlay
>  or custom skeleton] configuration.
>  
> +include::integration-systemd.txt[]
> +
>  include::integration-selinux-support.txt[]
> -- 
> 2.35.3
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-07-29 20:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27 22:12 [Buildroot] [PATCH 1/2] docs/manual: introduce "Integration topics" chapter Arnout Vandecappelle (Essensium/Mind)
2022-07-27 22:12 ` [Buildroot] [PATCH 2/2] docs/manual: add integration section for systemd with dbus Arnout Vandecappelle (Essensium/Mind)
2022-07-29 20:51   ` Yann E. MORIN [this message]
2022-07-28  7:54 ` [Buildroot] [PATCH 1/2] docs/manual: introduce "Integration topics" chapter Edgar Bonet
2022-07-29 20:49   ` Yann E. MORIN
2022-07-29 20:50 ` Yann E. MORIN

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=20220729205118.GD1554632@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=nolange79@gmail.com \
    /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.