Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48138 - kth-krb-1.2.2-r1 dies with a sandbox violation
Summary: kth-krb-1.2.2-r1 dies with a sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High critical
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-17 09:32 UTC by Jason Wever (RETIRED)
Modified: 2004-04-30 17:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for the kth-krb ebuild that fixes the sandbox violation (kth-krb-1.2.2-r1.diff,507 bytes, patch)
2004-04-28 19:26 UTC, Jason Wever (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wever (RETIRED) gentoo-dev 2004-04-17 09:32:12 UTC
kth-krb-1.2.2-r1 currently fails to install due to a sandbox violation for trying to create directoies and install manpages into the root filesystem during make install.  This happens on ~x86 and ~sparc for me with the following Access Violation Summary;



--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-crypt_-_kth-krb-1.2.2-r1-718.log"
                  
open_wr:   /usr/share/man/cat3/getarg.3
symlink:   /usr/share/man/man3/arg_printusage.3
symlink:   /usr/share/man/cat3/arg_printusage.3
open_wr:   /usr/share/man/man3/getarg.3
--------------------------------------------------------------------------------
Comment 1 Stefan 2004-04-23 08:46:23 UTC
/bin/sh ../../cf/install-catman.sh "/bin/install -c -m 644" "/bin/sh ../../mkinstalldirs" "." "/usr/share/man" '$section' getarg.3
/bin/install -c -m 644 ./getarg.cat3 /usr/share/man/cat3/getarg.3
ACCESS DENIED  open_wr:   /usr/share/man/cat3/getarg.3
/bin/install: cannot create regular file `/usr/share/man/cat3/getarg.3': Permission denied
ln: accessing `/usr/share/man/man3/getarg.3': No such file or directory
ACCESS DENIED  symlink:   /usr/share/man/man3/arg_printusage.3
ln: creating symbolic link `/usr/share/man/man3/arg_printusage.3' to `getarg.3': Permission denied
cp: cannot stat `/usr/share/man/man3/getarg.3': No such file or directory
ln: accessing `/usr/share/man/cat3/getarg.3': No such file or directory
ACCESS DENIED  symlink:   /usr/share/man/cat3/arg_printusage.3
ln: creating symbolic link `/usr/share/man/cat3/arg_printusage.3' to `getarg.3': Permission denied
cp: cannot stat `/usr/share/man/cat3/getarg.3': No such file or directory
/bin/sh ../../mkinstalldirs /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include
 /bin/install -c -m 644 base64.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/base64.h
 /bin/install -c -m 644 getarg.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/getarg.h
 /bin/install -c -m 644 parse_bytes.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/parse_bytes.h
 /bin/install -c -m 644 parse_time.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/parse_time.h
 /bin/install -c -m 644 parse_units.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/parse_units.h
 /bin/install -c -m 644 resolve.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/resolve.h
 /bin/install -c -m 644 roken-common.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/roken-common.h
 /bin/install -c -m 644 rtbl.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/rtbl.h
 /bin/install -c -m 644 xdbm.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/xdbm.h
 /bin/install -c -m 644 glob.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/glob.h
 /bin/install -c -m 644 vis.h /var/tmp/portage/kth-krb-1.2.2-r1/image//usr/athena/include/vis.h
/bin/sh ../../mkinstalldirs /usr/share/man/man3
 /bin/install -c -m 644 ./getarg.3 /usr/share/man/man3/getarg.3
ACCESS DENIED  open_wr:   /usr/share/man/man3/getarg.3
/bin/install: cannot create regular file `/usr/share/man/man3/getarg.3': Permission denied
make[3]: *** [install-man3] Error 1
make[3]: Leaving directory `/var/tmp/portage/kth-krb-1.2.2-r1/work/krb4-1.2.2/lib/roken'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/kth-krb-1.2.2-r1/work/krb4-1.2.2/lib/roken'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kth-krb-1.2.2-r1/work/krb4-1.2.2/lib'
make: *** [install-recursive] Error 1


Stargate root # ls -la /usr/share/man/cat3
total 12
drwxrwxrwx    2 root     root         4096 Dec 22 14:06 .
drwxr-xr-x   39 root     root         4096 Jan 29 05:55 ..
-rwxrwxrwx    1 root     root         1153 Dec 22 14:06 fltk.3.gz
Comment 2 Jason Wever (RETIRED) gentoo-dev 2004-04-28 19:26:34 UTC
Created attachment 30293 [details, diff]
patch for the kth-krb ebuild that fixes the sandbox violation
Comment 3 Jason Wever (RETIRED) gentoo-dev 2004-04-28 19:27:21 UTC
The attached patch fixes the sandbox violation.  Please apply to the ebuild.  Thanks.
Comment 4 Ryan Phillips (RETIRED) gentoo-dev 2004-04-30 17:17:25 UTC
Committed