All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][walnascar][master][PATCH 1/1] libvirt: add groups of libvirt and virtlogin
@ 2025-05-09  6:50 guocai.he.cn
  2025-05-20  2:54 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: guocai.he.cn @ 2025-05-09  6:50 UTC (permalink / raw)
  To: meta-virtualization

From: Guocai He <guocai.he.cn@windriver.com>

The systemd_sysusers_check logs:
WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group libvirt has never been defined
WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group virtlogin has never been defined

This is because when libvirt is updated to v11.1.0, it involves:
2dd4f594ea tools: add sysusers file to create 'virtlogin' group
18f0160994 remote: add sysusers file to create 'libvirt' group

To eliminate this warning, it is necessary to add these two groups.

Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
---
 recipes-extended/libvirt/libvirt_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
index 4c6b3bdd..7d694ac1 100644
--- a/recipes-extended/libvirt/libvirt_git.bb
+++ b/recipes-extended/libvirt/libvirt_git.bb
@@ -47,7 +47,7 @@ S = "${WORKDIR}/git"
 
 inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative
 USERADD_PACKAGES = "${PN}"
-GROUPADD_PARAM:${PN} = "-r qemu; -r kvm"
+GROUPADD_PARAM:${PN} = "-r qemu; -r kvm; -r libvirt; -r virtlogin"
 USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu"
 
 
-- 
2.34.1



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

* Re: [meta-virtualization][walnascar][master][PATCH 1/1] libvirt: add groups of libvirt and virtlogin
  2025-05-09  6:50 [meta-virtualization][walnascar][master][PATCH 1/1] libvirt: add groups of libvirt and virtlogin guocai.he.cn
@ 2025-05-20  2:54 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2025-05-20  2:54 UTC (permalink / raw)
  To: guocai.he.cn; +Cc: meta-virtualization

merged.

Bruce

In message: [meta-virtualization][walnascar][master][PATCH 1/1] libvirt: add groups of libvirt and virtlogin
on 09/05/2025 guocai he via lists.yoctoproject.org wrote:

> From: Guocai He <guocai.he.cn@windriver.com>
> 
> The systemd_sysusers_check logs:
> WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group libvirt has never been defined
> WARNING: wrlinux-image-std-1.0-r5 do_rootfs: Group virtlogin has never been defined
> 
> This is because when libvirt is updated to v11.1.0, it involves:
> 2dd4f594ea tools: add sysusers file to create 'virtlogin' group
> 18f0160994 remote: add sysusers file to create 'libvirt' group
> 
> To eliminate this warning, it is necessary to add these two groups.
> 
> Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
> ---
>  recipes-extended/libvirt/libvirt_git.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
> index 4c6b3bdd..7d694ac1 100644
> --- a/recipes-extended/libvirt/libvirt_git.bb
> +++ b/recipes-extended/libvirt/libvirt_git.bb
> @@ -47,7 +47,7 @@ S = "${WORKDIR}/git"
>  
>  inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative
>  USERADD_PACKAGES = "${PN}"
> -GROUPADD_PARAM:${PN} = "-r qemu; -r kvm"
> +GROUPADD_PARAM:${PN} = "-r qemu; -r kvm; -r libvirt; -r virtlogin"
>  USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu"
>  
>  
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9246): https://lists.yoctoproject.org/g/meta-virtualization/message/9246
> Mute This Topic: https://lists.yoctoproject.org/mt/112894514/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



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

end of thread, other threads:[~2025-05-20  2:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  6:50 [meta-virtualization][walnascar][master][PATCH 1/1] libvirt: add groups of libvirt and virtlogin guocai.he.cn
2025-05-20  2:54 ` Bruce Ashfield

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.