Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73928 - sys-fs/raidtools-1.00.3-r2 device creation
Summary: sys-fs/raidtools-1.00.3-r2 device creation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 11:20 UTC by Bryan Stine (RETIRED)
Modified: 2005-02-11 18:08 UTC (History)
0 users

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


Attachments
raidtools-1.00.3-r2.ebuild.patch (raidtools-1.00.3-r2.ebuild.patch,360 bytes, patch)
2004-12-09 11:20 UTC, Bryan Stine (RETIRED)
Details | Diff
raidtools-1.00.3-r2.ebuild.patch (raidtools-1.00.3-r2.ebuild.patch,360 bytes, patch)
2004-12-09 11:40 UTC, Bryan Stine (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Stine (RETIRED) gentoo-dev 2004-12-09 11:20:08 UTC
Mornin,

In src_install, the ebuild issues 'make install', immediately followed by 'rm -rf ${D}/dev'. This causes a failure on selinux machines in enforcing mode. It's also a couple of unnecessary steps in installation.

Attached is a patch to solve these problems. Since 'make install' will simply go through four individual targets (all, install_bin, install_doc, install_dev), I've changed that line to 'make all install_bin install_doc'. That makes the rm -rf unnecessary as well as skipping device creation, solving the selinux problem.

Thanks.
Comment 1 Bryan Stine (RETIRED) gentoo-dev 2004-12-09 11:20:31 UTC
Created attachment 45612 [details, diff]
raidtools-1.00.3-r2.ebuild.patch
Comment 2 Bryan Stine (RETIRED) gentoo-dev 2004-12-09 11:40:21 UTC
Created attachment 45613 [details, diff]
raidtools-1.00.3-r2.ebuild.patch

whoopsie, the other one was backwards. this one goes the right direction ;)
Comment 3 SpanKY gentoo-dev 2005-02-11 18:08:09 UTC
fixed in -r3 with a sed mknod -> echo