Summary: | app-backup/amanda-3.2.[12] EXTRA_ECONF=--with-dump-honor-nodump - /usr/sbin/dump 9Sf /dev/null /dev/null/invalid/fs : sandbox violation for /etc/blkid.tab | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Head <bugs> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | app-backup, dustin, lists, scott |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | The requested build log |
Description
Christopher Head
2011-07-24 08:45:40 UTC
Attach full build.log please Created attachment 280975 [details]
The requested build log
By the way, I commented out the EXTRA_ECONF assignment and tried again and the sandbox violation still occurs. Presumably this is a config/data file for /usr/sbin/dump. Probably the easiest fix for Amanda is just to remove the check invoking it, and replace it with a fixed result. As a workaround, I just ran a dump of /dev/null to /dev/null to get blkid.tab kicked into place; after that was done, the install worked fine. A similar thing [still] happens with app-backup/amanda-3.3.1; but now it fails with mkdir of /run/blkid (for /run/blkid/blkid.tab, apparently the now location for this file). As Christopher said, running '/usr/sbin/dump 9Sf /dev/null /dev/null/invalid/fs' once (as root) is a workaround, since it creates the required files and allows a subsequent amanda build to continue. To reproduce the bug in a development scenario, remove the /run/blkid directory or the /etc/blkid.tab file (whichever is used on your system), this will immediately trigger the sandbox violation when trying to emerge amanda. amanda now has addpredict calls for this. Appears to work, thank you! |