|
[hardknott][PATCH] libvirt: fix CVE-2022-0897
From: Changqing Li <changqing.li@...>
Signed-off-by: Changqing Li <changqing.li@...>
---
.../libvirt/libvirt/CVE-2022-0897.patch | 57 +++++++++++++++++++
From: Changqing Li <changqing.li@...>
Signed-off-by: Changqing Li <changqing.li@...>
---
.../libvirt/libvirt/CVE-2022-0897.patch | 57 +++++++++++++++++++
|
By
Changqing Li
·
#7164
·
|
|
Re: [PATCH] libvirt: fix do_package issue
Just for the record, there is${nonarch_libdir} that expands to “/usr/lib” regardless of whether multilib is used or not. It is typically intended for cases like this.
//Peter
Just for the record, there is${nonarch_libdir} that expands to “/usr/lib” regardless of whether multilib is used or not. It is typically intended for cases like this.
//Peter
|
By
Peter Kjellerstedt
·
#7163
·
|
|
Re: [PATCH] libvirt: fix do_package issue
Hi Qi
You are right. My build configuration is also using multilib and this issue appeared.
Hi Qi
You are right. My build configuration is also using multilib and this issue appeared.
|
By
preeti.sachan@...
·
#7162
·
|
|
Re: [PATCH] libvirt: fix do_package issue
Hmm. Indeed. In that case, I'll go with a variant of the original patch, with a tweaked commit log. I'll take care of that now.
Bruce
--
- Thou shalt not follow the NULL pointer, for chaos and
Hmm. Indeed. In that case, I'll go with a variant of the original patch, with a tweaked commit log. I'll take care of that now.
Bruce
--
- Thou shalt not follow the NULL pointer, for chaos and
|
By
Bruce Ashfield
·
#7161
·
|
|
Re: [PATCH] libvirt: fix do_package issue
The only package I found which uses /usr/lib/sysctl.d is systemd.
It packages ${exec_prefix}/lib/sysctl.d.
And it has its reason. It treats /usr/lib as an arch-independent vendor dir, and $libdir is
The only package I found which uses /usr/lib/sysctl.d is systemd.
It packages ${exec_prefix}/lib/sysctl.d.
And it has its reason. It treats /usr/lib as an arch-independent vendor dir, and $libdir is
|
By
Chen Qi
·
#7160
·
|
|
Re: [PATCH] k3s: do not use a go file as patch
I've done multiple executions of that exact set of steps, and I've never seen the error you are encountering. Clearly there's something different in the various build environments.
We are also getting
I've done multiple executions of that exact set of steps, and I've never seen the error you are encountering. Clearly there's something different in the various build environments.
We are also getting
|
By
Bruce Ashfield
·
#7159
·
|
|
Re: [PATCH] libvirt: fix do_package issue
That's a larger issue, and it breaks other parts of the system. We shouldn't have anything with hard coded /usr/lib.
How are other packages dealing with this ?
In that case, I'll do individual scripts
That's a larger issue, and it breaks other parts of the system. We shouldn't have anything with hard coded /usr/lib.
How are other packages dealing with this ?
In that case, I'll do individual scripts
|
By
Bruce Ashfield
·
#7158
·
|
|
Re: [PATCH] libvirt: package all sysctl conf files for libvirtd
See the patch that I sent as well.
There's no reason to have /usr/lib anywhere in the packaging at all. We should just rely on ${libdir}, if libvirt is installing outside of the definition of
See the patch that I sent as well.
There's no reason to have /usr/lib anywhere in the packaging at all. We should just rely on ${libdir}, if libvirt is installing outside of the definition of
|
By
Bruce Ashfield
·
#7157
·
|
|
Re: [PATCH] libvirt: fix do_package issue
Hi Bruce,
Looking at the issue a little further, I found we need to use the hardcoded ‘/usr/lib’.
This is because sysctl is hardcoding that.
Some codes in sysctl.c from procps:
static
Hi Bruce,
Looking at the issue a little further, I found we need to use the hardcoded ‘/usr/lib’.
This is because sysctl is hardcoding that.
Some codes in sysctl.c from procps:
static
|
By
Chen Qi
·
#7156
·
|
|
[PATCH] libvirt: package all sysctl conf files for libvirtd
The libvirtd package has already packaged ${sysconfdir}/sysctl.d,
and also the /usr/lib/sysctl.d/60-libvirtd.conf, it would be
reasonable for it to package other sysctl conf files, otherwise
we will
The libvirtd package has already packaged ${sysconfdir}/sysctl.d,
and also the /usr/lib/sysctl.d/60-libvirtd.conf, it would be
reasonable for it to package other sysctl conf files, otherwise
we will
|
By
Chen Qi
·
#7155
·
|
|
Re: [PATCH] libvirt: fix do_package issue
I've pushed my WIP patch here:
https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next
Bruce
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
-
I've pushed my WIP patch here:
https://git.yoctoproject.org/meta-virtualization/commit/?h=master-next
Bruce
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
-
|
By
Bruce Ashfield
·
#7154
·
|
|
Re: [PATCH] libvirt: fix do_package issue
Aha. Right you are.
So we should tweak libvirt to use ${libdir} and not the hardcoded /user/lib (which it never really should have been), and package anything that gets installed into sysctl.d/
It
Aha. Right you are.
So we should tweak libvirt to use ${libdir} and not the hardcoded /user/lib (which it never really should have been), and package anything that gets installed into sysctl.d/
It
|
By
Bruce Ashfield
·
#7153
·
|
|
Re: [PATCH] libvirt: fix do_package issue
Hi Bruce & Preeti,
I was trying to fix the same issue when I found this thread.
This issue appears when multilib is enabled.
When multilib is disabled, ${libdir} is /usr/lib, thus packaging
Hi Bruce & Preeti,
I was trying to fix the same issue when I found this thread.
This issue appears when multilib is enabled.
When multilib is disabled, ${libdir} is /usr/lib, thus packaging
|
By
Chen Qi
·
#7152
·
|
|
Re: [PATCH] libvirt: fix do_package issue
No libvirt bbappend file in build and multiconfig is created to build with particular kernel version.
In recipe
No libvirt bbappend file in build and multiconfig is created to build with particular kernel version.
In recipe
|
By
preeti.sachan@...
·
#7151
·
|
|
Re: [PATCH] libvirt: fix do_package issue
There's definitely something different in your configuration, so that needs to be understood first.
That file is packaged as part of libvirt-python here, and should be the same for others, as I
There's definitely something different in your configuration, so that needs to be understood first.
That file is packaged as part of libvirt-python here, and should be the same for others, as I
|
By
Bruce Ashfield
·
#7150
·
|
|
Re: [PATCH] cni: Add ;protocol=https for flannel_plugin SRC_URI
It had a protocol specification already, I just managed to miss an 'o'. I've fixed that, and pushed the change.
Annoying that github didn't break/stop my build immediately with that typo, but at least
It had a protocol specification already, I just managed to miss an 'o'. I've fixed that, and pushed the change.
Annoying that github didn't break/stop my build immediately with that typo, but at least
|
By
Bruce Ashfield
·
#7149
·
|
|
[PATCH] cni: Add ;protocol=https for flannel_plugin SRC_URI
Also, fix the indentation for the SRC_URI variable assignment.
Signed-off-by: Diego Sueiro <diego.sueiro@...>
---
recipes-networking/cni/cni_git.bb | 9 +++++----
1 file changed, 5
Also, fix the indentation for the SRC_URI variable assignment.
Signed-off-by: Diego Sueiro <diego.sueiro@...>
---
recipes-networking/cni/cni_git.bb | 9 +++++----
1 file changed, 5
|
By
Diego Sueiro
·
#7148
·
|
|
Re: [PATCH 0/3] xen: Update recipes for xen and xen-tools
Hi Michal,
Thanks a lot for this.
For the whole serie:
Reviewed-by: Bertrand Marquis <bertrand.marquis@...>
Cheers
Bertrand
Hi Michal,
Thanks a lot for this.
For the whole serie:
Reviewed-by: Bertrand Marquis <bertrand.marquis@...>
Cheers
Bertrand
|
By
Bertrand Marquis
·
#7147
·
|
|
Re: [PATCH] libvirt: fix do_package issue
ERROR: mc:x86-2020:libvirt-8.1.0-r0 do_package: QA Issue: libvirt: Files/directories were installed but not shipped in any package:
/usr/lib/sysctl.d/60-qemu-postcopy-migration.conf
Please set FILES
ERROR: mc:x86-2020:libvirt-8.1.0-r0 do_package: QA Issue: libvirt: Files/directories were installed but not shipped in any package:
/usr/lib/sysctl.d/60-qemu-postcopy-migration.conf
Please set FILES
|
By
preeti.sachan@...
·
#7146
·
|
|
Re: [PATCH] libvirt: fix do_package issue
I'm not seeing any packaging issues here.
Can you elaborate on what warning/QA/other issue you are seeing ?
Bruce
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its
I'm not seeing any packaging issues here.
Can you elaborate on what warning/QA/other issue you are seeing ?
Bruce
--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its
|
By
Bruce Ashfield
·
#7145
·
|