Re: [meta-virtualization][PATCH] lxc: update to 6.0.0

2024-06-18 Thread Xiangyu Chen

Hi Bruce,


On 5/29/24 21:37, Bruce Ashfield wrote:

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

As part of my fixing of the UNPACKDIR and other recent breakages due to oe-core
changes, I did a couple of early package updates. I included lxc, and
just let my scripts
do the uprev work.

Could you break the ptest parts out of this and re-submit them on top
of master-next ?


Sorry for being late, i don't know which keywords triggered my 
mailfilter to move this message to


another folder. I have submitted a new patch to meta-virt list today.


Br,

Xiangyu



Bruce

On Thu, Apr 18, 2024 at 8:12 AM Bruce Ashfield via
lists.yoctoproject.org
 wrote:

I'm not taking any package updates at this time, but I'll look at this when I 
do go through the next update cycle.

Bruce

On Thu, Apr 18, 2024 at 4:31 AM Xiangyu Chen via lists.yoctoproject.org 
 wrote:

From: Xiangyu Chen 

Changes:
17ac6f691 lxc.spec: Align SPDX license id
5fe2de84c Makefile: Align SPDX license id
97f93be72 meson: Align SPDX license id
d4cd3741d COPYING: Clarify licensing of files without SPDX
8e67eb07c doc: Add SPDX headers and remove Author field
cb94edf53 src/include: Add SPDX headers
7bc33ef6e src/tests: Add SPDX headers
007642c89 hooks: Add SPDX headers
1e9e66be3 lxc.spec: Clear default changelog
202d649d1 lxc.spec: Use SPDX
85abd4026 template: Use SPDX
a074b3d27 config/yum: Use SPDX header
7ed43e5e9 COPYING: Remove whitespace
522721216 MAINTAINERS: Remove Dwight from the maintainer list
08bf8b9e2 lxc-checkconfig: Fix shellcheck
0f18db543 lxc-checkconfig: Show namespace limits
f71b8e3f8 lxc-ls: list names with whitespaces in `--active`.
816b8973d lxc/tools: set default log_priority to ERROR
989ea3969 tools/lxc_autostart: don't fail when there are no containers
dc4df2335 lxc/lxccontainer: specify file mode in open() call inside mod_rdep
630b46ed2 lxc/confile: do not print excess space before scale suffix for 
time.offset.boot
796f2ccb7 lxc/confile: do not print newline symbol in getter for 
lxc.time.offset.*
dcc4fb929 tests/parse_config_file: fix some typos
6fea67429 tests/parse_config_file: add tests for lxc.time.offset.*
ad8f55445 tree-wide: replace multiply_overflow with check_mul_overflow
4464cee19 lxccontainer: rework copy_file()
9d1aa932d lxccontainer: improve mod_rdep()
81c1bbf45 Revert "lxccontainer: fixes"
82fe01821 src/lxc/syscall_numbers.h: drop define -1
590a95d83 rexec: Avoid invalid free in rexec failure path
f9978b179 README: Correct 'armvl7' to 'armv7l'
046b63cd2 unshare: simplify lookup_name
7452ee8ab lxc-unshare: fix an buffer overflow issue in lxc_unshare
e3445 lxc-net: Enable IPv6 by default
d78ca00bc tests/meson: attempt to fix ossfuzz builds
d18f993b3 github: master -> main
86799f554 meson: link with liblxc dynamically everywhere if possible
b90fecfda network: use IN_LIBLXC
9eee450d2 storage_utils: move get_fssize to utils
6eb0a73e2 storage_utils: unhide and rename is_valid_storage_type to 
lxc_is_valid_storage_type
42eeffcb0 confile: unhide lxc_config_parse_arch() helper
9bb318881 conf: reorganize/split code to utils.c
863c59dc3 conf: reorganize/split code to idmap_utils.c
b7591ad49 confile: unhide lxc_config_define*() helpers
f14656ebf meson: introduce IN_LIBLXC preprocessor macro
672b2172d confile: move lxc_fill_elevated_privileges() to tools/lxc_attach
8f9733d75 tests: remove old and broken cgroup handling code from tests
d51ea224e config: apparmor: add AppArmor profile for lxc-copy
627bb9460 tests: lxc-test-usernic: use iproute tool instead of brctl
df0665b6d oci: resolve cross-filesystem blob caching failure
ec85e5ca4 lxc-test-usernic: drop cgroup handling
27ec0b0f6 test-usernic: don't use ifconfig
44e845b3c Add x32 to the list of recognized architectures
07e3a516e lxc-download, lxc-local: preserve xattrs on unpack
9ac7c4895 tree-wide: use container_uses_namespace() in less trivial cases
64341ce7b tree-wide: use container_uses_namespace() helper
6b40e66c1 Fix error message.
c8189ee2a Add verbose output in download template.
84cc3155a Align columns in lxc-download.in template
872db5424 build: add more options for customizing install
df17ac417 Add loongarch64 support
112d5615e build(deps): bump actions/upload-artifact from 3 to 4
789457f1a config: try to create workdir if not exist
86f5c1226 lxc-local: Add --no-dev option to exclude /dev from the fstree
f885a3c56 lxc-local: Re-organize code to use more functions
7c025072e lxc-local: Improve usage info
faa38a197 lxc-local: Change LXC_CONFIG to LXC_METADATA to match args and be 
more clear
d65fe1b27 Disable IPv6 link-local addresses for bridged veth
8cff8fa1a don't try to delete vlan 0 from veth
0e932812a conf: fix ephemeral copies
abffab441 config/init: Drop upstart files
79a4a3cf8 doc: remove the warning mentionning upstart
7bf1695d0 hooks/ubuntu-cloud-prep: remove upstart handling
fb73c18d2 meson: Remove support for upstart
cc6819c69 

