/[baselayout]/trunk/src
Gentoo

Log of /trunk/src

View Directory Listing Directory Listing



Revision 2769 - Directory Listing
Modified Wed Jul 11 13:02:05 2007 UTC (7 years, 4 months ago) by uberlord
Don't do interactive when changing init, #174141.

Revision 2768 - Directory Listing
Modified Wed Jul 11 12:06:37 2007 UTC (7 years, 4 months ago) by uberlord
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.

Revision 2765 - Directory Listing
Modified Tue Jul 10 20:11:42 2007 UTC (7 years, 4 months ago) by uberlord
Allow non root users to describe

Revision 2764 - Directory Listing
Modified Tue Jul 10 19:14:37 2007 UTC (7 years, 4 months ago) by uberlord
Rename variable

Revision 2763 - Directory Listing
Modified Tue Jul 10 19:09:41 2007 UTC (7 years, 4 months ago) by uberlord
init scripts and their extra options can now have descriptions, #184327.

Revision 2762 - Directory Listing
Modified Tue Jul 10 15:26:49 2007 UTC (7 years, 4 months ago) by uberlord
Support /etc/init.d/foo ineed and friends again.

Revision 2760 - Directory Listing
Modified Tue Jul 10 13:15:07 2007 UTC (7 years, 4 months ago) by uberlord
Remove a debug line

Revision 2759 - Directory Listing
Modified Tue Jul 10 11:42:56 2007 UTC (7 years, 4 months ago) by uberlord
We no longer care about numerical runlevels, #184733.

Revision 2755 - Directory Listing
Modified Mon Jul 9 10:26:02 2007 UTC (7 years, 4 months ago) by uberlord
Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $

Revision 2750 - Directory Listing
Modified Fri Jul 6 17:07:29 2007 UTC (7 years, 4 months ago) by uberlord
Of course, glibc does not have strlcpy

Revision 2749 - Directory Listing
Modified Fri Jul 6 15:50:40 2007 UTC (7 years, 4 months ago) by uberlord
Make the prefix length dynamic

Revision 2747 - Directory Listing
Modified Thu Jul 5 08:39:32 2007 UTC (7 years, 4 months ago) by uberlord
Don't trust the plugin

Revision 2745 - Directory Listing
Modified Wed Jul 4 16:06:40 2007 UTC (7 years, 4 months ago) by uberlord
Flush the ebuffer before and after running a plugin.

Revision 2744 - Directory Listing
Modified Wed Jul 4 16:02:01 2007 UTC (7 years, 4 months ago) by uberlord
As we're running each plugin in a fork, we need to call our cleanup code so we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly.

Revision 2743 - Directory Listing
Modified Wed Jul 4 14:56:59 2007 UTC (7 years, 4 months ago) by uberlord
We need the full path to the service before chdir /

Revision 2741 - Directory Listing
Modified Tue Jul 3 08:38:27 2007 UTC (7 years, 4 months ago) by uberlord
We still need to wait for services we need/use

Revision 2740 - Directory Listing
Modified Mon Jul 2 22:07:58 2007 UTC (7 years, 4 months ago) by uberlord
Don't wait for services that were inactive, #183667 thanks to Daniel Drake

Revision 2739 - Directory Listing
Modified Mon Jul 2 22:05:38 2007 UTC (7 years, 4 months ago) by uberlord
Make the provided code a little more readable and fix a bug when calculating provided services changing from single to default runlevel

Revision 2738 - Directory Listing
Modified Mon Jul 2 19:57:18 2007 UTC (7 years, 4 months ago) by uberlord
Fix error and only let root run init commands except for status and help

Revision 2735 - Directory Listing
Modified Thu Jun 28 15:44:38 2007 UTC (7 years, 5 months ago) by uberlord
Add --nocolor to more programs

Revision 2734 - Directory Listing
Modified Thu Jun 28 15:44:14 2007 UTC (7 years, 5 months ago) by uberlord
Add --nocolor to more programs

Revision 2733 - Directory Listing
Modified Wed Jun 27 12:35:43 2007 UTC (7 years, 5 months ago) by uberlord
Add --no-ldconfig option to env-update to match portage.

