Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | functions: systemctl show now returns an error when unit does not exist | Lukas Nykryn | 2016-08-02 | 1 | -1/+2 |
| | |||||
* | functions: improve killing loops | Lukas Nykryn | 2016-06-02 | 1 | -25/+73 |
| | |||||
* | init.d/functions: end with 0 | Lukas Nykryn | 2015-11-09 | 1 | -0/+1 |
| | |||||
* | service: improve status and stop function for daemon with intscripts | Lukas Nykryn | 2015-09-11 | 1 | -1/+8 |
| | | | | | | When daemon abnormally dies systemd leaves it in active state. This is due to support of initscripts like network. We can guess if it is a daemon or not. | ||||
* | init.d/functions: reload systemd if it can't see an initscript | Lukas Nykryn | 2015-08-26 | 1 | -0/+4 |
| | | | | | | | | In good old times it was enough to drop initscript to /etc/rc.d/init.d and call service start. Now you need to reload systemd before. For compatibility purposes we should check if systemd knows about the initscript and if not call systemctl daemon-reload automatically. | ||||
* | clarify daemon() usage message | Filip Krska | 2015-05-04 | 1 | -2/+2 |
| | |||||
* | init.d/functions: rc.debug option to debug initscripts | Lukas Nykryn | 2015-02-27 | 1 | -0/+3 |
| | |||||
* | init.d/functions: check parent dir of pid file for accessibility | Lukas Nykryn | 2014-04-30 | 1 | -0/+3 |
| | |||||
* | Killproc -d should parse same values as sleep | Lukas Nykryn | 2012-08-07 | 1 | -2/+6 |
| | |||||
* | Drop more unused functions, and drop old s-c-n profile support directories. | Bill Nottingham | 2012-08-06 | 1 | -34/+0 |
| | | | | The profile support itself was removed a while ago. | ||||
* | Remove more now-unused functions from init.d/functions (crypto/dm) | Bill Nottingham | 2012-08-06 | 1 | -180/+0 |
| | |||||
* | Drop fstab-decode and getkey; no longer used. | Bill Nottingham | 2012-08-06 | 1 | -65/+0 |
| | | | | Drop the umount loop from rc.d/init.d/functions. | ||||
* | Move default sysctl.conf to /usr/lib/sysctl.d, adjust things accordingly. ↵ | Bill Nottingham | 2012-04-20 | 1 | -5/+20 |
| | | | | | | (#760254) Also, update apply_sysctl to 1) use systemd-sysctl if it's there 2) imitate it if it's not. | ||||
* | If /dev/stderr also isn't readable, don't bother with consoletype. | Bill Nottingham | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | If locale.conf exists, use it. (#706756, in part) | Bill Nottingham | 2011-10-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | systemd's algorithm on startup is: - if /etc/locale.conf is parseable, use that - otherwise, use /etc/sysconfig/i18n Given that we have a heirarchy of system -> user settings here, simply go: ~/.i18n > /etc/locale.conf > /etc/sysconfig/i18n Add some documentation as well. | ||||
* | Only bother with consoletype if we're actually connected to something that's ↵ | Bill Nottingham | 2011-09-19 | 1 | -2/+2 |
| | | | | | | console-ish. (#657869) If we're connected to a socket, or a pipe, or a file, or anything else - assume dumb mode. | ||||
* | plymouth lives in /bin. (#702814) | Bill Nottingham | 2011-08-15 | 1 | -5/+5 |
| | |||||
* | Clean up some noise if stderr isn't available. | Bill Nottingham | 2011-06-02 | 1 | -2/+2 |
| | |||||
* | 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 |
| |