Re: [meta-virtualization][PATCH] lxc: update to 6.0.0

2024-05-29 Thread Bruce Ashfield
As part of my fixing of the UNPACKDIR and other recent breakages due to oe-core
changes, I did a couple of early package updates. I included lxc, and
just let my scripts
do the uprev work.

Could you break the ptest parts out of this and re-submit them on top
of master-next ?

Bruce

On Thu, Apr 18, 2024 at 8:12 AM Bruce Ashfield via
lists.yoctoproject.org
 wrote:
>
> I'm not taking any package updates at this time, but I'll look at this when I 
> do go through the next update cycle.
>
> Bruce
>
> On Thu, Apr 18, 2024 at 4:31 AM Xiangyu Chen via lists.yoctoproject.org 
>  wrote:
>>
>> From: Xiangyu Chen 
>>
>> Changes:
>> 17ac6f691 lxc.spec: Align SPDX license id
>> 5fe2de84c Makefile: Align SPDX license id
>> 97f93be72 meson: Align SPDX license id
>> d4cd3741d COPYING: Clarify licensing of files without SPDX
>> 8e67eb07c doc: Add SPDX headers and remove Author field
>> cb94edf53 src/include: Add SPDX headers
>> 7bc33ef6e src/tests: Add SPDX headers
>> 007642c89 hooks: Add SPDX headers
>> 1e9e66be3 lxc.spec: Clear default changelog
>> 202d649d1 lxc.spec: Use SPDX
>> 85abd4026 template: Use SPDX
>> a074b3d27 config/yum: Use SPDX header
>> 7ed43e5e9 COPYING: Remove whitespace
>> 522721216 MAINTAINERS: Remove Dwight from the maintainer list
>> 08bf8b9e2 lxc-checkconfig: Fix shellcheck
>> 0f18db543 lxc-checkconfig: Show namespace limits
>> f71b8e3f8 lxc-ls: list names with whitespaces in `--active`.
>> 816b8973d lxc/tools: set default log_priority to ERROR
>> 989ea3969 tools/lxc_autostart: don't fail when there are no containers
>> dc4df2335 lxc/lxccontainer: specify file mode in open() call inside mod_rdep
>> 630b46ed2 lxc/confile: do not print excess space before scale suffix for 
>> time.offset.boot
>> 796f2ccb7 lxc/confile: do not print newline symbol in getter for 
>> lxc.time.offset.*
>> dcc4fb929 tests/parse_config_file: fix some typos
>> 6fea67429 tests/parse_config_file: add tests for lxc.time.offset.*
>> ad8f55445 tree-wide: replace multiply_overflow with check_mul_overflow
>> 4464cee19 lxccontainer: rework copy_file()
>> 9d1aa932d lxccontainer: improve mod_rdep()
>> 81c1bbf45 Revert "lxccontainer: fixes"
>> 82fe01821 src/lxc/syscall_numbers.h: drop define -1
>> 590a95d83 rexec: Avoid invalid free in rexec failure path
>> f9978b179 README: Correct 'armvl7' to 'armv7l'
>> 046b63cd2 unshare: simplify lookup_name
>> 7452ee8ab lxc-unshare: fix an buffer overflow issue in lxc_unshare
>> e3445 lxc-net: Enable IPv6 by default
>> d78ca00bc tests/meson: attempt to fix ossfuzz builds
>> d18f993b3 github: master -> main
>> 86799f554 meson: link with liblxc dynamically everywhere if possible
>> b90fecfda network: use IN_LIBLXC
>> 9eee450d2 storage_utils: move get_fssize to utils
>> 6eb0a73e2 storage_utils: unhide and rename is_valid_storage_type to 
>> lxc_is_valid_storage_type
>> 42eeffcb0 confile: unhide lxc_config_parse_arch() helper
>> 9bb318881 conf: reorganize/split code to utils.c
>> 863c59dc3 conf: reorganize/split code to idmap_utils.c
>> b7591ad49 confile: unhide lxc_config_define*() helpers
>> f14656ebf meson: introduce IN_LIBLXC preprocessor macro
>> 672b2172d confile: move lxc_fill_elevated_privileges() to tools/lxc_attach
>> 8f9733d75 tests: remove old and broken cgroup handling code from tests
>> d51ea224e config: apparmor: add AppArmor profile for lxc-copy
>> 627bb9460 tests: lxc-test-usernic: use iproute tool instead of brctl
>> df0665b6d oci: resolve cross-filesystem blob caching failure
>> ec85e5ca4 lxc-test-usernic: drop cgroup handling
>> 27ec0b0f6 test-usernic: don't use ifconfig
>> 44e845b3c Add x32 to the list of recognized architectures
>> 07e3a516e lxc-download, lxc-local: preserve xattrs on unpack
>> 9ac7c4895 tree-wide: use container_uses_namespace() in less trivial cases
>> 64341ce7b tree-wide: use container_uses_namespace() helper
>> 6b40e66c1 Fix error message.
>> c8189ee2a Add verbose output in download template.
>> 84cc3155a Align columns in lxc-download.in template
>> 872db5424 build: add more options for customizing install
>> df17ac417 Add loongarch64 support
>> 112d5615e build(deps): bump actions/upload-artifact from 3 to 4
>> 789457f1a config: try to create workdir if not exist
>> 86f5c1226 lxc-local: Add --no-dev option to exclude /dev from the fstree
>> f885a3c56 lxc-local: Re-organize code to use more functions
>> 7c025072e lxc-local: Improve usage info
>> faa38a197 lxc-local: Change LXC_CONFIG to LXC_METADATA to match args and be 
>> more clear
>> d65fe1b27 Disable IPv6 link-local addresses for bridged veth
>> 8cff8fa1a don't try to delete vlan 0 from veth
>> 0e932812a conf: fix ephemeral copies
>> abffab441 config/init: Drop upstart files
>> 79a4a3cf8 doc: remove the warning mentionning upstart
>> 7bf1695d0 hooks/ubuntu-cloud-prep: remove upstart handling
>> fb73c18d2 meson: Remove support for upstart
>> cc6819c69 reset root_nsuid_map and root_nsgid_map when idmaps is cleared
>> a87d6fcc9 lxc/checkconfig: use multiline `echo`
>> f3e01fa80 lxc/checkconfig: replace 