Revision 2732 - Directory Listing
Modified Tue Jun 26 09:20:42 2007 UTC (7 years, 5 months ago) by uberlord
Change pwd to / for all init scripts, #181224.

Revision 2731 - Directory Listing
Modified Tue Jun 26 08:47:46 2007 UTC (7 years, 5 months ago) by uberlord
Change pwd to / for all init scripts, #181224.

Revision 2730 - Directory Listing
Modified Tue Jun 26 08:39:02 2007 UTC (7 years, 5 months ago) by uberlord
--nocolor works again, #181011 thanks to Daniel Drake.

Revision 2716 - Directory Listing
Modified Sun May 27 16:02:25 2007 UTC (7 years, 6 months ago) by uberlord
Improve spelling

Revision 2714 - Directory Listing
Modified Wed May 23 12:30:34 2007 UTC (7 years, 6 months ago) by uberlord
RC_SYS should now set XEN0 correctly

Revision 2713 - Directory Listing
Modified Tue May 22 12:25:43 2007 UTC (7 years, 6 months ago) by uberlord
Create a function for running init.sh and init-early.sh which saves on code and removes a gcc-4.2 warning

Revision 2711 - Directory Listing
Modified Wed May 16 18:45:16 2007 UTC (7 years, 6 months ago) by uberlord
Default eend to SUCCESS if no options given

Revision 2709 - Directory Listing
Modified Wed May 16 11:28:45 2007 UTC (7 years, 6 months ago) by uberlord
Remove debug line

Revision 2708 - Directory Listing
Modified Wed May 16 11:05:42 2007 UTC (7 years, 6 months ago) by uberlord
Stop using getimeofday for timeouts incase the clock changes.

Revision 2706 - Directory Listing
Modified Tue May 15 15:56:35 2007 UTC (7 years, 6 months ago) by uberlord
/etc/conf.d/rc.$runlevel now works, #177869.

Revision 2704 - Directory Listing
Modified Mon May 14 19:50:13 2007 UTC (7 years, 6 months ago) by uberlord
Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks to drizztbsd for find public domain code :)

Revision 2703 - Directory Listing
Modified Mon May 14 17:05:55 2007 UTC (7 years, 6 months ago) by uberlord
Use correct function casts. Use dlfunc where available to remove ISO warnings :)

Revision 2700 - Directory Listing
Modified Mon May 14 12:48:37 2007 UTC (7 years, 6 months ago) by uberlord
RC_INTERACTIVE now works, #178331.

Revision 2699 - Directory Listing
Modified Mon May 14 12:37:13 2007 UTC (7 years, 6 months ago) by uberlord
Add --startas back to s-s-d, #175980, #175981.

Revision 2698 - Directory Listing
Modified Mon May 14 12:24:18 2007 UTC (7 years, 6 months ago) by uberlord
    Allow time for pidfiles to be created, #178274.
    Use int instead of char for getopt, #178084 thanks to drizztbsd.

Revision 2692 - Directory Listing
Modified Fri May 11 08:58:19 2007 UTC (7 years, 6 months ago) by uberlord
Use clock MONOTONIC to timeout, not localtime, #177514

Revision 2684 - Directory Listing
Modified Thu May 3 13:46:38 2007 UTC (7 years, 6 months ago) by uberlord
Always pass ttyname to sulogin

Revision 2678 - Directory Listing
Modified Wed May 2 15:17:03 2007 UTC (7 years, 6 months ago) by uberlord
Don't timeout waiting for checkfs and checkroot. Do a better fix later.

Revision 2676 - Directory Listing
Modified Wed May 2 12:33:56 2007 UTC (7 years, 6 months ago) by uberlord
    SSD_NICELEVEL can now affect the nicelevel for daemons started
    by start-stop-daemon, #175397.

Revision 2673 - Directory Listing
Modified Wed May 2 10:43:43 2007 UTC (7 years, 6 months ago) by uberlord
Stop blindly assuming that a blank TERM is cons25. For cons25 terms we drop one column so we don't get an extra newline.

Revision 2669 - Directory Listing
Modified Mon Apr 30 13:18:42 2007 UTC (7 years, 6 months ago) by uberlord
restart/schedule stopped services when the trigger service goes inactive on a restart

