[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Plash] Using plash to overlay a filesystem
From: |
Thomas Leonard |
Subject: |
[Plash] Using plash to overlay a filesystem |
Date: |
Wed, 9 Jul 2008 21:41:29 +0100 |
I'm trying to use Plash to implement an overlay (like Klik). Some questions:
Some programs don't like running with a different user ID. e.g.
(gedit:12710): GLib-WARNING **: getpwuid_r(): failed due to unknown
user id (2092094)
Also, Orbit creates thousands of temporary directories, as it wants
one owned by itself.
I tried disabling the PID change with:
class SameProcessSpec(plash.process.ProcessSpecWithNamespace):
def _set_up_sandbox_prog(self):
pass
That works for the process itself, but the process can't spawn any
child processes. Any fix for that? (I'm not trying for security here;
this is for friendly programs)
The union mounts feature looks very useful. Is there a way to access
it from pola-run, or only though the Python API? Is it possible to
have writes go to the lower level? Some packages will probably want to
union onto /, but that shouldn't affect writes to /home, etc.
Thanks,
--
Dr Thomas Leonard ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
- [Plash] Using plash to overlay a filesystem,
Thomas Leonard <=