[lxc/lxc] 8ee615: add check for statvfs

0 views
Skip to first unread message

Christian Brauner

unread,
Jul 1, 2022, 8:57:58 AM7/1/22
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 8ee615c27d4e646b13a767ffc59823262b38427d
https://github.com/lxc/lxc/commit/8ee615c27d4e646b13a767ffc59823262b38427d
Author: Wolfgang Bumiller <w.bum...@proxmox.com>
Date: 2022-07-01 (Fri, 01 Jul 2022)

Changed paths:
M meson.build

Log Message:
-----------
add check for statvfs

we use HAVE_STATVFS in the code but with meson the check got
lost causing mount_entry to fail to remount some things such
as a bind mount of /dev/fuse via

lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file 0 0

which would cause the following log messages:

DEBUG conf - ../src/lxc/conf.c:mount_entry:2416 - Remounting "/dev/fuse" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/fuse" to respect bind or remount options
ERROR conf - ../src/lxc/conf.c:mount_entry:2459 - Operation not permitted - Failed to mount "/dev/fuse" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/fuse"

note that the `Flags for ... were ...` line is not showing
up there, which depends on HAVE_STATVFS

Signed-off-by: Wolfgang Bumiller <w.bum...@proxmox.com>


Commit: cf1f3bc45904a7a6c58f942f7500ed2a4577dcb0
https://github.com/lxc/lxc/commit/cf1f3bc45904a7a6c58f942f7500ed2a4577dcb0
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2022-07-01 (Fri, 01 Jul 2022)

Changed paths:
M meson.build

Log Message:
-----------
Merge pull request #4159 from Blub/meson/statvfs

add check for statvfs


Compare: https://github.com/lxc/lxc/compare/a5e32dabc641...cf1f3bc45904
Reply all
Reply to author
Forward
0 new messages