Revision 2666 - Directory Listing
Modified Mon Apr 30 09:06:17 2007 UTC (7 years, 6 months ago) by uberlord
    /etc/init.d/foo start and stop no longer exit when service is fully
    started or stopped, #176452.

Revision 2665 - Directory Listing
Modified Fri Apr 27 11:24:05 2007 UTC (7 years, 7 months ago) by uberlord
env-update now respects COLON_SEPARATED and SPACE_SEPARATED env.d values, #176198.

Revision 2659 - Directory Listing
Modified Thu Apr 26 11:24:07 2007 UTC (7 years, 7 months ago) by uberlord
Set fonts in init-early.sh, don't stop services twice when shutting down and lock prefixed output.

Revision 2657 - Directory Listing
Modified Wed Apr 25 18:12:49 2007 UTC (7 years, 7 months ago) by uberlord
Don't abort select when on signals

Revision 2656 - Directory Listing
Modified Wed Apr 25 15:48:54 2007 UTC (7 years, 7 months ago) by uberlord
Don't pass $CONSOLE to sulogin and split rc_environ_fd on NULLs

Revision 2652 - Directory Listing
Modified Wed Apr 25 12:30:24 2007 UTC (7 years, 7 months ago) by uberlord
    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.

Revision 2650 - Directory Listing
Modified Tue Apr 24 11:29:19 2007 UTC (7 years, 7 months ago) by uberlord
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.

Revision 2644 - Directory Listing
Modified Sat Apr 21 09:23:37 2007 UTC (7 years, 7 months ago) by uberlord
error then unlink

Revision 2643 - Directory Listing
Modified Sat Apr 21 08:34:16 2007 UTC (7 years, 7 months ago) by uberlord
Don't free in vfork

Revision 2642 - Directory Listing
Modified Fri Apr 20 19:03:56 2007 UTC (7 years, 7 months ago) by uberlord
Style fixes

Revision 2641 - Directory Listing
Modified Fri Apr 20 18:58:42 2007 UTC (7 years, 7 months ago) by uberlord
Re-work the starting and stopping of services so we always know the pid so we can kill our children without the need for process groups which we cannot use as keyboard will not work in init.

Revision 2640 - Directory Listing
Modified Fri Apr 20 15:02:13 2007 UTC (7 years, 7 months ago) by uberlord
Fix rc-abort to notify the plugins we are aborting

Revision 2638 - Directory Listing
Modified Fri Apr 20 13:12:21 2007 UTC (7 years, 7 months ago) by uberlord
Added the rc-abort command, #175106 thanks to Daniel Drake.

Revision 2636 - Directory Listing
Modified Fri Apr 20 09:39:47 2007 UTC (7 years, 7 months ago) by uberlord
Plugins now run in a forked process for extra resliance.

Revision 2635 - Directory Listing
Modified Thu Apr 19 15:31:01 2007 UTC (7 years, 7 months ago) by uberlord
Fix fstabinfo -p /

Revision 2634 - Directory Listing
Modified Thu Apr 19 14:54:35 2007 UTC (7 years, 7 months ago) by uberlord
strdup -> rc_xstrdup

Revision 2633 - Directory Listing
Modified Thu Apr 19 14:41:10 2007 UTC (7 years, 7 months ago) by uberlord
Use RTLD_NOW instead of RTLD_LAZY

Revision 2624 - Directory Listing
Modified Thu Apr 19 06:46:29 2007 UTC (7 years, 7 months ago) by uberlord
Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly

Revision 2619 - Directory Listing
Modified Tue Apr 17 13:00:05 2007 UTC (7 years, 7 months ago) by vapier
remove APPLET check so we can create .depend

Revision 2618 - Directory Listing
Modified Tue Apr 17 12:44:32 2007 UTC (7 years, 7 months ago) by vapier
start unifying help handling

Revision 2617 - Directory Listing
Modified Tue Apr 17 12:21:15 2007 UTC (7 years, 7 months ago) by vapier
fix #if handling in get_term_columns

