Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415511 - rsbac-admin - add rklogd support and remove the enewuser
Summary: rsbac-admin - add rklogd support and remove the enewuser
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-11 21:01 UTC by Jens Kasten
Modified: 2012-05-19 20:34 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Kasten 2012-05-11 21:01:00 UTC
Small changes on rsbac-admin to only install it on the system.
Like this: 
http://kasten-edv.de/download/gentoo/sys-apps/rsbac-admin/
Comment 1 Anthony Basile gentoo-dev 2012-05-12 14:02:04 UTC
Two questions before I put this on the tree:

1) Can we get away without spawning a subshell in src_install() when we have use pam or use rklogd?  In other works, do

	use pam && {
		insinto /etc
		doins "${FILESDIR}"/rsbac.conf
	}


2) Why did you remove pkg_postinst() with all the enew{group,user} secoff and audit stuff?
Comment 2 Jens Kasten 2012-05-14 22:32:38 UTC
to 1.)
yes i removed the use pam check

to 2.)
better do a hint while installing the rsbac-admin on the end that a security user have to added
the uid for the security user is set by default to 400 but is free to choose in kernel configuration
Comment 3 Anthony Basile gentoo-dev 2012-05-15 10:48:55 UTC
(In reply to comment #2)
> to 1.)
> yes i removed the use pam check
> 
> to 2.)
> better do a hint while installing the rsbac-admin on the end that a security
> user have to added
> the uid for the security user is set by default to 400 but is free to choose
> in kernel configuration

Looks like we should have a pkg_postinst() message to alert the reasder about the security user.  Can you suggest something (don't worry about your english :)  Just tell me what we need to tell the user to do after the package is installed.  Manually create a security user and make sure it is set to the same value as the kernel config?
Comment 4 Anthony Basile gentoo-dev 2012-05-15 18:40:42 UTC
Okay its in the tree, but I did clean up some of the code in both the ebuild and the initd script.  Please look it over and test it, and if it works for you, then enjoy! else reopen this bug.
Comment 5 Anthony Basile gentoo-dev 2012-05-19 20:34:30 UTC
<igraltist> blueness: rsbac-admin works nice thx
<blueness> igraltist, good, cloing the bug