Bug 10054

Summary: [FR] declare fuse fs_virtualized
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: kernel-feat-core-openvzAssignee: Sergey Vlasov <vsu>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P2 CC: dev, lakostis, sr
Version: unstable   
Hardware: all   
OS: Linux   
URL: http://forum.openvz.org/index.php?t=msg&goto=6963&#msg_6963
Attachments:
Description Flags
+ .fs_flags = FS_VIRTUALIZED none

Description Michael Shigorin 2006-09-29 14:55:29 MSD
While making LTSP installation in a VE more comfortable place, fuse was required
(for ltspfs).  Works fine on HN, but obviously not in VE.

This might just not work, but then it should be no worse (and will be reported).
 I've also suggested another filesystem testing workaround at %url.
Comment 1 Michael Shigorin 2006-09-29 14:57:02 MSD
Created attachment 1646 [details]
+ .fs_flags = FS_VIRTUALIZED

a hack
Comment 2 Michael Shigorin 2006-09-29 14:59:31 MSD
this requires modprobe fuse on HN and /dev/fuse (c 10 229) also being made
available to VE (--devnodes fuse:rw), so should be reasonably safe for strangers
Comment 3 Kirill Korotaev 2006-10-05 15:17:31 MSD
ACK: the proposed hack is safe enough, since requires explicit granting of
permissions to VE.

However, the correct way would be to virtualize FUSE correctly...
Added this to our TODO list, however this is low prio right now.
Comment 4 Michael Shigorin 2006-10-13 20:51:43 MSD
Thanks, Kirill.  Is there an OpenVZ FS virtualization HOWTO anywhere?

2 lakostis: would be nice to have in next ovz kernel, although maybe I'll care
myself (need local devices on terminals via ltspfs, hence the trouble).
Comment 5 Konstantin A Lepikhov (L.A. Kostis) 2006-10-15 16:26:31 MSD
Patch added to kernel-feat-core-openvz-026test019-alt1.
Comment 6 Kirill Korotaev 2006-10-16 14:01:05 MSD
Michael, no... not yet :(
I think it will be solved by us quite soon, while working on NFS.

In general idea is simple: global variables should be analyzed and if its
meaning is about some local activity (not global one), then virtualized (i.e.
remade to be dynamic. e.g. moved to ve_struct).