Parent Directory | Revision Log
Split our rc commands out into general use vs service commands
Use a pty for prefixed output instead of pipes for stdout/stderr. This 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.
Added the checkown applet based on the work by Renato Caldas, #192682 checkdir ensures that the specified files (or directories) are owned by the current user/group or as specified on the command line. You can optionally check permissions too.
/lib/rcscripts -> /lib/rc
More --as-needed foo
Work better with --as-needed
librc should link against libeinfo too
Makefile in src now supports pmake as used on the BSDs.
Add esyslog support
Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to 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.
Fix rc-update, #187487 and release rc2.
Wups, don't force those CFLAGS
Force some stuff
Fix building on Linux
Link the right objects against rc
All our binaries are now mulicalls into rc, which makes our on disk size a lot smaller.
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.
Stop using getimeofday for timeouts incase the clock changes.
Allow time for pidfiles to be created, #178274. Use int instead of char for getopt, #178084 thanks to drizztbsd.
Added the rc-abort command, #175106 thanks to Daniel Drake.
Rationalise our colour usage a little.
Ignore and clean .depend
make sure .depend gets regenerated automatically
add .depend / .PHONY support
use CPPFLAGS rather than CFLAGS where appropriate and make LDFLAGS/-rpath dynamic by only enabling when in .svn repo
revert previous commit
dont create .so links as they arent needed for runtime
use ln -sf rather than ln -s incase target exists
add a symlink for update-rc -> rc-update
Add new service hooks, remove pmake stuff from our Makefile and fix rc_services_in_state for scheduled.
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.
Use names instead of numbers for reporting signals and trap signals in rc
Only use some gcc flags if gcc actually supports them.
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.
Move env-update back to /sbin as everything non baselayout expects it in $PATH, including our documentation
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults
Rewrite the core parts in C. We now provide librc so other programs can query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="22.214.171.124/24 126.96.36.199/16" or like so config_eth0="'188.8.131.52 netmask 255.255.255.0' '184.108.40.206 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|