From 8499775037f6fbcae722a2ae43f4d3e78ff443ae Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 21 Nov 2012 16:35:23 +0100 Subject: disclaimers --- DISCLAIMER | 9 +++++++++ README | 10 +++++++++- exmachina.py | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 DISCLAIMER diff --git a/DISCLAIMER b/DISCLAIMER new file mode 100644 index 0000000..a775b14 --- /dev/null +++ b/DISCLAIMER @@ -0,0 +1,9 @@ + +ACHTUNG! +WARNING! +DANGER! + +This code is hackish and not "production quality. It represents a potential +approach to a specific problem (privilage seperation for system configuration). +It has not been extensively reviewed or tested and does not represent a known +best practice. diff --git a/README b/README index d7efd2f..8ca6339 100644 --- a/README +++ b/README @@ -6,6 +6,14 @@ by the hand of root + + + + ! ! ! ! ! ! ! ! ! ! ! ! ! ! + ! ! ! READ ./DISCLAIMER ! ! ! + ! ! ! ! ! ! ! ! ! ! ! ! ! ! + + ### Status Basic server and client functionality implemented. Crude, and far more simple @@ -16,7 +24,7 @@ Features: * call augeas API: match, set, setm, get, save, move, insert, remove * call init.d service scripts: status, start, stop, restart -TODO: +TBD: * use /var/lib/exmachina/ as socket instead of /tmp/exmachina.sock? ### Dependancies (server) diff --git a/exmachina.py b/exmachina.py index fa17c7c..1656c5e 100755 --- a/exmachina.py +++ b/exmachina.py @@ -75,7 +75,7 @@ def execute_service(servicename, action, timeout=10): (timeout, command_list)) stdout, stderr = proc.communicate() - # TODO: should raise exception here if proc.returncode != 0? + # TBD: should raise exception here if proc.returncode != 0? return stdout, stderr, proc.returncode def execute_apt(packagename, action, timeout=120, aptargs=['-q', '-y']): -- cgit v1.2.3