[Pkg-ltsp-devel] Bug#360249: unionfs "Permission Denied" bugfix

Dean Montgomery dmonty at sd73.bc.ca
Fri Mar 31 17:24:24 UTC 2006


Package: ltsp-client
Version: 0.82debian2

Problem:
Unionfs does not allow appending to files which breaks 
the /etc/init.d/ltsp-client-setup script.  You can duplicate the bug on the 
client machine by:
root at ltsp$ echo "test" >> /etc/issue
Permission denied.

Solution:
usr/share/ltsp-client/unionfs_cow line 20:

mount -t unionfs -o delete=whiteout,dirs=/cow=rw:${rootmnt}=ro unionfs 
${rootmnt}

** should read:

mount -t unionfs -o delete=whiteout,dirs=/cow=rw:${rootmnt}=nfsro unionfs 
${rootmnt}

This fixes the "Permission denied" errors seen 
in /etc/init.d/ltsp-client-setup when it tries to append to nfs files.

System info:
server: March 31 2006 debian "testing" pure AMD64 with nfs-kernel-server 
(1.0.7-3)

chroot client: March 31 2006 debian "testing" i386 linux-image-2.6.15-1-k7

See also:
http://www.fsl.cs.sunysb.edu/pipermail/unionfs/2006-March/002016.html


-- 

Dean Montgomery
Network Support Tech./Programmer
School District #73




More information about the Pkg-ltsp-devel mailing list