Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-25 | Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups. | Roy Marples | |
2007-09-21 | Use a pty for prefixed output instead of pipes for stdout/stderr. This | Roy Marples | |
is so that programs can get information about the controlling terminal. This change was triggered by bug #188506 where it's possible that stdin, stdout and stderr didn't point to a terminal but ended up on one via our pipes. Using a pty means that stdout and stderr always point to a terminal, but we lose the ability to tell them apart. If there is not a pty available then we use un-prefixed output as normal. This change has also introduced the need for a signal pipe so that SIGCHLD can exit the loop cleanly. | |||
2007-09-18 | Don't be an ass - don't free the 2nd list. Instead just empty it. | Roy Marples | |
2007-09-18 | Match the recent api change to rc_strlist_join also. We now free the 2nd ↵ | Roy Marples | |
list for ease of use. | |||
2007-09-18 | API change! rc_config_env is renamed to rc_make_env and takes no argument. | Roy Marples | |
2007-09-18 | API change! rc_strlist_add and friends now take char *** instead of | Roy Marples | |
char ** and return a pointer to the item added instead of the new list head. This is so we can easily tell if the item was successfully added or not instead of iterating through the list looking for it. list = rc_strlist_add (list, item); becomes rc_strlist_add (&list, item); | |||
2007-08-28 | Undocument pause action, fix --nodeps and --ifstarted, #190045. | Roy Marples | |
2007-08-17 | Mark the right service as failed and only output a new line if we outputted ↵ | Roy Marples | |
anything at all for /etc/init.d/foo needsme | |||
2007-08-17 | When shutting down, stop the service even if dependants failed. | Roy Marples | |
2007-08-09 | Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to ↵ | Roy Marples | |
achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code. | |||
2007-08-08 | Plug a leek for non selinux linux systems | Roy Marples | |
2007-08-07 | More pppd fixes | Roy Marples | |
2007-07-31 | All our binaries are now mulicalls into rc, which makes our on disk size | Roy Marples | |
a lot smaller. | |||
2007-07-21 | RC_DEPEND_STRICT now controls dependency strictness. | Roy Marples | |
If yes then we only use services in the boot and default runlevels, regradless of service state. If no then we take into account coldplugged services and the state of currently running services. Fixes #185640. | |||
2007-07-11 | Fix restarting services with plugins | Roy Marples | |
2007-07-11 | Punt the dodgy ebuffer code. We now force prefixing for parallel starts ↵ | Roy Marples | |
which also reduces our variable pollution. | |||
2007-07-10 | Allow non root users to describe | Roy Marples | |
2007-07-10 | init scripts and their extra options can now have descriptions, #184327. | Roy Marples | |
2007-07-10 | Support /etc/init.d/foo ineed and friends again. | Roy Marples | |
2007-07-06 | Of course, glibc does not have strlcpy | Roy Marples | |
2007-07-06 | Make the prefix length dynamic | Roy Marples | |
2007-07-04 | As we're running each plugin in a fork, we need to call our cleanup code so ↵ | Roy Marples | |
we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly. | |||
2007-07-04 | We need the full path to the service before chdir / | Roy Marples | |
2007-07-03 | We still need to wait for services we need/use | Roy Marples | |
2007-07-02 | Don't wait for services that were inactive, #183667 thanks to Daniel Drake | Roy Marples | |
2007-07-02 | Fix error and only let root run init commands except for status and help | Roy Marples | |
2007-06-26 | Change pwd to / for all init scripts, #181224. | Roy Marples | |
2007-05-15 | /etc/conf.d/rc.$runlevel now works, #177869. | Roy Marples | |
2007-05-14 | Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks ↵ | Roy Marples | |
to drizztbsd for find public domain code :) | |||
2007-05-14 | Use correct function casts. Use dlfunc where available to remove ISO warnings :) | Roy Marples | |
2007-05-14 | Allow time for pidfiles to be created, #178274. | Roy Marples | |
Use int instead of char for getopt, #178084 thanks to drizztbsd. | |||
2007-04-30 | restart/schedule stopped services when the trigger service goes inactive on ↵ | Roy Marples | |
a restart | |||
2007-04-30 | /etc/init.d/foo start and stop no longer exit when service is fully | Roy Marples | |
started or stopped, #176452. | |||
2007-04-26 | Set fonts in init-early.sh, don't stop services twice when shutting down and ↵ | Roy Marples | |
lock prefixed output. | |||
2007-04-25 | Don't abort select when on signals | Roy Marples | |
2007-04-25 | We now have an alternative to buffering stdout and stderr. | Roy Marples | |
RC_PREFIX="yes" will put the service name as a prefix to all output made by the service. Thanks to Ciaran McCreesh for the idea. | |||
2007-04-24 | We now buffer stdout and stderr to a file and flush that when running in ↵ | Roy Marples | |
parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL. | |||
2007-04-20 | Style fixes | Roy Marples | |
2007-04-20 | Re-work the starting and stopping of services so we always know the pid so ↵ | Roy Marples | |
we can kill our children without the need for process groups which we cannot use as keyboard will not work in init. | |||
2007-04-20 | Added the rc-abort command, #175106 thanks to Daniel Drake. | Roy Marples | |
2007-04-19 | strdup -> rc_xstrdup | Roy Marples | |
2007-04-17 | start unifying help handling | Mike Frysinger | |
2007-04-12 | Style updates | Roy Marples | |
2007-04-12 | Fix getopt a little | Roy Marples | |
2007-04-12 | Hug getopt_long even though it's not POSIX. start-stop-daemon has always ↵ | Roy Marples | |
required this and all our supported platforms have it. | |||
2007-04-11 | Fix hotplugging of network cards | Roy Marples | |
2007-04-11 | Cuddle up to LKML C style | Roy Marples | |
2007-04-11 | Add new service hooks, remove pmake stuff from our Makefile and fix ↵ | Roy Marples | |
rc_services_in_state for scheduled. | |||
2007-04-10 | int -> time_t | Roy Marples | |
2007-04-10 | Fix indentation | Roy Marples | |