Gentoo Archives: gentoo-hardened

From: Alex Efros <powerman@××××××××××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] [Bug 134620] portage does not uninstall files that have been modified by paxctl or chpax
Date: Tue, 06 Jun 2006 14:07:37
Message-Id: 20060606140514.GK24322@home.power
1 Hi!
2
3 As kevquinn@g.o says, discussion about this bug probably should be
4 moved into hardened maillist:
5
6 Clear-Text: http://bugs.gentoo.org/show_bug.cgi?id=134620
7 Secure: https://bugs.gentoo.org/show_bug.cgi?id=134620
8
9 >>>
10
11 I think quick dirty fix can be as simple as:
12
13 ---/etc/portage/bashrc:---
14 if [ "${EBUILD_PHASE}" == "postinst" ]; then
15 /etc/set_pax
16 fi
17 ---cut---
18
19 but I'm not sure about sandbox paths at this stage - which path should be
20 used in /etc/set_pax script:
21 chpax -flags /usr/bin/SOMETHING
22 or
23 chpax -flags ${SOME_PORTAGE_PREFIX_VAR}/usr/bin/SOMETHING
24
25 --
26 WBR, Alex.
27 --
28 gentoo-hardened@g.o mailing list

Replies