[Xfce-bugs] [Bug 724] xfce fails on automounted (NFS) home-directories.

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jan 19 21:09:15 CET 2005


http://bugzilla.xfce.org/show_bug.cgi?id=724





------- Additional Comments From bjt23 at cornell.edu  2005-01-19 20:09 UTC -------
(In reply to comment #3)
> If we did explicit mounting of home-directories, we would have approximatly
> 10000 nfs-mounts on every machine. Resulting in very heavy nfs-traffic.

er...  there isn't a way to unmount the homedir after the user logs out?  or
after some inactivity timeout?  isn't that what automount does anyway?

> A better fix would probably be to do a stat() and see if a mkdir() is really
> necessary for every part of the path given to xfce_mkdirhier().

that makes sense.  it'll be a little slower, probably, but it only has to run once.

>  > at any rate, i don't think it's an incorrect assumption to make that the
>  > parent dir of $XDG_CONFIG_HOME should already exist when we start xfce.
> 
> I totaly agree, but this is *not* what you do in the code.
> The code assumes that no directories at all exist on the filesystem.

right, because it's a generic implementation of mkdirhier() - taken verbatim
from glibc, actually, IIRC.  or maybe it's BSD's libc.  still, if we assume that
$XDG_CONFIG_HOME's parent is already available (and properly mounted), it will
work properly as-is.

anyway, it's up to benny.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Xfce-bugs mailing list