All of lore.kernel.org
 help / color / mirror / Atom feed
* package configuration (for dpkg - rpm will have the same issues)
@ 2002-03-14 17:28 Russell Coker
  2002-03-15 14:00 ` Stephen Smalley
  0 siblings, 1 reply; 18+ messages in thread
From: Russell Coker @ 2002-03-14 17:28 UTC (permalink / raw)
  To: SE Linux

When a package is installed in Debian scripts are run before and after the 
installation.  Among other things the pre-install script will often stop a 
daemon and the post-install script will start it again.

The problem comes when some scripts start daemons in such a fashion that the 
start script can't get standard input for run_init...

To solve this I was thinking of having an automatic transition from sysadm_t 
to dpkg_t when dpkg_exec_t programs are run.  Then there would be an 
automatic transition from dpkg_t when running initrc_exec_t binaries (all the 
start scripts) which stops run_init from needing a password.

What do you think of this idea?

If no-one comes up with a flaw in this idea then I'll implement it, and then 
it can be copied to an rpm script (both dpkg and rpm perform the same tasks 
using similar methods so their configuration should be very similar).

Also of course I'll set it up such that only dpkg can change it's own 
database etc (the usual boring things).

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.

--
You have received this message because you are subscribed to the selinux list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2002-03-22 14:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14 17:28 package configuration (for dpkg - rpm will have the same issues) Russell Coker
2002-03-15 14:00 ` Stephen Smalley
2002-03-15 23:19   ` Russell Coker
2002-03-18 21:38     ` Stephen Smalley
2002-03-20  0:11     ` Shaun Savage
2002-03-20  9:41       ` Russell Coker
2002-03-20 12:36         ` Shaun Savage
2002-03-20 13:35           ` Russell Coker
2002-03-20 14:26             ` Shaun Savage
2002-03-20 15:31               ` Russell Coker
2002-03-20 16:03                 ` Shaun Savage
2002-03-20 16:43                   ` Russell Coker
2002-03-20 16:47             ` Stephen Smalley
2002-03-20 17:12               ` Russell Coker
2002-03-20 17:48                 ` Stephen Smalley
2002-03-22 14:08                   ` Dale Amon
2002-03-22 14:44                     ` Stephen Smalley
2002-03-22 14:54                     ` Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.