Revision 2615 - Directory Listing
Modified Tue Apr 17 09:32:18 2007 UTC (7 years, 7 months ago) by uberlord
Rationalise our colour usage a little.

Revision 2613 - Directory Listing
Modified Tue Apr 17 07:06:04 2007 UTC (7 years, 7 months ago) by uberlord
env vars EINFO_GOOD and friends now override our hardcoded builtins.

Revision 2607 - Directory Listing
Modified Fri Apr 13 16:00:25 2007 UTC (7 years, 7 months ago) by uberlord
More basename compliance.

Revision 2606 - Directory Listing
Modified Fri Apr 13 15:23:46 2007 UTC (7 years, 7 months ago) by uberlord
Punt .depend

Revision 2605 - Directory Listing
Modified Fri Apr 13 15:23:03 2007 UTC (7 years, 7 months ago) by uberlord
Ignore and clean .depend

Revision 2604 - Directory Listing
Modified Fri Apr 13 15:20:10 2007 UTC (7 years, 7 months ago) by uberlord
hug getopt_long some more

Revision 2603 - Directory Listing
Modified Fri Apr 13 15:09:37 2007 UTC (7 years, 7 months ago) by vapier
add basic --help

Revision 2598 - Directory Listing
Modified Fri Apr 13 14:18:38 2007 UTC (7 years, 7 months ago) by vapier
add hidden visibility support to libeinfo as well

Revision 2597 - Directory Listing
Modified Fri Apr 13 14:08:16 2007 UTC (7 years, 7 months ago) by vapier
kill off internal relocations for librc.so

Revision 2596 - Directory Listing
Modified Fri Apr 13 13:54:53 2007 UTC (7 years, 7 months ago) by uberlord
Use basename properly

Revision 2595 - Directory Listing
Modified Fri Apr 13 13:21:27 2007 UTC (7 years, 7 months ago) by vapier
make sure .depend gets regenerated automatically

Revision 2594 - Directory Listing
Modified Fri Apr 13 13:20:26 2007 UTC (7 years, 7 months ago) by vapier
add .depend / .PHONY support

Revision 2593 - Directory Listing
Modified Fri Apr 13 13:06:53 2007 UTC (7 years, 7 months ago) by vapier
use CPPFLAGS rather than CFLAGS where appropriate and make LDFLAGS/-rpath dynamic by only enabling when in .svn repo

Revision 2592 - Directory Listing
Modified Fri Apr 13 12:59:12 2007 UTC (7 years, 7 months ago) by vapier
revert previous commit

Revision 2591 - Directory Listing
Modified Fri Apr 13 12:55:43 2007 UTC (7 years, 7 months ago) by vapier
dont create .so links as they arent needed for runtime

Revision 2590 - Directory Listing
Modified Fri Apr 13 12:39:14 2007 UTC (7 years, 7 months ago) by vapier
use ln -sf rather than ln -s incase target exists

Revision 2589 - Directory Listing
Modified Fri Apr 13 12:38:00 2007 UTC (7 years, 7 months ago) by vapier
add a symlink for update-rc -> rc-update

Revision 2587 - Directory Listing
Modified Fri Apr 13 09:21:16 2007 UTC (7 years, 7 months ago) by uberlord
s-s-d now allows --signal to be used without --stop and --oknodo. man page updated accordingly

Revision 2586 - Directory Listing
Modified Fri Apr 13 06:43:00 2007 UTC (7 years, 7 months ago) by uberlord
Fix module loading, #174360. s-s-d now changes group when changing user, #174362.

Revision 2582 - Directory Listing
Modified Thu Apr 12 13:18:52 2007 UTC (7 years, 7 months ago) by uberlord
Style updates

Revision 2581 - Directory Listing
Modified Thu Apr 12 10:40:51 2007 UTC (7 years, 7 months ago) by uberlord
Fix getopt a little

Revision 2580 - Directory Listing
Modified Thu Apr 12 10:08:42 2007 UTC (7 years, 7 months ago) by uberlord
Hug getopt_long even though it's not POSIX. start-stop-daemon has always required this and all our supported platforms have it.

Revision 2578 - Directory Listing
Modified Wed Apr 11 14:52:13 2007 UTC (7 years, 7 months ago) by uberlord
Fix hotplugging of network cards

