mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +00:00
Correctly handle '*' in /etc/filesystems
The /etc/filesystems file can contain a '*' on the last line to indicate that /proc/filessystems should be tried next. We have a check that this '*' only occurs on the last line. Unfortunately when we then start reading /proc/filesystems, we mistakenly think we've seen '*' in /proc/filesystems and fail * src/lxc/lxc_container.c: Skip '*' validation when we're reading /proc/filesystems
This commit is contained in:
parent
065ecf5162
commit
a02f57faa9
@ -700,7 +700,7 @@ retry:
|
||||
/*
|
||||
* /etc/filesystems is only allowed to contain '*' on the last line
|
||||
*/
|
||||
if (gotStar) {
|
||||
if (gotStar && !tryProc) {
|
||||
lxcError(VIR_ERR_INTERNAL_ERROR,
|
||||
_("%s has unexpected '*' before last line"),
|
||||
fslist);
|
||||
|
Loading…
x
Reference in New Issue
Block a user