All of lore.kernel.org
 help / color / mirror / Atom feed
From: Norbert Lange <nolange79@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/10] package/systemd: remove unused user accounts
Date: Fri, 7 Feb 2020 13:41:10 +0100	[thread overview]
Message-ID: <CADYdroPy+s9pAoSbB_oqMprHJhzKqnF-0iu-sxuLCXsRM--yog@mail.gmail.com> (raw)
In-Reply-To: <CAFvCimVgTb8XcC4fnR3NQLHa6dhv0b=9JyU_CVjHB_n=9ryAwQ@mail.gmail.com>

Sure, but that could get tricky is you dont enable sysuser.d on the target,
then you would need to grab the files from the host installation and use
similar build-options as the target.

Some smart infrastructure work would be needed to not complicate things
between non-system, systemd with option x disabled,
and full systemd.

Am Fr., 7. Feb. 2020 um 10:11 Uhr schrieb J?r?my ROSEN <
jeremy.rosen@smile.fr>:

> Yes...
> Long term we should use systems-sysuser for that, so upstream trickles
> down automatically
>
> in the mean time,
>
> Reviewed-by: J?r?my Rosen <jeremy.rosen@smile.fr>
>
>
> Le jeu. 6 f?vr. 2020 ? 10:37, Norbert Lange <nolange79@gmail.com> a
> ?crit :
>
>> Since V235 the "gateway" and "upload" services use DynamicUsers,
>> requiring no entries in /etc/passwd.
>> This functionality requires option nss-systemd, which is always
>> enabled in buildroot.
>>
>> The "bus-proxy" user was removed in V230
>>
>> Signed-off-by: Norbert Lange <nolange79@gmail.com>
>> ---
>>  package/systemd/systemd.mk | 3 ---
>>  1 file changed, 3 deletions(-)
>>
>> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
>> index a390cdd1a9..b46c4fd540 100644
>> --- a/package/systemd/systemd.mk
>> +++ b/package/systemd/systemd.mk
>> @@ -431,10 +431,7 @@ define SYSTEMD_USERS
>>         - - systemd-journal -1 * - - - Journal
>>         - - render -1 * - - - DRI rendering nodes
>>         - - kvm -1 * - - - kvm nodes
>> -       systemd-bus-proxy -1 systemd-bus-proxy -1 * - - - Proxy D-Bus
>> messages to/from a bus
>> -       systemd-journal-gateway -1 systemd-journal-gateway -1 *
>> /var/log/journal - - Journal Gateway
>>         systemd-journal-remote -1 systemd-journal-remote -1 *
>> /var/log/journal/remote - - Journal Remote
>> -       systemd-journal-upload -1 systemd-journal-upload -1 * - - -
>> Journal Upload
>>         $(SYSTEMD_COREDUMP_USER)
>>         $(SYSTEMD_NETWORKD_USER)
>>         $(SYSTEMD_RESOLVED_USER)
>> --
>> 2.24.1
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>
>
> --
> [image: SMILE]  <http://www.smile.eu/>
>
> 20 rue des Jardins
> 92600 Asni?res-sur-Seine
> *J?r?my ROSEN*
> Architecte technique
>
> [image: email] jeremy.rosen at smile.fr
> [image: phone]  +33 6 88 25 87 42
> [image: url] http://www.smile.eu
>
> [image: Twitter] <https://twitter.com/GroupeSmile> [image: Facebook]
> <https://www.facebook.com/smileopensource> [image: LinkedIn]
> <https://www.linkedin.com/company/smile> [image: Github]
> <https://github.com/Smile-SA>
>
> [image: D?couvrez l?univers Smile, rendez-vous sur smile.eu]
> <https://www.smile.eu/fr/publications/livres-blancs/yocto?utm_source=signature&utm_medium=email&utm_campaign=signature>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200207/e674c793/attachment.html>

  reply	other threads:[~2020-02-07 12:41 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06  9:36 [Buildroot] [PATCH 00/10] Improvements to systemd Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 01/10] package/systemd: move preset-all HOOK to fakeroot stage Norbert Lange
2020-06-07 11:09   ` Jérémy ROSEN
2020-06-07 11:46     ` Yann E. MORIN
2020-06-07 12:07       ` Jérémy ROSEN
2020-06-07 11:47   ` Yann E. MORIN
2020-02-06  9:36 ` [Buildroot] [PATCH 02/10] package/systemd: add libnss-systemd to name resolution Norbert Lange
2020-06-07 11:10   ` Jérémy ROSEN
2020-06-07 11:40   ` Yann E. MORIN
2020-06-07 19:35     ` Norbert Lange
2020-06-08 10:09       ` Jérémy ROSEN
2020-06-08 10:38         ` Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 03/10] package/systemd: remove unused user accounts Norbert Lange
2020-02-07  9:11   ` Jérémy ROSEN
2020-02-07 12:41     ` Norbert Lange [this message]
2020-02-07 12:43       ` Jérémy ROSEN
2020-02-07 12:52         ` Norbert Lange
2020-02-07 12:57           ` Jérémy ROSEN
2020-02-07 13:07             ` Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 04/10] package/systemd: create "remote" user if the feature is enabled Norbert Lange
2020-02-07  9:11   ` Jérémy ROSEN
2020-02-06  9:36 ` [Buildroot] [PATCH 05/10] package/systemd: cosmetic rearrange list of users Norbert Lange
2020-02-07  9:13   ` Jérémy ROSEN
2020-02-07 12:47     ` Norbert Lange
2020-02-07 12:53       ` Jérémy ROSEN
2020-02-07 12:59         ` Norbert Lange
2020-02-07 13:07           ` Jérémy ROSEN
2020-02-07 13:11             ` Norbert Lange
2020-02-07 13:22               ` Jérémy ROSEN
2020-02-07 13:32                 ` Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 06/10] package/systemd: sync user comments to upstream Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 07/10] Makefile: Handle systemd catalogs in PURGE_LOCALES Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 08/10] package/systemd: add hook to update journalctl catalogs Norbert Lange
2020-06-07 11:14   ` Jérémy ROSEN
2020-06-07 15:56   ` Yann E. MORIN
2020-06-07 20:05     ` Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 09/10] package/systemd: option to delete all catalog files Norbert Lange
2020-02-06  9:36 ` [Buildroot] [PATCH 10/10] package/systemd: invoke systemd-tmpfilesd on final image Norbert Lange
2020-06-07 11:15   ` Jérémy ROSEN
2020-06-07 19:26     ` Norbert Lange

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=CADYdroPy+s9pAoSbB_oqMprHJhzKqnF-0iu-sxuLCXsRM--yog@mail.gmail.com \
    --to=nolange79@gmail.com \
    --cc=buildroot@busybox.net \
    /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.