Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fuser -k defaults to -9; set the initial pass to kill -15. (#703457) | Bill Nottingham | 2011-05-10 | 1 | -2/+2 |
| | |||||
* | Fix mishandled argument to fstab-decode. (#685137) | Bill Nottingham | 2011-03-15 | 1 | -1/+1 |
| | |||||
* | Don't do force/lazy umount for the first nfs umount. (#676851, ↵ | Bill Nottingham | 2011-03-07 | 1 | -2/+2 |
| | | | | | | | <jlayton@redhat.com>) This can cause hung tasks that aren't cleaned up or killed properly, as their dangling references won't get caught. | ||||
* | Fix path to sysconfig.txt in comments. | Ville Skyttä | 2011-03-01 | 1 | -1/+1 |
| | |||||
* | Move sysctl.conf/sysctl.d handling to a function, call it where appropriate. ↵ | Bill Nottingham | 2011-02-28 | 1 | -0/+9 |
| | | | | (#593211, continued) | ||||
* | Tweak waiting times slightly. (#596451) | Bill Nottingham | 2011-02-28 | 1 | -2/+2 |
| | |||||
* | Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>) | Bill Nottingham | 2011-02-28 | 1 | -6/+12 |
| | |||||
* | Add support for noauto crypt devices, to mirror systemd. | Bill Nottingham | 2011-02-28 | 1 | -0/+3 |
| | |||||
* | Drop some unnecessary command invocations. | Ville Skyttä | 2011-02-28 | 1 | -3/+3 |
| | |||||
* | Allow for plymouth to enter non-LUKS passphrases (#621158, ↵ | Bill Nottingham | 2011-02-28 | 1 | -4/+10 |
| | | | | <redhat-bugzilla@camperquake.de>) | ||||
* | systemctl: honour $SYSTEMCTL_IGNORE_DEPENDENCIES | Lennart Poettering | 2011-02-17 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | Here's a patch for initscripts: If SYSTEMCTL_IGNORE_DEPENDENCIES is set, pass --ignore-dependencies to systemctl. This allows programs which invoke /sbin/service to get more SysV-like behaviour, i.e. where starting a service does not pull in any dependencies and honours no ordering. By default we continue to honour the dependencies since this is usually safe and allows other software to hook into all services regardless by who they are started. This is the result of a discussion with the IPA people, Simo Sorce in particular. | ||||
* | CONSOLETYPE - check read access to /dev/stderr (#650103) | Petr Lautrbach | 2010-12-01 | 1 | -1/+7 |
| | |||||
* | Squash warning on opening /dev/stderr (#650103) | Bill Nottingham | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | Clarify description (#637176) | Bill Nottingham | 2010-09-24 | 1 | -1/+1 |
| | |||||
* | Use new -m option to pidof. Require new enough sysvinit-tools. (#632321) | Bill Nottingham | 2010-09-14 | 1 | -2/+2 |
| | |||||
* | Properly group tests.initscripts-9.18-1 | Bill Nottingham | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | fix detection of systemd with new cgroup location | Petr Lautrbach | 2010-09-02 | 1 | -1/+2 |
| | |||||
* | If systemd is running, redirect start/stop/condrestart/etc. to systemctl. ↵ | Bill Nottingham | 2010-08-24 | 1 | -2/+50 |
| | | | | (#612728) | ||||
* | functions: check type of stdout/stderr instead of stdin | Lennart Poettering | 2010-08-19 | 1 | -1/+3 |
| | |||||
* | Also init_crypto for encrypyed network block devices. (#605600) | Bill Nottingham | 2010-06-23 | 1 | -0/+160 |
| | |||||
* | Add functions to check shvar-style variables. | Bill Nottingham | 2010-06-04 | 1 | -0/+21 |
| | |||||
* | Handle permission denied on reading PID file. (#595597) | Bill Nottingham | 2010-05-25 | 1 | -0/+4 |
| | |||||
* | Handle being unable to read a specified pid file. (#584575) | Bill Nottingham | 2010-04-26 | 1 | -2/+8 |
| | |||||
* | Correct the fix for not clearing environment with runuser. (#203010, #564093) | Bill Nottingham | 2010-04-09 | 1 | -1/+1 |
| | | | | This changes runuser to not use a login shell. We'll see what happens. | ||||
* | Pass -m to runuser, so the environment is not cleared. (#203010, #564093) | Bill Nottingham | 2010-02-11 | 1 | -1/+1 |
| | | | | | There could conceivably be consequences to this, but it matches the behavior of the non-runuser case. | ||||
* | Eliminate bunch of unnecessary stat calls and command invocations. | Ville Skyttä | 2010-01-12 | 1 | -2/+2 |
| | |||||
* | Fix some bashisms. | Ville Skyttä | 2010-01-07 | 1 | -1/+1 |
| | |||||
* | Add a -l option to status to pass the lock file name. (#521772) | Bill Nottingham | 2009-09-08 | 1 | -3/+10 |
| | |||||
* | Use $() instead of `` for process expansion. | Bill Nottingham | 2009-07-30 | 1 | -1/+1 |
| | | | | Adapted from <victor.lowther@gmail.com>. | ||||
* | Redirect bash errors on 'unset' to /dev/null. (#482888) | Bill Nottingham | 2009-06-18 | 1 | -1/+1 |
| | |||||
* | cgexec has moved to /bin (#495715) | Bill Nottingham | 2009-04-14 | 1 | -2/+2 |
| | |||||
* | cgroup support (<jsafrane@redhat.com>) | Bill Nottingham | 2009-03-06 | 1 | -2/+17 |
| | |||||
* | Fix various issues with dmraid handling (#485895, <hdegoede@redhat.com>) | Bill Nottingham | 2009-03-04 | 1 | -30/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've been doing a lot of work on mkinitrd's dmraid support lately some of the lessons learned there also apply to the activation of (not used for /) dmraid arrays in rc.sysinit, this will esp. help the livecd proerly activating and using dmraid sets. The patch fixes the following issues: 1) rc.sysinit (and mkinitrd used to) calls dm_resolve_name() on the output of dmraid, this is not necessary as dm_resolve_name is only needed when the name is /dev/dm-#, it is actually harmful as dm_resolve_name sometimes fails when used like this, causing us to fail to activate dmraid sets 2) rc.sysinit does not remove the partitions from the raw disks used in a raidset the initrd used to use special nash functionality to tell the kernels to forget about the partitions of the raw disks it had scanned at boot. The issue here is, say we have a mirror of sda and sdb, and that mirror has 2 partitions. Then the kernel when scanning the raw disks will find sda1,sda2,sdb1,sdb2. But we do not want anything using those, they should use the devicemapper versions as those are mirrored! I've even seen mounting by LABEL / UUID do the wrong thing by using the raw partitions instead of the raidset partitions. I've recently done a patch to dmraid adding a --rm_partitions cmdline option which makes dmraid do the ioctl which makes the kernel forget about the partitions of the rawdisk (which in turn makes udev remove the device nodes). This way we no longer need the nash magic. Part of my rc.sysinit patch is adding --rm_partitions to the dmraid invocation 3) rc.sysinit uses dmraid -p, which tells dmraid to not setup device maps for the partitions of the raidset and then kalls kpartx to setup the device maps for the partitions. This can be simplified by removing the -p argument to dmraid 4) with all these changes in place there is no longer a reason to loop, a single dmraid invocation is enough. p.s. AFAIK with this patch the last user of dm_resolve_name is gone, so that function can be removed. Better check twice though. | ||||
* | __pids_var_run: Handle multi-line pid files correctly (#473287) | Bill Nottingham | 2008-12-01 | 1 | -4/+9 |
| | | | | | | | We were only reading the first line of pid files. Given that even those first lines could have multiple pids, this *shouldn't* break anything, but there may be some scripts with multi-line pid files that aren't expecting this. | ||||
* | Remove %config from init scripts, network scripts. (#225900) | Bill Nottingham | 2008-09-30 | 1 | -0/+0 |
| | | | | Also, fix permissions on rc.d/init.d/functions. | ||||
* | Use the pidfile before running pidof in status(). (#463205) | Bill Nottingham | 2008-09-24 | 1 | -4/+6 |
| | | | | This matches the behavior of killproc. | ||||
* | Just use plymouth directly, not the rhgb-client wrapper. | Bill Nottingham | 2008-09-23 | 1 | -5/+5 |
| | | | | This fixes the fact that the semantics of --details changed. | ||||
* | Remove dead code. | Bill Nottingham | 2008-09-17 | 1 | -18/+0 |
| | |||||
* | Properly hide the plymouth splash if needed. | Bill Nottingham | 2008-07-28 | 1 | -12/+0 |
| | | | | Also, remove some old rhgb code. | ||||
* | Don't export GRAPHICAL - plymouth is for all modes. | Bill Nottingham | 2008-06-19 | 1 | -3/+1 |
| | | | | Don't try to start rhgb. | ||||
* | Revert "Remove rhgb support." | Bill Nottingham | 2008-06-19 | 1 | -0/+20 |
| | | | | This reverts commit c722b0ee95746aa9289efd40bbdd23a87d1e5dee. | ||||
* | Make resolve_dm_raid() work when your original raid was set up with | Peter Jones | 2008-05-14 | 1 | -0/+7 |
| | | | | parameters generated by an older dmraid's "dmraid -ay --test". | ||||
* | Remove rhgb support. | Bill Nottingham | 2008-05-13 | 1 | -20/+0 |
| | |||||
* | Various minor optimizations to speed up boot. (<arjan@infradead.org>) | Bill Nottingham | 2008-02-26 | 1 | -2/+4 |
| | | | | | | | | Notable: - separate [ "$variable" ] tests from [ -f ... ] - don't grep init scripts - cache the information from /sbin/consoletype - simplify 'confirm' handling | ||||
* | clean up some extraneous delays (#219816) | Bill Nottingham | 2007-10-08 | 1 | -4/+10 |
| | |||||
* | more fixes (#220087) | Bill Nottingham | 2007-09-25 | 1 | -1/+1 |
| | |||||
* | optimize out some excess greps (<harald@redhat.com>) | Bill Nottingham | 2007-08-29 | 1 | -0/+12 |
| | |||||
* | typo | Bill Nottingham | 2007-08-29 | 1 | -1/+1 |
| | |||||
* | make __readlink as simple as possible. Seems to match the /usr/bin | Bill Nottingham | 2007-08-29 | 1 | -18/+1 |
| | | | | implementation (which does not normalize for full paths) | ||||
* | - added support for cryptsetup-uuids (bug #242078) | Harald Hoyer | 2007-08-14 | 1 | -0/+21 |
| |