* [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files
@ 2023-10-10 9:39 Fabien Thomas
2023-10-10 9:39 ` [meta-gnome][PATCH 2/7] " Fabien Thomas
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
meta-filesystems/files/static-passwd-meta-filesystems | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 meta-filesystems/files/static-passwd-meta-filesystems
diff --git a/meta-filesystems/files/static-passwd-meta-filesystems b/meta-filesystems/files/static-passwd-meta-filesystems
new file mode 100644
index 000000000..157697f3e
--- /dev/null
+++ b/meta-filesystems/files/static-passwd-meta-filesystems
@@ -0,0 +1,3 @@
+fsgqa:x:700:nogroup::/:/bin/nologin
+123456-fsgqa:x:701:nogroup::/:/bin/nologin
+fsgqa2:x:702:nogroup::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [meta-gnome][PATCH 2/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
@ 2023-10-10 9:39 ` Fabien Thomas
2023-10-10 9:39 ` [meta-multimedia][PATCH 3/7] " Fabien Thomas
` (5 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
meta-gnome/files/static-passwd-meta-gnome | 1 +
1 file changed, 1 insertion(+)
create mode 100644 meta-gnome/files/static-passwd-meta-gnome
diff --git a/meta-gnome/files/static-passwd-meta-gnome b/meta-gnome/files/static-passwd-meta-gnome
new file mode 100644
index 000000000..4502d8bd1
--- /dev/null
+++ b/meta-gnome/files/static-passwd-meta-gnome
@@ -0,0 +1 @@
+gdm:x:680:nogroup::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [meta-multimedia][PATCH 3/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
2023-10-10 9:39 ` [meta-gnome][PATCH 2/7] " Fabien Thomas
@ 2023-10-10 9:39 ` Fabien Thomas
2023-10-10 9:39 ` [meta-networking][PATCH 4/7] " Fabien Thomas
` (4 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
meta-multimedia/files/static-group-meta-multimedia | 2 ++
meta-multimedia/files/static-passwd-meta-multimedia | 2 ++
2 files changed, 4 insertions(+)
create mode 100644 meta-multimedia/files/static-group-meta-multimedia
create mode 100644 meta-multimedia/files/static-passwd-meta-multimedia
diff --git a/meta-multimedia/files/static-group-meta-multimedia b/meta-multimedia/files/static-group-meta-multimedia
new file mode 100644
index 000000000..c76233171
--- /dev/null
+++ b/meta-multimedia/files/static-group-meta-multimedia
@@ -0,0 +1,2 @@
+pipewire:x:660:
+mpd:x:665:
\ No newline at end of file
diff --git a/meta-multimedia/files/static-passwd-meta-multimedia b/meta-multimedia/files/static-passwd-meta-multimedia
new file mode 100644
index 000000000..94e1310ea
--- /dev/null
+++ b/meta-multimedia/files/static-passwd-meta-multimedia
@@ -0,0 +1,2 @@
+pipewire:x:660:660::/:/bin/nologin
+mpd:x:665:665::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [meta-networking][PATCH 4/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
2023-10-10 9:39 ` [meta-gnome][PATCH 2/7] " Fabien Thomas
2023-10-10 9:39 ` [meta-multimedia][PATCH 3/7] " Fabien Thomas
@ 2023-10-10 9:39 ` Fabien Thomas
2023-10-10 9:39 ` [meta-oe][PATCH 5/7] " Fabien Thomas
` (3 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
.../files/static-group-meta-networking | 14 ++++++++++++++
.../files/static-passwd-meta-networking | 19 +++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100644 meta-networking/files/static-group-meta-networking
create mode 100644 meta-networking/files/static-passwd-meta-networking
diff --git a/meta-networking/files/static-group-meta-networking b/meta-networking/files/static-group-meta-networking
new file mode 100644
index 000000000..0aada6c5f
--- /dev/null
+++ b/meta-networking/files/static-group-meta-networking
@@ -0,0 +1,14 @@
+ftp:x:630:
+dovecot:x:631:
+dovenull:x:632:
+postfix:x:633:
+postdrop:x:634:
+vmail:x:635:
+rasvd:x:636:
+frr:x:637:
+frrvty:x:638:
+nogroup:x:639:
+ftp:x:640:
+rwhod:x:641:
+lldpd:x:642:
+opensaf:x:643:
\ No newline at end of file
diff --git a/meta-networking/files/static-passwd-meta-networking b/meta-networking/files/static-passwd-meta-networking
new file mode 100644
index 000000000..77c2b36f9
--- /dev/null
+++ b/meta-networking/files/static-passwd-meta-networking
@@ -0,0 +1,19 @@
+ftp:x:630:630::/:/bin/nologin
+dovecot:x:631:631::/:/bin/nologin
+dovenull:x:632:632::/:/bin/nologin
+postfix:x:633:633::/:/bin/nologin
+vmail:x:635:635::/:/bin/nologin
+radvd:x:636:636::/:/bin/nologin
+frr:x:637:637::/:/bin/nologin
+ftp:x:640:640::/:/bin/nologin
+rwhod:x:641:641::/:/bin/nologin
+lldpd:x:642:642::/:/bin/nologin
+opensaf:x:643:643::/:/bin/nologin
+tinyproxy:x:650:nogroup::/:/bin/nologin
+radiusd:x:651:nogroup::/:/bin/nologin
+nm-openconnect:x:652:nogroup::/:/bin/nologin
+ntp:x:653:nogroup::/:/bin/nologin
+nm-fortisslvpn:x:654:nogroup::/:/bin/nologin
+nm-openvpn:x:655:nogroup::/:/bin/nologin
+squid:x:656:nogroup::/:/bin/nologin
+mosquitto:x:657:nogroup::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [meta-oe][PATCH 5/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
` (2 preceding siblings ...)
2023-10-10 9:39 ` [meta-networking][PATCH 4/7] " Fabien Thomas
@ 2023-10-10 9:39 ` Fabien Thomas
2023-10-11 18:50 ` [oe] " Dan McGregor
2023-10-10 9:39 ` [meta-perl][PATCH 6/7] " Fabien Thomas
` (2 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
meta-oe/files/static-group-meta-oe | 8 ++++++++
meta-oe/files/static-passwd-meta-oe | 11 +++++++++++
2 files changed, 19 insertions(+)
create mode 100644 meta-oe/files/static-group-meta-oe
create mode 100644 meta-oe/files/static-passwd-meta-oe
diff --git a/meta-oe/files/static-group-meta-oe b/meta-oe/files/static-group-meta-oe
new file mode 100644
index 000000000..79c9bb6e1
--- /dev/null
+++ b/meta-oe/files/static-group-meta-oe
@@ -0,0 +1,8 @@
+redis:x:600:
+xrdp:x:601:
+sanlock:x:602:
+mysql:x:603:
+postgres:x:604:
+zabbix:x:605:
+mail:x:606:
+nogroup:x:607:
\ No newline at end of file
diff --git a/meta-oe/files/static-passwd-meta-oe b/meta-oe/files/static-passwd-meta-oe
new file mode 100644
index 000000000..4c312b7b1
--- /dev/null
+++ b/meta-oe/files/static-passwd-meta-oe
@@ -0,0 +1,11 @@
+redis:x:600:600::/:/bin/nologin
+xrdp:x:601:601::/:/bin/nologin
+sanlock:x:602:602::/:/bin/nologin
+mysql:x:603:603::/:/bin/nologin
+postgres:x:604:604::/:/bin/nologin
+zabbix:x:605:605::/:/bin/nologin
+cyrus:x:606:nogroup::/:/bin/nologin
+pcp:x:620:nogroup::/:/bin/nologin
+pcpqa:x:621:nogroup::/:/bin/nologin
+influxdb:x:622:nogroup::/:/bin/nologin
+mongodb:x:623:nogroup::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [meta-perl][PATCH 6/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
` (3 preceding siblings ...)
2023-10-10 9:39 ` [meta-oe][PATCH 5/7] " Fabien Thomas
@ 2023-10-10 9:39 ` Fabien Thomas
2023-10-10 9:39 ` [meta-webserver][PATCH 7/7] " Fabien Thomas
2023-10-12 12:01 ` [oe] [meta-filesystems][PATCH 1/7] " Vyacheslav Yurkov
6 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
meta-perl/files/static-group-meta-perl | 1 +
meta-perl/files/static-passwd-meta-perl | 1 +
2 files changed, 2 insertions(+)
create mode 100644 meta-perl/files/static-group-meta-perl
create mode 100644 meta-perl/files/static-passwd-meta-perl
diff --git a/meta-perl/files/static-group-meta-perl b/meta-perl/files/static-group-meta-perl
new file mode 100644
index 000000000..7dd58bbbd
--- /dev/null
+++ b/meta-perl/files/static-group-meta-perl
@@ -0,0 +1 @@
+logcheck:x:670:
\ No newline at end of file
diff --git a/meta-perl/files/static-passwd-meta-perl b/meta-perl/files/static-passwd-meta-perl
new file mode 100644
index 000000000..7b3591ac5
--- /dev/null
+++ b/meta-perl/files/static-passwd-meta-perl
@@ -0,0 +1 @@
+logcheck:x:670:670::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [meta-webserver][PATCH 7/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
` (4 preceding siblings ...)
2023-10-10 9:39 ` [meta-perl][PATCH 6/7] " Fabien Thomas
@ 2023-10-10 9:39 ` Fabien Thomas
2023-10-12 12:01 ` [oe] [meta-filesystems][PATCH 1/7] " Vyacheslav Yurkov
6 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-10 9:39 UTC (permalink / raw
To: openembedded-devel; +Cc: Fabien Thomas, Yoann Congal
In order to pass reproducible tests, recipes that use the
useradd class must have static ids configured.
Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
---
meta-webserver/files/static-passwd-meta-webserver | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 meta-webserver/files/static-passwd-meta-webserver
diff --git a/meta-webserver/files/static-passwd-meta-webserver b/meta-webserver/files/static-passwd-meta-webserver
new file mode 100644
index 000000000..028cf8d94
--- /dev/null
+++ b/meta-webserver/files/static-passwd-meta-webserver
@@ -0,0 +1,2 @@
+www:x:690:nogroup::/:/bin/nologin
+netdata:x:691:nogroup::/:/bin/nologin
\ No newline at end of file
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [oe] [meta-oe][PATCH 5/7] Add static-passwd and static-group files
2023-10-10 9:39 ` [meta-oe][PATCH 5/7] " Fabien Thomas
@ 2023-10-11 18:50 ` Dan McGregor
2023-10-13 14:12 ` Fabien Thomas
0 siblings, 1 reply; 11+ messages in thread
From: Dan McGregor @ 2023-10-11 18:50 UTC (permalink / raw
To: Fabien Thomas; +Cc: openembedded-devel, Yoann Congal
On Tue, 10 Oct 2023 at 03:39, Fabien Thomas <fabien.thomas@smile.fr> wrote:
>
> In order to pass reproducible tests, recipes that use the
> useradd class must have static ids configured.
>
> Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
> ---
> meta-oe/files/static-group-meta-oe | 8 ++++++++
> meta-oe/files/static-passwd-meta-oe | 11 +++++++++++
> 2 files changed, 19 insertions(+)
> create mode 100644 meta-oe/files/static-group-meta-oe
> create mode 100644 meta-oe/files/static-passwd-meta-oe
>
> diff --git a/meta-oe/files/static-group-meta-oe b/meta-oe/files/static-group-meta-oe
> new file mode 100644
> index 000000000..79c9bb6e1
> --- /dev/null
> +++ b/meta-oe/files/static-group-meta-oe
> @@ -0,0 +1,8 @@
> +redis:x:600:
> +xrdp:x:601:
> +sanlock:x:602:
> +mysql:x:603:
> +postgres:x:604:
> +zabbix:x:605:
> +mail:x:606:
> +nogroup:x:607:
"nogroup" is already defined by base-passwd in oe-core. Its value is
65534, so this should either match that, or be removed.
> \ No newline at end of file
> diff --git a/meta-oe/files/static-passwd-meta-oe b/meta-oe/files/static-passwd-meta-oe
> new file mode 100644
> index 000000000..4c312b7b1
> --- /dev/null
> +++ b/meta-oe/files/static-passwd-meta-oe
> @@ -0,0 +1,11 @@
> +redis:x:600:600::/:/bin/nologin
> +xrdp:x:601:601::/:/bin/nologin
> +sanlock:x:602:602::/:/bin/nologin
> +mysql:x:603:603::/:/bin/nologin
> +postgres:x:604:604::/:/bin/nologin
> +zabbix:x:605:605::/:/bin/nologin
> +cyrus:x:606:nogroup::/:/bin/nologin
> +pcp:x:620:nogroup::/:/bin/nologin
> +pcpqa:x:621:nogroup::/:/bin/nologin
> +influxdb:x:622:nogroup::/:/bin/nologin
> +mongodb:x:623:nogroup::/:/bin/nologin
> \ No newline at end of file
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#105401): https://lists.openembedded.org/g/openembedded-devel/message/105401
> Mute This Topic: https://lists.openembedded.org/mt/101871610/3617261
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [danismostlikely@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [oe] [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
` (5 preceding siblings ...)
2023-10-10 9:39 ` [meta-webserver][PATCH 7/7] " Fabien Thomas
@ 2023-10-12 12:01 ` Vyacheslav Yurkov
2023-10-13 14:10 ` Fabien Thomas
6 siblings, 1 reply; 11+ messages in thread
From: Vyacheslav Yurkov @ 2023-10-12 12:01 UTC (permalink / raw
To: Fabien Thomas, openembedded-devel; +Cc: Yoann Congal
Thanks for the patch.
Is there any way to ensure (have a QA?) this file is updated / not
forgotten when somebody else adds new id in the recipe?
Slava
On 10.10.2023 11:39, Fabien Thomas wrote:
> In order to pass reproducible tests, recipes that use the
> useradd class must have static ids configured.
>
> Signed-off-by: Fabien Thomas <fabien.thomas@smile.fr>
> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
> ---
> meta-filesystems/files/static-passwd-meta-filesystems | 3 +++
> 1 file changed, 3 insertions(+)
> create mode 100644 meta-filesystems/files/static-passwd-meta-filesystems
>
> diff --git a/meta-filesystems/files/static-passwd-meta-filesystems b/meta-filesystems/files/static-passwd-meta-filesystems
> new file mode 100644
> index 000000000..157697f3e
> --- /dev/null
> +++ b/meta-filesystems/files/static-passwd-meta-filesystems
> @@ -0,0 +1,3 @@
> +fsgqa:x:700:nogroup::/:/bin/nologin
> +123456-fsgqa:x:701:nogroup::/:/bin/nologin
> +fsgqa2:x:702:nogroup::/:/bin/nologin
> \ No newline at end of file
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files
2023-10-12 12:01 ` [oe] [meta-filesystems][PATCH 1/7] " Vyacheslav Yurkov
@ 2023-10-13 14:10 ` Fabien Thomas
0 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-13 14:10 UTC (permalink / raw
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 381 bytes --]
On Thu, Oct 12, 2023 at 02:01 PM, Vyacheslav Yurkov wrote:
>
> Slava
Hello,
This work is intended to be carried out by yocto autobuilder several
time a day, in reproducible-meta-oe selftest. If someone add a
new user or group in a recipe and forget to update theses static-ids
files : the repro build will failed. This ensure an early detection.
Regards,
Fabien
[-- Attachment #2: Type: text/html, Size: 450 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [meta-oe][PATCH 5/7] Add static-passwd and static-group files
2023-10-11 18:50 ` [oe] " Dan McGregor
@ 2023-10-13 14:12 ` Fabien Thomas
0 siblings, 0 replies; 11+ messages in thread
From: Fabien Thomas @ 2023-10-13 14:12 UTC (permalink / raw
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 78 bytes --]
Thanks for your comments. I just sent a fix in that way.
Regards,
Fabien
[-- Attachment #2: Type: text/html, Size: 100 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-10-13 14:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-10 9:39 [meta-filesystems][PATCH 1/7] Add static-passwd and static-group files Fabien Thomas
2023-10-10 9:39 ` [meta-gnome][PATCH 2/7] " Fabien Thomas
2023-10-10 9:39 ` [meta-multimedia][PATCH 3/7] " Fabien Thomas
2023-10-10 9:39 ` [meta-networking][PATCH 4/7] " Fabien Thomas
2023-10-10 9:39 ` [meta-oe][PATCH 5/7] " Fabien Thomas
2023-10-11 18:50 ` [oe] " Dan McGregor
2023-10-13 14:12 ` Fabien Thomas
2023-10-10 9:39 ` [meta-perl][PATCH 6/7] " Fabien Thomas
2023-10-10 9:39 ` [meta-webserver][PATCH 7/7] " Fabien Thomas
2023-10-12 12:01 ` [oe] [meta-filesystems][PATCH 1/7] " Vyacheslav Yurkov
2023-10-13 14:10 ` Fabien Thomas
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.