All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats
@ 2022-01-10 13:16 Arnout Vandecappelle (Essensium/Mind)
  2022-01-10 16:35 ` Baruch Siach via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Arnout Vandecappelle (Essensium/Mind) @ 2022-01-10 13:16 UTC (permalink / raw)
  To: buildroot
  Cc: Jérémy ROSEN, Norbert Lange, James Hilliard, Adam Duskett

Bumping the version of systemd is a little more complicated than the
usual package, and it's easy to forget some of the things that need to
be done - and this has happened several times in the past.

Add a checklist of things to worry about when updating systemd.

Note that there are many other complicated packages that also need a lot
of attention when upgrading. However, systemd is a really critical
package so it's more important that we get that one right than, say,
valgrind.

Cc: Norbert Lange <nolange79@gmail.com>
Cc: Jérémy ROSEN <jeremy.rosen@smile.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/systemd/systemd.mk | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 3811dbae42..4d82d2ab81 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -4,6 +4,18 @@
 #
 ################################################################################
 
+# When updating systemd, take care of the following:
+# - Check if the requirements have changed (see README), in particular
+#   arch and headers
+# - If yes, propagate the dependencies to BR2_INIT_SYSTEMD
+# - If the required kernel options have changed, update the Config.in
+#   help text and the list of KCONFIG_ENABLE_OPT.
+# - Check if there are new meson_options. Make sure all options are set
+#   explicitly (usually to default value).
+# - If there are new services:
+#   - create new options for them (if they really are optional);
+#   - create a new _USER if necessary;
+#   - create new directionry (with _PERMISSIONS) if necessary.
 SYSTEMD_VERSION = 250.1
 SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION))
 SYSTEMD_LICENSE = \
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats
  2022-01-10 13:16 [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats Arnout Vandecappelle (Essensium/Mind)
@ 2022-01-10 16:35 ` Baruch Siach via buildroot
  2022-01-10 17:25 ` Norbert Lange
  2022-01-13 20:40 ` Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Baruch Siach via buildroot @ 2022-01-10 16:35 UTC (permalink / raw)
  To: Arnout Vandecappelle (Essensium/Mind)
  Cc: Norbert Lange, Jérémy ROSEN, James Hilliard,
	Adam Duskett, buildroot

Hi Arnout,

On Mon, Jan 10 2022, Arnout Vandecappelle (Essensium/Mind) wrote:
> Bumping the version of systemd is a little more complicated than the
> usual package, and it's easy to forget some of the things that need to
> be done - and this has happened several times in the past.
>
> Add a checklist of things to worry about when updating systemd.
>
> Note that there are many other complicated packages that also need a lot
> of attention when upgrading. However, systemd is a really critical
> package so it's more important that we get that one right than, say,
> valgrind.
>
> Cc: Norbert Lange <nolange79@gmail.com>
> Cc: Jérémy ROSEN <jeremy.rosen@smile.fr>
> Cc: Adam Duskett <aduskett@gmail.com>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/systemd/systemd.mk | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 3811dbae42..4d82d2ab81 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -4,6 +4,18 @@
>  #
>  ################################################################################
>  
> +# When updating systemd, take care of the following:
> +# - Check if the requirements have changed (see README), in particular
> +#   arch and headers
> +# - If yes, propagate the dependencies to BR2_INIT_SYSTEMD
> +# - If the required kernel options have changed, update the Config.in
> +#   help text and the list of KCONFIG_ENABLE_OPT.
> +# - Check if there are new meson_options. Make sure all options are set
> +#   explicitly (usually to default value).
> +# - If there are new services:
> +#   - create new options for them (if they really are optional);
> +#   - create a new _USER if necessary;
> +#   - create new directionry (with _PERMISSIONS) if necessary.

s/directionry/directory/

baruch

>  SYSTEMD_VERSION = 250.1
>  SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION))
>  SYSTEMD_LICENSE = \


-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats
  2022-01-10 13:16 [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats Arnout Vandecappelle (Essensium/Mind)
  2022-01-10 16:35 ` Baruch Siach via buildroot
@ 2022-01-10 17:25 ` Norbert Lange
  2022-01-12 13:02   ` Arnout Vandecappelle
  2022-01-13 20:40 ` Thomas Petazzoni
  2 siblings, 1 reply; 5+ messages in thread
From: Norbert Lange @ 2022-01-10 17:25 UTC (permalink / raw)
  To: Arnout Vandecappelle (Essensium/Mind)
  Cc: James Hilliard, Jérémy ROSEN, Adam Duskett, buildroot

Hello,

Am Mo., 10. Jan. 2022 um 14:16 Uhr schrieb Arnout Vandecappelle
(Essensium/Mind) <arnout@mind.be>:
>
> Bumping the version of systemd is a little more complicated than the
> usual package, and it's easy to forget some of the things that need to
> be done - and this has happened several times in the past.
>
> Add a checklist of things to worry about when updating systemd.
>
> Note that there are many other complicated packages that also need a lot
> of attention when upgrading. However, systemd is a really critical
> package so it's more important that we get that one right than, say,
> valgrind.
>
> Cc: Norbert Lange <nolange79@gmail.com>
> Cc: Jérémy ROSEN <jeremy.rosen@smile.fr>
> Cc: Adam Duskett <aduskett@gmail.com>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/systemd/systemd.mk | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
> index 3811dbae42..4d82d2ab81 100644
> --- a/package/systemd/systemd.mk
> +++ b/package/systemd/systemd.mk
> @@ -4,6 +4,18 @@
>  #
>  ################################################################################
>
> +# When updating systemd, take care of the following:
> +# - Check if the requirements have changed (see README), in particular
> +#   arch and headers
> +# - If yes, propagate the dependencies to BR2_INIT_SYSTEMD
> +# - If the required kernel options have changed, update the Config.in
> +#   help text and the list of KCONFIG_ENABLE_OPT.
> +# - Check if there are new meson_options. Make sure all options are set
> +#   explicitly (usually to default value).
> +# - If there are new services:
> +#   - create new options for them (if they really are optional);
> +#   - create a new _USER if necessary;
> +#   - create new directionry (with _PERMISSIONS) if necessary.
>  SYSTEMD_VERSION = 250.1
>  SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION))
>  SYSTEMD_LICENSE = \
> --
> 2.31.1
>

