Am 21/09/2022 um 09:53 schrieb Wolfgang Bumiller: > Since even in pure unified layouts there may be a > `name=systemd` v1 cgroup mounted additionally (manually or > potentially via systemd-nspawn apparently), we should check > what's actually mounted at `/sys/fs/cgroup` rather than > whether v1 cgroups exist. > > Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com> > --- > src/PVE/CGroup.pm | 27 ++++++++++++++++++--------- > 1 file changed, 18 insertions(+), 9 deletions(-) > >
applied, thanks! > + my $mounts = PVE::ProcFSTools::parse_proc_mounts(); > + for my $entry (@$mounts) { > + my ($what, $dir, $fstype, $opts) = @$entry; style nit: we nowadays try to use $foo->@* for new additions, but really no hard feelings so I kept it as is. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel