public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Testing to see if services have crashed on hardened
@ 2008-03-21 10:20 Roy Marples
  2008-03-21 10:37 ` Fabian Groffen
  2008-03-21 10:44 ` Natanael Copa
  0 siblings, 2 replies; 17+ messages in thread
From: Roy Marples @ 2008-03-21 10:20 UTC (permalink / raw
  To: gentoo-dev

Hi List.

I've just removed the code to check for euid when running services and instead 
relying on permissions of the service state dir and testing errno. This is a 
good thing, but it does have one side effect.

OpenRC can track daemons by how they were started. So every time you run 
rc-status it tests each reported service to ensure all daemons are up.  This 
also works fine unprivileged on normal boxes - except for hardened where 
users can only see their own processes.

This isn't really an easy answer, as we could have installed OpenRC in a 
prefix where this wouldn't apply, but we don't know that either.

Ideas anyone?

Thanks

Roy
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2008-03-25 19:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 10:20 [gentoo-dev] Testing to see if services have crashed on hardened Roy Marples
2008-03-21 10:37 ` Fabian Groffen
2008-03-21 12:07   ` Roy Marples
2008-03-22 10:27     ` [gentoo-dev] Why no updates on delay of 2008.0 release Ben de Groot
2008-03-22 15:39       ` Sylvain Alain
2008-03-22 21:34         ` [gentoo-dev] " Duncan
2008-03-22 18:54       ` Christian Faulhammer
2008-03-23  2:01       ` [gentoo-dev] " Chrissy Fullam
2008-03-23  5:54         ` [gentoo-dev] " Duncan
2008-03-23 12:17         ` [gentoo-dev] " Richard Freeman
2008-03-23 12:26           ` Ciaran McCreesh
2008-03-23 13:00           ` Ben de Groot
2008-03-25 19:45     ` [gentoo-dev] Testing to see if services have crashed on hardened Fabian Groffen
2008-03-21 10:44 ` Natanael Copa
2008-03-21 12:08   ` Roy Marples
2008-03-21 12:39     ` Natanael Copa
2008-03-21 13:08       ` Roy Marples

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox