Research Menu

.
Skip Search Box

SELinux Mailing List

Re: mysql policy

From: Russell Coker <russell_at_coker.com.au>
Date: Mon, 28 Oct 2002 14:47:09 +0100


On Mon, 28 Oct 2002 13:58, Tom wrote:
> On Mon, Oct 28, 2002 at 01:24:12PM +0100, Russell Coker wrote:
> > It's not that uncommon for an init script to read the config file before
> > starting a daemon. I'll change my policy in that regard.
>
> Right. The thing is, this is the mysqladmin program, not mysqld -
> mysqladmin is a commandline tool to administrate the database. Not sure
> if they should run in the same domain. Right now, mysqladmin is just a
> regular tool, i.e. bin_t.

Being in bin_t means of course that there's no domain transition.

Maybe the right thing to do would be to have a separate domain for mysql admin, so initrc_t transitions to mysqld_admin_t which then transitions to mysqld_t when it runs the database server.

I haven't got into these things in any detail, you're probably the best person to work on this.

> Funny thing is, it worked flawlessly on friday. I made an update
> earlier today, so maybe a recent change broke it?

That's not uncommon. Debian/unstable changes fast.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
This message was distributed to subscribers of the selinux mailing 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.
Received on Mon 28 Oct 2002 - 08:58:40 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service