Re: [meta-virtualization][PATCH] lxc: update to 6.0.0

2024-04-18 Thread Bruce Ashfield
I'm not taking any package updates at this time, but I'll look at this when
I do go through the next update cycle.

Bruce

On Thu, Apr 18, 2024 at 4:31 AM Xiangyu Chen via lists.yoctoproject.org
 wrote:

> From: Xiangyu Chen 
>
> Changes:
> 17ac6f691 lxc.spec: Align SPDX license id
> 5fe2de84c Makefile: Align SPDX license id
> 97f93be72 meson: Align SPDX license id
> d4cd3741d COPYING: Clarify licensing of files without SPDX
> 8e67eb07c doc: Add SPDX headers and remove Author field
> cb94edf53 src/include: Add SPDX headers
> 7bc33ef6e src/tests: Add SPDX headers
> 007642c89 hooks: Add SPDX headers
> 1e9e66be3 lxc.spec: Clear default changelog
> 202d649d1 lxc.spec: Use SPDX
> 85abd4026 template: Use SPDX
> a074b3d27 config/yum: Use SPDX header
> 7ed43e5e9 COPYING: Remove whitespace
> 522721216 MAINTAINERS: Remove Dwight from the maintainer list
> 08bf8b9e2 lxc-checkconfig: Fix shellcheck
> 0f18db543 lxc-checkconfig: Show namespace limits
> f71b8e3f8 lxc-ls: list names with whitespaces in `--active`.
> 816b8973d lxc/tools: set default log_priority to ERROR
> 989ea3969 tools/lxc_autostart: don't fail when there are no containers
> dc4df2335 lxc/lxccontainer: specify file mode in open() call inside
> mod_rdep
> 630b46ed2 lxc/confile: do not print excess space before scale suffix for
> time.offset.boot
> 796f2ccb7 lxc/confile: do not print newline symbol in getter for
> lxc.time.offset.*
> dcc4fb929 tests/parse_config_file: fix some typos
> 6fea67429 tests/parse_config_file: add tests for lxc.time.offset.*
> ad8f55445 tree-wide: replace multiply_overflow with check_mul_overflow
> 4464cee19 lxccontainer: rework copy_file()
> 9d1aa932d lxccontainer: improve mod_rdep()
> 81c1bbf45 Revert "lxccontainer: fixes"
> 82fe01821 src/lxc/syscall_numbers.h: drop define -1
> 590a95d83 rexec: Avoid invalid free in rexec failure path
> f9978b179 README: Correct 'armvl7' to 'armv7l'
> 046b63cd2 unshare: simplify lookup_name
> 7452ee8ab lxc-unshare: fix an buffer overflow issue in lxc_unshare
> e3445 lxc-net: Enable IPv6 by default
> d78ca00bc tests/meson: attempt to fix ossfuzz builds
> d18f993b3 github: master -> main
> 86799f554 meson: link with liblxc dynamically everywhere if possible
> b90fecfda network: use IN_LIBLXC
> 9eee450d2 storage_utils: move get_fssize to utils
> 6eb0a73e2 storage_utils: unhide and rename is_valid_storage_type to
> lxc_is_valid_storage_type
> 42eeffcb0 confile: unhide lxc_config_parse_arch() helper
> 9bb318881 conf: reorganize/split code to utils.c
> 863c59dc3 conf: reorganize/split code to idmap_utils.c
> b7591ad49 confile: unhide lxc_config_define*() helpers
> f14656ebf meson: introduce IN_LIBLXC preprocessor macro
> 672b2172d confile: move lxc_fill_elevated_privileges() to tools/lxc_attach
> 8f9733d75 tests: remove old and broken cgroup handling code from tests
> d51ea224e config: apparmor: add AppArmor profile for lxc-copy
> 627bb9460 tests: lxc-test-usernic: use iproute tool instead of brctl
> df0665b6d oci: resolve cross-filesystem blob caching failure
> ec85e5ca4 lxc-test-usernic: drop cgroup handling
> 27ec0b0f6 test-usernic: don't use ifconfig
> 44e845b3c Add x32 to the list of recognized architectures
> 07e3a516e lxc-download, lxc-local: preserve xattrs on unpack
> 9ac7c4895 tree-wide: use container_uses_namespace() in less trivial cases
> 64341ce7b tree-wide: use container_uses_namespace() helper
> 6b40e66c1 Fix error message.
> c8189ee2a Add verbose output in download template.
> 84cc3155a Align columns in lxc-download.in template
> 872db5424 build: add more options for customizing install
> df17ac417 Add loongarch64 support
> 112d5615e build(deps): bump actions/upload-artifact from 3 to 4
> 789457f1a config: try to create workdir if not exist
> 86f5c1226 lxc-local: Add --no-dev option to exclude /dev from the fstree
> f885a3c56 lxc-local: Re-organize code to use more functions
> 7c025072e lxc-local: Improve usage info
> faa38a197 lxc-local: Change LXC_CONFIG to LXC_METADATA to match args and
> be more clear
> d65fe1b27 Disable IPv6 link-local addresses for bridged veth
> 8cff8fa1a don't try to delete vlan 0 from veth
> 0e932812a conf: fix ephemeral copies
> abffab441 config/init: Drop upstart files
> 79a4a3cf8 doc: remove the warning mentionning upstart
> 7bf1695d0 hooks/ubuntu-cloud-prep: remove upstart handling
> fb73c18d2 meson: Remove support for upstart
> cc6819c69 reset root_nsuid_map and root_nsgid_map when idmaps is cleared
> a87d6fcc9 lxc/checkconfig: use multiline `echo`
> f3e01fa80 lxc/checkconfig: replace `echo -n` by printf
> ba4f810bc lxc/checkconfig: minor cosmetic change
> d52c345c8 lxc/checkconfig: avoid subshell (SC2235)
> f84f03d1d lxc/checkconfig: remove superfluous (..) around test command
> (SC2234)
> 74b9faa64 lxc/checkconfig: check exit code directly (SC2181)
> 5cc69e440 lxc/checkconfig: replace `! -z` by `-n` (SC2236)
> a4684eb11 lxc/checkconfig: add missing quotes to please shellcheck
> 8a611c0b2 lxc/checkconfig: remove some unneeded `echo -n`
> cb2574319 