I wouldd add these:

#   -  diff sysusers.d with the previous version
#   -  diff factory/etc/nsswitch.conf with the previous version
#      (details are often sprinkled around in README and manpages)

and, somewhat more cynical:

#   -  dont bother with x.0 versions

Norbert
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats
  2022-01-10 17:25 ` Norbert Lange
@ 2022-01-12 13:02   ` Arnout Vandecappelle
  0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2022-01-12 13:02 UTC (permalink / raw)
  To: Norbert Lange
  Cc: James Hilliard, Jérémy ROSEN, Adam Duskett, buildroot



On 10/01/2022 18:25, Norbert Lange wrote:
> Hello,
> 
> Am Mo., 10. Jan. 2022 um 14:16 Uhr schrieb Arnout Vandecappelle
> (Essensium/Mind) <arnout@mind.be>:
>>
>> Bumping the version of systemd is a little more complicated than the
>> usual package, and it's easy to forget some of the things that need to
>> be done - and this has happened several times in the past.
>>
>> Add a checklist of things to worry about when updating systemd.
>>
>> Note that there are many other complicated packages that also need a lot
>> of attention when upgrading. However, systemd is a really critical
>> package so it's more important that we get that one right than, say,
>> valgrind.
>>
>> Cc: Norbert Lange <nolange79@gmail.com>
>> Cc: Jérémy ROSEN <jeremy.rosen@smile.fr>
>> Cc: Adam Duskett <aduskett@gmail.com>
>> Cc: James Hilliard <james.hilliard1@gmail.com>
>> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
>> ---
>>   package/systemd/systemd.mk | 12 ++++++++++++
>>   1 file changed, 12 insertions(+)
>>
>> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
>> index 3811dbae42..4d82d2ab81 100644
>> --- a/package/systemd/systemd.mk
>> +++ b/package/systemd/systemd.mk
>> @@ -4,6 +4,18 @@
>>   #
>>   ################################################################################
>>
>> +# When updating systemd, take care of the following:
>> +# - Check if the requirements have changed (see README), in particular
>> +#   arch and headers
>> +# - If yes, propagate the dependencies to BR2_INIT_SYSTEMD
>> +# - If the required kernel options have changed, update the Config.in
>> +#   help text and the list of KCONFIG_ENABLE_OPT.
>> +# - Check if there are new meson_options. Make sure all options are set
>> +#   explicitly (usually to default value).
>> +# - If there are new services:
>> +#   - create new options for them (if they really are optional);
>> +#   - create a new _USER if necessary;
>> +#   - create new directionry (with _PERMISSIONS) if necessary.
>>   SYSTEMD_VERSION = 250.1
>>   SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION))
>>   SYSTEMD_LICENSE = \
>> --
>> 2.31.1
>>
> 
> I wouldd add these:
> 
> #   -  diff sysusers.d with the previous version
> #   -  diff factory/etc/nsswitch.conf with the previous version
> #      (details are often sprinkled around in README and manpages)

  If you think a patch is good to go with some changes applied, please add 
something like:

With those changes applied, you can add my
  Reviewed-by: ...


  If you reply with just a few comments (or worse, if you don't reply at all), 
it's hard to know for us as maintainers if we should consider the patch approved 
or not.

  Regards,
  Arnout


> 
> and, somewhat more cynical:
> 
> #   -  dont bother with x.0 versions
> 
> Norbert
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats
  2022-01-10 13:16 [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats Arnout Vandecappelle (Essensium/Mind)
  2022-01-10 16:35 ` Baruch Siach via buildroot
  2022-01-10 17:25 ` Norbert Lange
@ 2022-01-13 20:40 ` Thomas Petazzoni
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2022-01-13 20:40 UTC (permalink / raw)
  To: Arnout Vandecappelle (Essensium/Mind)
  Cc: Norbert Lange, Jérémy ROSEN, James Hilliard,
	Adam Duskett, buildroot

On Mon, 10 Jan 2022 14:16:24 +0100
"Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> wrote:

> Bumping the version of systemd is a little more complicated than the
> usual package, and it's easy to forget some of the things that need to
> be done - and this has happened several times in the past.
> 
> Add a checklist of things to worry about when updating systemd.
> 
> Note that there are many other complicated packages that also need a lot
> of attention when upgrading. However, systemd is a really critical
> package so it's more important that we get that one right than, say,
> valgrind.
> 
> Cc: Norbert Lange <nolange79@gmail.com>
> Cc: Jérémy ROSEN <jeremy.rosen@smile.fr>
> Cc: Adam Duskett <aduskett@gmail.com>
> Cc: James Hilliard <james.hilliard1@gmail.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  package/systemd/systemd.mk | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Applied to master after taking into account the comments from Baruch
and Norbert.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-13 20:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 13:16 [Buildroot] [PATCH] package/systemd: add checklist of upgrade caveats Arnout Vandecappelle (Essensium/Mind)
2022-01-10 16:35 ` Baruch Siach via buildroot
2022-01-10 17:25 ` Norbert Lange
2022-01-12 13:02   ` Arnout Vandecappelle
2022-01-13 20:40 ` Thomas Petazzoni

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.