Roy Marples
|
1b40379a79
|
We should sort using LC_ALL=C to avoid locale issues.
|
2008-03-26 08:43:05 +00:00 |
|
Roy Marples
|
be1f9b0a93
|
Add --exists and --resolve to rc-service.
|
2008-03-26 08:08:47 +00:00 |
|
Roy Marples
|
3f37d4771b
|
If we have coldplugged services, but no start_services, we need to create a new list for start_services.
|
2008-03-26 05:08:38 +00:00 |
|
Roy Marples
|
5866d829bb
|
Try and fix more prefix stuff.
|
2008-03-25 18:33:45 +00:00 |
|
Roy Marples
|
068c90c82b
|
Fix exclusive removal.
|
2008-03-25 18:20:23 +00:00 |
|
Roy Marples
|
0347f01345
|
Fix segfault when no coldplugged services, thanks to Daijo.
|
2008-03-24 13:30:24 +00:00 |
|
Roy Marples
|
5a80daaf43
|
Fix coldplug disabling.
|
2008-03-24 13:09:42 +00:00 |
|
Roy Marples
|
821166fbfd
|
Fix debug support to work without gmake and bundle -ggdb in properly.
|
2008-03-24 11:43:03 +00:00 |
|
Roy Marples
|
79719b5386
|
Fix adding services to the boot runlevel, #43
|
2008-03-24 10:13:49 +00:00 |
|
Mike Frysinger
|
486d517674
|
setup a bit of a test framework
|
2008-03-24 07:17:05 +00:00 |
|
Mike Frysinger
|
1c9c2f9fcf
|
fixup testing
|
2008-03-24 06:30:21 +00:00 |
|
Mike Frysinger
|
7b08276fa8
|
add missing rc_stringlist_new/rc_sys hidden defs
|
2008-03-24 06:24:46 +00:00 |
|
Mike Frysinger
|
58caa0864f
|
ignore generated files
|
2008-03-24 06:18:51 +00:00 |
|
Mike Frysinger
|
9ed5d28d15
|
add check/test rules
|
2008-03-24 06:10:40 +00:00 |
|
Roy Marples
|
a1b9768243
|
Fix returning a service descriptions.
|
2008-03-23 22:58:25 +00:00 |
|
Roy Marples
|
06635dedbc
|
We don't change service here.
|
2008-03-23 22:57:56 +00:00 |
|
Roy Marples
|
2715981ff9
|
Revert commit 48fc097e39ec9b3edd9a8929fe9faf8f302451ec and add a comment about making it a runtime config option if it needs to change.
|
2008-03-23 20:04:18 +00:00 |
|
Roy Marples
|
ce644e1735
|
Report mounts in reverse order, Gentoo #214150.
|
2008-03-23 19:51:41 +00:00 |
|
Mike Frysinger
|
ec4721dd7f
|
fix spacing in the trailing [ msg ]
|
2008-03-23 12:49:40 +00:00 |
|
Mike Frysinger
|
bd34df6361
|
add support for automatic gdb launching when RC_DEBUG is defined to 1 to ease bug reporting / information gathering
|
2008-03-22 23:02:30 +00:00 |
|
Mike Frysinger
|
5dcdfcdf7a
|
add local rpaths if in the git tree
|
2008-03-22 23:00:32 +00:00 |
|
Roy Marples
|
a4f9eb699b
|
Fix some crashers in a prefix with few services.
|
2008-03-21 20:02:10 +00:00 |
|
Roy Marples
|
f7f3b6ae09
|
euid 0 should always be able to find pids too.
|
2008-03-21 17:41:01 +00:00 |
|
Roy Marples
|
85a6addd23
|
Only test crashed services if we can see pid 1.
|
2008-03-21 13:04:29 +00:00 |
|
Roy Marples
|
fe90a548b5
|
ksoftlevel -> krunlevel
|
2008-03-21 10:34:09 +00:00 |
|
Roy Marples
|
494fb0a5f6
|
Add --list to rc-service to list all available services.
|
2008-03-21 09:10:59 +00:00 |
|
Roy Marples
|
e505e6ea41
|
We should only free the buffer when done reading the dir.
|
2008-03-21 08:31:04 +00:00 |
|
Roy Marples
|
ec2d39d024
|
Just warn about the incorrect service. Let the right service be more explanitory about missing options.
|
2008-03-19 22:26:45 +00:00 |
|
Roy Marples
|
3b888b385a
|
gitignore
|
2008-03-19 22:17:10 +00:00 |
|
Roy Marples
|
eea30772d4
|
Fix last commit.
|
2008-03-19 22:11:22 +00:00 |
|
Roy Marples
|
d948e65d60
|
Give a better error message when no service specified.
|
2008-03-19 20:04:48 +00:00 |
|
Roy Marples
|
97abd91577
|
Report wrong service correctly.
|
2008-03-19 20:01:48 +00:00 |
|
Roy Marples
|
5f091395c7
|
Typo.
|
2008-03-19 19:59:50 +00:00 |
|
Roy Marples
|
6159a32f39
|
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
|
2008-03-19 19:57:24 +00:00 |
|
Roy Marples
|
d9ec62b22a
|
Add rc-service and update all softlevel refs to runlevel.
|
2008-03-19 17:11:50 +00:00 |
|
Roy Marples
|
64853c4916
|
Rejig the build system a little so we have per ok defs per system. Probably easier in the long run.
|
2008-03-19 15:22:20 +00:00 |
|
Roy Marples
|
f69013adbe
|
Fix define name
|
2008-03-19 15:15:09 +00:00 |
|
Roy Marples
|
1443fee901
|
Fix errors when reporting who we are scheduled by.
|
2008-03-19 12:26:47 +00:00 |
|
Roy Marples
|
cdd3881c1b
|
Return scheduled services correctly.
|
2008-03-19 12:26:09 +00:00 |
|
Roy Marples
|
773d50dabb
|
Get going_down and parallel the right away round.
|
2008-03-18 23:06:02 +00:00 |
|
Roy Marples
|
51c825ceee
|
Make rc_getline private and save it's buffer so it's sort of like getline from glibc.
|
2008-03-17 21:27:37 +00:00 |
|
Roy Marples
|
b9eb450696
|
Fix some tests on FreeBSD.
|
2008-03-17 17:57:07 +00:00 |
|
Roy Marples
|
c74cfabe2e
|
init some vars.
|
2008-03-17 16:42:31 +00:00 |
|
Roy Marples
|
5d77c0db6b
|
This should be a fixed buffer.
|
2008-03-17 14:42:10 +00:00 |
|
Roy Marples
|
b2f7606b23
|
We should check for NULL here.
|
2008-03-17 14:31:44 +00:00 |
|
Roy Marples
|
4c14666423
|
Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls.
|
2008-03-17 13:25:56 +00:00 |
|
Roy Marples
|
50a7697bf2
|
rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array.
|
2008-03-17 09:59:52 +00:00 |
|
Roy Marples
|
40930d7d0a
|
Use correct TAILQ_CONCAT macro when not defined.
|
2008-03-16 17:27:13 +00:00 |
|
Roy Marples
|
1fd1472dde
|
Add new stringlist files.
|
2008-03-16 17:01:35 +00:00 |
|
Roy Marples
|
cb9da6a262
|
Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF.
|
2008-03-16 17:00:56 +00:00 |
|