All of lore.kernel.org
 help / color / mirror / Atom feed
* transactions in semanage
@ 2010-07-18 12:05 Russell Coker
  2010-07-18 17:54 ` Kyle Moffett
  0 siblings, 1 reply; 4+ messages in thread
From: Russell Coker @ 2010-07-18 12:05 UTC (permalink / raw)
  To: SE-Linux

Has anyone considered a batch/transaction interface for semanage?

The idea would be that you could redirect input from a script containing a 
list of commands, and either all of them would succeed and be committed to 
disk or none of the changes would apply and an error message would inform the 
user of the cause of the problem.

The first benefit of this would be an improvement in run-time.  Currently 
semanage can be quite time consuming on a low-end system and if you have a 
large number of commands to run (EG a for loop that has each iteration adding 
a number of fcontext rules or user identities) then it could be a real drag.

But having the transactional property as well would also be a good benefit.  
While it's possible to implement the same thing in shell code a basic 
transactional property would be handy - and save shell coding errors.

-- 
russell@coker.com.au
http://etbe.coker.com.au/          My Main Blog
http://doc.coker.com.au/           My Documents Blog

--
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.

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

end of thread, other threads:[~2010-07-20  2:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-18 12:05 transactions in semanage Russell Coker
2010-07-18 17:54 ` Kyle Moffett
2010-07-19 13:58   ` Daniel J Walsh
2010-07-20  2:37     ` 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.