[meta-virtualization][PATCH] lxc: update to 6.0.0

2024-04-18 Thread Xiangyu Chen
From: Xiangyu Chen 

Changes:
17ac6f691 lxc.spec: Align SPDX license id
5fe2de84c Makefile: Align SPDX license id
97f93be72 meson: Align SPDX license id
d4cd3741d COPYING: Clarify licensing of files without SPDX
8e67eb07c doc: Add SPDX headers and remove Author field
cb94edf53 src/include: Add SPDX headers
7bc33ef6e src/tests: Add SPDX headers
007642c89 hooks: Add SPDX headers
1e9e66be3 lxc.spec: Clear default changelog
202d649d1 lxc.spec: Use SPDX
85abd4026 template: Use SPDX
a074b3d27 config/yum: Use SPDX header
7ed43e5e9 COPYING: Remove whitespace
522721216 MAINTAINERS: Remove Dwight from the maintainer list
08bf8b9e2 lxc-checkconfig: Fix shellcheck
0f18db543 lxc-checkconfig: Show namespace limits
f71b8e3f8 lxc-ls: list names with whitespaces in `--active`.
816b8973d lxc/tools: set default log_priority to ERROR
989ea3969 tools/lxc_autostart: don't fail when there are no containers
dc4df2335 lxc/lxccontainer: specify file mode in open() call inside mod_rdep
630b46ed2 lxc/confile: do not print excess space before scale suffix for 
time.offset.boot
796f2ccb7 lxc/confile: do not print newline symbol in getter for 
lxc.time.offset.*
dcc4fb929 tests/parse_config_file: fix some typos
6fea67429 tests/parse_config_file: add tests for lxc.time.offset.*
ad8f55445 tree-wide: replace multiply_overflow with check_mul_overflow
4464cee19 lxccontainer: rework copy_file()
9d1aa932d lxccontainer: improve mod_rdep()
81c1bbf45 Revert "lxccontainer: fixes"
82fe01821 src/lxc/syscall_numbers.h: drop define -1
590a95d83 rexec: Avoid invalid free in rexec failure path
f9978b179 README: Correct 'armvl7' to 'armv7l'
046b63cd2 unshare: simplify lookup_name
7452ee8ab lxc-unshare: fix an buffer overflow issue in lxc_unshare
e3445 lxc-net: Enable IPv6 by default
d78ca00bc tests/meson: attempt to fix ossfuzz builds
d18f993b3 github: master -> main
86799f554 meson: link with liblxc dynamically everywhere if possible
b90fecfda network: use IN_LIBLXC
9eee450d2 storage_utils: move get_fssize to utils
6eb0a73e2 storage_utils: unhide and rename is_valid_storage_type to 
lxc_is_valid_storage_type
42eeffcb0 confile: unhide lxc_config_parse_arch() helper
9bb318881 conf: reorganize/split code to utils.c
863c59dc3 conf: reorganize/split code to idmap_utils.c
b7591ad49 confile: unhide lxc_config_define*() helpers
f14656ebf meson: introduce IN_LIBLXC preprocessor macro
672b2172d confile: move lxc_fill_elevated_privileges() to tools/lxc_attach
8f9733d75 tests: remove old and broken cgroup handling code from tests
d51ea224e config: apparmor: add AppArmor profile for lxc-copy
627bb9460 tests: lxc-test-usernic: use iproute tool instead of brctl
df0665b6d oci: resolve cross-filesystem blob caching failure
ec85e5ca4 lxc-test-usernic: drop cgroup handling
27ec0b0f6 test-usernic: don't use ifconfig
44e845b3c Add x32 to the list of recognized architectures
07e3a516e lxc-download, lxc-local: preserve xattrs on unpack
9ac7c4895 tree-wide: use container_uses_namespace() in less trivial cases
64341ce7b tree-wide: use container_uses_namespace() helper
6b40e66c1 Fix error message.
c8189ee2a Add verbose output in download template.
84cc3155a Align columns in lxc-download.in template
872db5424 build: add more options for customizing install
df17ac417 Add loongarch64 support
112d5615e build(deps): bump actions/upload-artifact from 3 to 4
789457f1a config: try to create workdir if not exist
86f5c1226 lxc-local: Add --no-dev option to exclude /dev from the fstree
f885a3c56 lxc-local: Re-organize code to use more functions
7c025072e lxc-local: Improve usage info
faa38a197 lxc-local: Change LXC_CONFIG to LXC_METADATA to match args and be 
more clear
d65fe1b27 Disable IPv6 link-local addresses for bridged veth
8cff8fa1a don't try to delete vlan 0 from veth
0e932812a conf: fix ephemeral copies
abffab441 config/init: Drop upstart files
79a4a3cf8 doc: remove the warning mentionning upstart
7bf1695d0 hooks/ubuntu-cloud-prep: remove upstart handling
fb73c18d2 meson: Remove support for upstart
cc6819c69 reset root_nsuid_map and root_nsgid_map when idmaps is cleared
a87d6fcc9 lxc/checkconfig: use multiline `echo`
f3e01fa80 lxc/checkconfig: replace `echo -n` by printf
ba4f810bc lxc/checkconfig: minor cosmetic change
d52c345c8 lxc/checkconfig: avoid subshell (SC2235)
f84f03d1d lxc/checkconfig: remove superfluous (..) around test command (SC2234)
74b9faa64 lxc/checkconfig: check exit code directly (SC2181)
5cc69e440 lxc/checkconfig: replace `! -z` by `-n` (SC2236)
a4684eb11 lxc/checkconfig: add missing quotes to please shellcheck
8a611c0b2 lxc/checkconfig: remove some unneeded `echo -n`
cb2574319 lxc/checkconfig: replace `type` by `command`
003efe6db lxc/checkconfig: replace `cat | grep` with `grep`
adadfa372 lxc/lxccontainer: fix do_lxcapi_set_timeout retval
c02367e59 containers in the FREEZING state also need to be unfreeze
aca53bcf7 build(deps): bump actions/checkout from 3 to 4
84169158f lxccontainer.h: Move new fields to the end
e2696df93 Remove references to LXD