Revision 2577 - Directory Listing
Modified Wed Apr 11 12:44:47 2007 UTC (7 years, 7 months ago) by uberlord
Cuddle up to LKML C style

Revision 2574 - Directory Listing
Modified Wed Apr 11 10:40:53 2007 UTC (7 years, 7 months ago) by uberlord
Move carrier detection back into net.sh. Reserve a new hook numbers

Revision 2573 - Directory Listing
Modified Wed Apr 11 07:15:02 2007 UTC (7 years, 7 months ago) by uberlord
Add new service hooks, remove pmake stuff from our Makefile and fix rc_services_in_state for scheduled.

Revision 2572 - Directory Listing
Modified Tue Apr 10 16:11:20 2007 UTC (7 years, 7 months ago) by uberlord
Change veinfo and friends to einfov. Rationale - we may need veinfo to support va_list in the future.

Revision 2571 - Directory Listing
Modified Tue Apr 10 14:03:37 2007 UTC (7 years, 7 months ago) by uberlord
int -> time_t

Revision 2569 - Directory Listing
Modified Tue Apr 10 11:24:58 2007 UTC (7 years, 7 months ago) by uberlord
Fix indentation

Revision 2567 - Directory Listing
Modified Tue Apr 10 10:33:44 2007 UTC (7 years, 7 months ago) by uberlord
Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own.

Revision 2564 - Directory Listing
Modified Mon Apr 9 17:11:18 2007 UTC (7 years, 7 months ago) by uberlord
rc does not need SIGCHLD handler. Also, always return 0 in /etc/rc as non zero for default may freeze system.

Revision 2563 - Directory Listing
Modified Mon Apr 9 16:53:21 2007 UTC (7 years, 7 months ago) by uberlord
Use names instead of numbers for reporting signals and trap signals in rc

Revision 2561 - Directory Listing
Modified Sun Apr 8 17:39:59 2007 UTC (7 years, 7 months ago) by uberlord
Only use some gcc flags if gcc actually supports them.

Revision 2560 - Directory Listing
Modified Sun Apr 8 16:03:48 2007 UTC (7 years, 7 months ago) by uberlord
LIBDIR -> LIB. When interuppted, ensure service state is restored correctly. When stopping, don't uncoldplug too early.

Revision 2559 - Directory Listing
Modified Sat Apr 7 10:38:40 2007 UTC (7 years, 7 months ago) by uberlord
Move env-update back to /sbin as everything non baselayout expects it in $PATH, including our documentation

Revision 2556 - Directory Listing
Modified Sat Apr 7 08:46:42 2007 UTC (7 years, 7 months ago) by uberlord
We don't use err.h

Revision 2555 - Directory Listing
Modified Fri Apr 6 23:04:38 2007 UTC (7 years, 7 months ago) by uberlord
Remove this until we can make it work properly - ie not hangup when cable goes in/out

Revision 2553 - Directory Listing
Modified Fri Apr 6 08:37:15 2007 UTC (7 years, 7 months ago) by uberlord
snprintf is better

Revision 2552 - Directory Listing
Modified Fri Apr 6 08:24:48 2007 UTC (7 years, 7 months ago) by uberlord
strcpy is bad

Revision 2550 - Directory Listing
Modified Fri Apr 6 01:04:07 2007 UTC (7 years, 7 months ago) by uberlord
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults

Revision 2549 - Directory Listing
Modified Thu Apr 5 15:01:09 2007 UTC (7 years, 7 months ago) by uberlord
We now compile on OpenBSD (no idea if it works or not yet)

Revision 2548 - Directory Listing
Modified Thu Apr 5 11:42:21 2007 UTC (7 years, 7 months ago) by uberlord
Superfluous CFLAGS

Revision 2547 - Directory Listing
Added Thu Apr 5 11:18:42 2007 UTC (7 years, 7 months ago) by uberlord
    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="1.2.3.4/24 5.6.7.8/16"
    or like so
    config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 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.

Sticky Revision:
(Current path doesn't exist after revision 3108)

  ViewVC Help
Powered by ViewVC 1.1.20