Parent Directory | Revision Log
librc.so and libeinfo.so now have symbol versions.
Default to tunctl so we can create the device as a specific user, #194588 thanks to Jaco Kroon.
rc_service_state now returns the state as a mask, which means that we can do things with just the one call making is more efficient.
keymaps now sets unicode keyboard on all defined ttys, #192442 thanks to Pacho Ramos.
net.sh now checks to see if root is net mounted if no predown function exists, #194074.
enums are now fixed to specific values and are in UPPER CASE.
rc_is_env is now rc_env_bool and just works with boolean values.
Revert last patch
We no longer use bool in our public headers, using int instead.
Retain behavior where `rc-update del` warns if nothing changed.
Retain behavior where `rc-update del foo` deletes foo from all runlevels.
Add support for describing the options in the C programs.
Skip consolefont setup when RC_TTY_NUMBER is set to 0.
Do not require portmap in netmount when nolock option is used with nfs mounts and fixup the test so that it actually works.
Fix pppd metric, #193574 thanks to Martin Väth.
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.
libeinfo now works out the number of columns from stdout rather than stdin, #188506.
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
plugin hook function is now rc_plugin_hook instead of a name based on the name of the plugin.
Only mount /sys if it's not mounted, #192436.
Don't be an ass - don't free the 2nd list. Instead just empty it.
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
API change! rc_config_env is renamed to rc_make_env and takes no argument.
API change! rc_ls_dir, rc_get_config and rc_get_list no longer take a starting list as a first argument. Instead, use rc_strlist_join to append or prepend the new list to an existing list.
API change! rc_strlist_add and friends now take char *** instead of 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);
Document the preferance of wpa_supplicant, #192828.
revert EARLY_MOUNTS since everything in the boot runlevel depends on localmount already and anything that runs before it does not rely on things like /tmp or /var/run (and because i confused localmount with checkroot)
only do the X lock stuff in /tmp so people can overload WIPE_TMP_DIRS for a general "wipe this directory" option. also force +t on /tmp and /var/tmp.
Allow people to specify a list of early mount points which will be mounted at the end of localmount so they can do tmpfs on things like /tmp #181527.
Allow people to specify a list of temp dirs to clean in bootmisc #191807.
start-stop-daemon now works with userids correctly when a pidfile is not specified, #191206.
Always attempt to mount /dev/pts when devpts is available as it may appear in some 2.4 setups.
RC_TTY_NUMBER now defaults to 12, #190996 thanks to Pacho Ramos.
Only generate dependencies for Gentoo scripts, #190547.
Undocument pause action, fix --nodeps and --ifstarted, #190045.
Fix ksoftlevel handling, #190420.
Add /etc/gentoo-release to CONFIG_PROTECT_MASK.
Punt PAGER and EDITOR. People need to set this themselves now.
Make sure we list all config files in rc help output.
Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter
Fix pppd getting the interface metric.
As discussed on the -dev ml, RC_DEPEND_STRICT now defaults to yes.
Stop un-needed services when changing runlevels, #189050.
`config /etc/fstab' can now be used in depend() functions to show that the deptree should be regenerated if /etc/fstab has changed.
Add bzr port 4155 to /etc/services, #188970 thanks to Andrew Cowie.
Add help to rc-update #188170 and tidy up the code a fair bit.
If given a pidfile, just match on that for seeing if we have crashed or not, #186159.
Boot properly when we cannot set an early font, #187628.
Fix rc-update, #187487 and release rc2.
Fix adding multiple IP addresses, #187526.
Fix static IPv6 routes, #187514.
Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option.
All our binaries are now mulicalls into rc, which makes our on disk size a lot smaller.
appending noinitd=xdm will skip the xdm service when first booting, #181858.
Harden gendepends.sh some more so we only capture the stdout we want from the depend function, #186072.
RC_DEPEND_STRICT now controls dependency strictness. 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.
adsl module now finds the correct exe, #185276 thanks to Marcello Laganà.
Add --remove-destination to example /dev recover command #40987.
Don't unmount network filesystems in localmount or halt.sh, #175602.
Don't do interactive when changing init, #174141.
init scripts and their extra options can now have descriptions, #184327.
We no longer care about numerical runlevels, #184733.
Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $
Add and delete IPv6 addresses and routes correctly on FreeBSD, #184430 thanks to Friedrich Oslage.
Don't wait for services that were inactive, #183667 thanks to Daniel Drake
Don't set an early font if consolefont isn't in a runlevel, #183773.
Add --no-ldconfig option to env-update to match portage.
Change pwd to / for all init scripts, #181224.
--nocolor works again, #181011 thanks to Daniel Drake.
Allow urandom location to be customized #134489.
add missing ChangeLog entry
Fix from comio for /proc/filesystems typo in localmount #180621.
Don't warn about Factory clock when booting off of livecd.
Use killall5 again so we can cleanly remount / readonly, #168977 and #177689.
Only call systohw in clock when we don't have adjfile or we aren't UTC.
Should fix this bug too
RC_INTERACTIVE now works, #178331.
Add --startas back to s-s-d, #175980, #175981.
Allow time for pidfiles to be created, #178274. Use int instead of char for getopt, #178084 thanks to drizztbsd.
Store the defined random pool size, #177722 thanks to Yaroslav Isakov.
Use auto for /mnt/cdrom, #177990.
When we don't have an address return 1, #176577.
Fix KV_to_int working with funky kernel versions, #177197.
Fix unicode keymaps, #173528. Some fonts show the currency symbol instead of the Euro when doing AltGr-E, so we provide an easy setting to fix this. Release alpha2
Allow ip6to4 tunnels to use any derived address, #170290.
dns_sortlist and dns_options now work as documented, #175367.
SSD_NICELEVEL can now affect the nicelevel for daemons started by start-stop-daemon, #175397.
Don't delete addresses for PPP interfaces, #176764.
Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.
/etc/init.d/foo start and stop no longer exit when service is fully started or stopped, #176452.
env-update now respects COLON_SEPARATED and SPACE_SEPARATED env.d values, #176198.
checkroot and checkfs now use more friendly generic options, #116016
We now have an alternative to buffering stdout and stderr. 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.
We now buffer stdout and stderr to a file and flush that when running in parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.
Added the rc-abort command, #175106 thanks to Daniel Drake.
Automatically mount selinuxfs on /selinux in localmount.
Plugins now run in a forked process for extra resliance.
Fix bridge, vlan and bonding modules to work together, #174792.
Rationalise our colour usage a little.
env vars EINFO_GOOD and friends now override our hardcoded builtins.
Allow addons to pass up their exit status in import_addon. Simplify /dev handling in init.sh and add mdev as an option.
Punted the volumes init script. Volume handling will be handled by init script that can be run at any point, even before checkroot.
Don't search for a space after interface names in /proc/net, #174792 thanks to Mike Auty.
netmask -> CIDR is worked out correctly #174341.
Fix module loading, #174360. s-s-d now changes group when changing user, #174362.
Release alpha1 of baselayout-2
modules-update -> update-modules
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|