]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - TODO
Merge branch 'lxc'
[projects/rc-scripts.git] / TODO
diff --git a/TODO b/TODO
index bdc0c7e5fad5946906bd264c132b351304eb8c4f..6b1bc6bb37544790690f8a8654debe15fa5a479b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,18 +1,35 @@
-$Id$
-
 Important:
 - don't set any flags automatically; always follow user
   suggestion (multicast, arp)
 - merge baggins changes in atm-rc (added support for RFC1483/2684 Bridged
   protocol)
-
-Not realy important but mayby nice:
-- Add checking for privileges during restarting
-  and if they are not enough say fuck off in a
-  nice way.
-
+- killproc() sucks and has no consistency, error reporting
+  you'll never know which side of PROCNAME you should add the --waitforname or -SIGNAL args
+  because if you put -SIGNAL at wrong side of PROGNAME it will enter infinitive loop:
+    killproc -TERM --waitforname slapd --waitfortime 300 slapd
+  if you put --waitforname at wrong side, it will just ignore them:
+    killproc slapd -TERM --waitforname slapd --waitfortime 300
+  while correct would be:
+    killproc --waitforname slapd --waitfortime 300 slapd -TERM
+- switch to use __umount_*loop instead of own umount loop when stopping system
+- rc-scripts won't work if /dev/console is invalid (for example I made typo when configuring serial
+  console, console=ttys1,... instead of console=ttyS1) - rc.d/rc uses /dev/console a lot
 
 Other:
 - maybe merge ATM rc scripts
 
 We are waiting for suggestions.
+
+upstart:
++upstart_controlled --except reload
++
++# return true if service is considered "up"
++# with upstart, upstart is consulted
++# otherwise lockfile in subsys must exist
++is_service_up() {
++      use_upstart && is_upstart_running "$1" || [ -f /var/lock/subsys/"$1" ]
++}
++
+
+from nscd.init
+
This page took 0.034644 seconds and 4 git commands to generate.