Re: [pve-devel] [PATCH v2 container] fix #4192: revamp check for systemd version

2022-09-13 Thread Fabian Grünbichler
On September 12, 2022 4:01 pm, Thomas Lamprecht wrote: > Am 12/09/2022 um 14:41 schrieb Fabian Grünbichler: >>> Instead of iterating through several folders, it might just be easier to >>> check the ldd output of /sbin/init and getting the version from there. >>> Furthermore, the regex for checking

Re: [pve-devel] [PATCH v2 container] fix #4192: revamp check for systemd version

2022-09-12 Thread Thomas Lamprecht
Am 12/09/2022 um 14:41 schrieb Fabian Grünbichler: >> Instead of iterating through several folders, it might just be easier to >> check the ldd output of /sbin/init and getting the version from there. >> Furthermore, the regex for checking the version has been adapted so that >> it's more precise.

Re: [pve-devel] [PATCH v2 container] fix #4192: revamp check for systemd version

2022-09-12 Thread Fabian Grünbichler
On September 12, 2022 2:25 pm, Leo Nunner wrote: > Instead of iterating through several folders, it might just be easier to > check the ldd output of /sbin/init and getting the version from there. > Furthermore, the regex for checking the version has been adapted so that > it's more precise. ldd i

[pve-devel] [PATCH v2 container] fix #4192: revamp check for systemd version

2022-09-12 Thread Leo Nunner
Instead of iterating through several folders, it might just be easier to check the ldd output of /sbin/init and getting the version from there. Furthermore, the regex for checking the version has been adapted so that it's more precise. Signed-off-by: Leo Nunner --- This solution does actually fee