Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46426 - env_audit-2.0.ebuild (New Package)
Summary: env_audit-2.0.ebuild (New Package)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: solar (RETIRED)
URL: http://www.web-insights.net/env_audit/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-03-31 17:05 UTC by Stoyan Zhekov (RETIRED)
Modified: 2004-05-11 18:51 UTC (History)
0 users

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


Attachments
env_audit-2.0.ebuild (New Package) (env_audit-2.0.ebuild.tgz,10.00 KB, application/x-compressed)
2004-03-31 17:08 UTC, Stoyan Zhekov (RETIRED)
Details
env_audit-2.0.ebuild (New Package) (env_audit-2.0.ebuild,1.03 KB, text/plain)
2004-04-01 17:14 UTC, Stoyan Zhekov (RETIRED)
Details
env_audit-2.0 patch (env_audit-2.0-destdir.patch,1.80 KB, patch)
2004-04-01 17:16 UTC, Stoyan Zhekov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stoyan Zhekov (RETIRED) gentoo-dev 2004-03-31 17:05:29 UTC
Please find attached env_audit-2.0.ebuild.tgz. It contains ebuild and related files/patches.

Env_audit is a program that ferrets out everything it can about the environment. It is ideal for looking for security problems due to misconfiguration or software bugs. Software developers that write any program that shells out to run a command should be audited with this software.
Comment 1 Stoyan Zhekov (RETIRED) gentoo-dev 2004-03-31 17:08:28 UTC
Created attachment 28476 [details]
env_audit-2.0.ebuild (New Package)
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-01 15:11:41 UTC
zhware, please don't attach tarballs to bug reports -- just plaintext please
Comment 3 Stoyan Zhekov (RETIRED) gentoo-dev 2004-04-01 17:14:46 UTC
Created attachment 28540 [details]
env_audit-2.0.ebuild (New Package)

plain text only attachements
Comment 4 Stoyan Zhekov (RETIRED) gentoo-dev 2004-04-01 17:16:21 UTC
Created attachment 28542 [details, diff]
env_audit-2.0 patch

correct destination path in Makefile-s
Comment 5 solar (RETIRED) gentoo-dev 2004-04-01 23:44:04 UTC
Ok I got the ebuild to build over here for me, but I changed a few things.

in your patch I notice you remove the CFLAGS -O2 -fPIC and replaced 
it with $(CFLAGS).. We need to leave in leave in -fPIC cuz this is a .so
reason more or less explain here.
http://www.gentoo.org/proj/en/hardened/pic-internals.xml
I then noticed that the documentation had been installed as mode 600
I'm not sure but maybe this command had something to do with it.
-	$(INSTALL_CMD) -m 644 env_audit_prep $(HOME)

Last.. I can't seem to get any output from this..
Could you paste some working examples of how we could use and or take 
advantage of this software?
Comment 6 Stoyan Zhekov (RETIRED) gentoo-dev 2004-04-02 20:47:12 UTC
Results:
1. sudo test (what environment have users when execute sudo).
a) in /etc/sudoers:

stoyan ALL=/usr/bin/env_audit

b) > sudo -u root /usr/bin/env_audit

c) result: http://dev.gentoo.org/~zhware/env_audit/sudo_env.txt

2. crond test - in what environment runs the scripts, started by cron

a) current time: 19:33

b) crontab -e (start env_audit after several minutes - 19:40)

40 19 * * * /usr/bin/env_audit

c) result: http://dev.gentoo.org/~zhware/env_audit/cron_env.txt
Comment 7 solar (RETIRED) gentoo-dev 2004-04-27 21:42:21 UTC
Hey wait a sec.. What kinda game is this?
Stoyan(zhware@gentoo) Why is this assigned to me? As far as I can tell your a 
gentoo developer. Any reason you can not adding this to portage my friend?
Comment 8 Stoyan Zhekov (RETIRED) gentoo-dev 2004-04-28 07:19:35 UTC
> As far as I can tell your a gentoo developer. Any reason you can not adding this to portage my friend?
Because:
1. I haven't commit permission to portage
2. The ports target is environment audits, so it's more or less security related and a./can be used from the gentoo-hardened project (and go to portage) or b./ is not useful = will die and bug will be closed. I'm not a member of the team so I cannot decide this.
3. Somebody already decided, that I'm not enough informed/trusted/qualified and assigned the bug to you => you are "the man in charge" in the moment.
Comment 9 Stoyan Zhekov (RETIRED) gentoo-dev 2004-05-11 18:51:49 UTC
Seems not a big interest here. Better to close the bug.