Bug 85682 - squashfs-tools src_test() has sandbox errors
Bug#: 85682 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: livecd@gentoo.org Reported By: ferret@explodingferret.com
Component: Ebuilds
URL: 
Summary: squashfs-tools src_test() has sandbox errors
Keywords:  
Status Whiteboard: 
Opened: 2005-03-17 14:01 0000
Description:   Opened: 2005-03-17 14:01 0000
I can't paste the error because I just broke my loop devices and so can't
recreate it any more.  But it was recreatable.

You get errors because it accesses these files:
/lib/modules/2.6.10-gentoo-r7/kernel/fs/squashfs/squashfs.ko
/etc/mtab

on these lines of the ebuild:
modprobe squashfs || ewarn "no squashfs modules - test not completed"
umount ${T}/squashfs_dir

The second can be fixed easily by passing -n to umount.  The first requires you
to either skip the test if sandboxing is enabled, or addwrite (don't know how
that works though).

------- Comment #1 From Chris Gianelloni (RETIRED) 2005-05-16 10:47:36 0000 -------
I've actually disabled the testing, sine it seemed easier to do then to
troubleshoot, and I personally don't have the time to perform a proper fix.