Gentoo Archives: gentoo-hardened

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] die() required on pax-mark?
Date: Sat, 19 Oct 2013 18:20:47
Message-Id: 5262CD74.3080102@orlitzky.com
1 Due to my own stupidity (forgot to mount ext3 with -o user_xattr), I
2 noticed that many ebuilds call pax-mark without a corresponding "||
3 die". Since pax-mark returns non-zero on failure, does not die itself,
4 and is most likely required for the package to work, it seems like the
5 'die' should be there.
6
7 Agreed? I could start filing bugs against the individual packages. The
8 eclass docs are pretty clear to me, but maybe @hardened can add a note
9 that 'die' is required on pax-mark?
10
11 Or perhaps the function should die on its own? I believe the error
12 message would be consistent; it might not make sense to add the same
13 'die' to every ebuild.

Replies

Subject Author
Re: [gentoo-hardened] die() required on pax-mark? "Anthony G. Basile" <basile@××××××××××××××.edu>