aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* network: Treat other tunnel interfaces, fixes ifdown stageRodrigo Freire2016-11-151-0/+10
| | | | | | | | | | | | This patch is a complement of commit 5e9dd516e2e0 ("add bonding & xDSL to the list of devices brought up afterwards (#97030,#91399)"), ensuring that GRE and IPIP tunnels are brought up after base interfaces are up, and bring down before the underlying interface goes down. Signed-off-by: Rodrigo Freire <rfreire@redhat.com> Resolves: RHBZ #1315018
* netconsole: resolve domain name via 'getent' instead of 'hosts'David Kaspar [Dee'Kej]2016-11-011-3/+20
| | | | Resolves: RHBZ #1278519
* Support boolean values in is_true() & is_false() functionsDavid Kaspar [Dee'Kej]2016-10-271-2/+2
|
* functions: parse -d firstLukas Nykryn2016-04-121-1/+2
|
* functions: fix ignored delay in killprocLukas Nykryn2016-04-111-1/+6
|
* netfs: only unmount loopback device mounted on top of netdev or with ↵Lukas Nykryn2016-02-032-20/+64
| | | | back-file on netdev
* init.d/functions: fix a possible race between checking file and reading itLukas Nykryn2016-02-011-2/+2
|
* functions: improve killing loopsLukas Nykryn2016-01-191-57/+76
| | | | Resolves: #1284724
* netfs: tweak nfs umountLukas Nykryn2016-01-192-58/+75
| | | | | | | | We want to run one round of regular umount before we will look for open descriptors. In the case that there are some stale mounts, without any open file descriptors on them we will avoid blocking stat call later. Resolves: #1296900
* rc.sysinit: don't perform fsck twice with /.autorelabelLukas Nykryn2016-01-051-0/+3
| | | | Reesolves: #1236062
* rc.sysinit: fix typo in fsLukas Nykryn2015-12-151-1/+1
| | | | Resolves: #1291498
* clarify daemon() usage messageFilip Krska2015-10-271-2/+2
| | | | Resolves: #1212751
* init.d/halt: give init some time to reexecuteLukas Nykryn2015-10-271-0/+2
| | | | Resolves: #1259873
* rc.sysinit: apply quotas after system is relabeledLukas Nykryn2015-08-131-9/+9
|
* Use new -m option to pidof. Require new enough sysvinit-tools. (#632321)Bill Nottingham2015-03-021-2/+2
| | | | | Conflicts: initscripts.spec
* rc.sysinit: be more verboseLukas Nykryn2015-02-272-3/+16
|
* init.d/functions: rc.debug option to debug initscriptsLukas Nykryn2015-02-271-0/+6
| | | | | Conflicts: rc.d/init.d/functions
* netfs: don't race NFS umount to network shutdownBenjamin Coddington2015-02-271-5/+57
| | | | | | | | | | | | | | RHEL6 customers have been reporting hangs when restaring due to IO for NFS filesystems being unable to flush after network shutdown. The current __umount_loop allows newly created processes to continue to open files to NFS filesystems, which can create thisi problem. Change the umount logic to perform a MNT_DETACH, then search for processes that have open file descriptors on the detached filesystems. The detach prevents newly created processes from opening new files during our search. Finally, after making every attempt to clean up processes with open files, perform a sync to flush NFS filesystems before continuing onto network shutdown.
* network: report that we can't shut down network for root on netfsLukas Nykryn2015-02-271-0/+1
| | | | | Conflicts: rc.d/init.d/network
* rc.sysinit: set affinity also for current shellLukas Nykryn2015-02-271-0/+1
|
* netconsole: lets run earlierLukas Nykryn2015-02-041-1/+1
|
* halt: add delay after upsdrvctl shutdownMichal Hlavinka2015-02-041-0/+2
|
* init.d/functions: fix typo in pid_dirLukas Nykryn2014-06-181-1/+1
|
* readonly-root: remount rpc_pipefs if readonly-root is usedLukas Nykryn2014-06-061-0/+4
|
* netfs: implicitly handle glusterfs as a network filesystemdLukas Nykryn2014-04-302-2/+15
|
* init.d/functions: check parent dir of pid file for accessibilityLukas Nykryn2014-04-301-0/+3
| | | | | Conflicts: rc.d/init.d/functions
* rc.sysinit: apply sysctl settings before starting udevLukas Nykryn2014-03-261-0/+3
|
* pids_var_run: handle '(deleted)'Lukas Nykryn2014-03-261-1/+1
|
* rc.sysinit: use 'vgchange --ignoreskippedcluster'Lukas Nykryn2014-03-262-2/+2
|
* rc.sysinit: increase the saved random-seed to 4K (#1023471)Lukas Nykryn2014-03-261-1/+1
|
* umount-loop: make sure that we don't kill our own processLukas Nykryn2014-03-261-1/+1
|
* umount-loop: don't use xargsLukas Nykryn2014-03-261-1/+1
|
* init.d/functions: add -b optin to status and killproc (#1047948)Lukas Nykryn2014-01-201-5/+30
|
* remove duplicit thenLukas Nykryn2013-10-101-1/+0
|
* sync disks before halt (#1006294)Lukas Nykryn2013-10-101-0/+2
|
* add ability to disable LVM activation on boot (#1015065)Lukas Nykryn2013-10-101-1/+6
|
* Revert "do not run fsck in netfs multiple times (#825190)"Lukas Nykryn2013-08-091-5/+1
| | | | This reverts commit 542108e4cc22662701fd98e45ad13ece7a84baa1.
* remount /proc to set attributes from fstab #984003Lukas Nykryn2013-08-091-0/+2
|
* do not run fsck in netfs multiple times (#825190)Lukas Nykryn2013-07-221-1/+5
|
* netfs: do not force NFS exports to be mounted before _netdev mountsHarshula Jayasuriya2013-07-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current /etc/init.d/netfs mounts the following entries in /etc/fstab not in the order desired by the sysadmin: -------------------------------------------- /dev/san_test/san_vol /mnt/san ext3 _netdev 0 0 nas:/vol/vol7/afsdb /mnt/san/nfs nfs _netdev 0 0 -------------------------------------------- => The NFS filesystem needs to be mounted after the SAN filesystem. Looking at /etc/init.d/netfs: -------------------------------------------- 37 start) 38 # Let udev handle any backlog before trying to mount file systems 39 /sbin/udevsettle --timeout=30 40 [ -n "$NFSFSTAB" ] && 41 { 42 [ ! -f /var/lock/subsys/portmap ] && service portmap start 43 action $"Mounting NFS filesystems: " mount -a -t nfs,nfs4 44 } 45 [ -n "$SMBFSTAB" ] && action $"Mounting SMB filesystems: " mount -a -t smbfs 46 [ -n "$CIFSFSTAB" ] && action $"Mounting CIFS filesystems: " mount -a -t cifs 47 [ -n "$NCPFSTAB" ] && action $"Mounting NCP filesystems: " mount -a -t ncpfs 48 [ -n "$NETDEVFSTAB" ] && 49 { ... 98 } 99 touch /var/lock/subsys/netfs 100 # The 'no' applies to all listed filesystem types. See mount(8). 101 action $"Mounting other filesystems: " mount -a -t nonfs,nfs4,smbfs,cifs,ncpfs,gfs -------------------------------------------- => The NFS filesystems are mounted *before* _netdev regardless of what the sysadmin wants. So, let's defer all the mounts, NFS, SMB, CIFS, etc, to the final mount -a and only do all the necessary prereqs in the conditional clauses. This gives the sysadmin the ability to order netfs mounts as they see fit. Signed-off-by: Harshula Jayasuriya <harshula@redhat.com>
* Killproc -d should parse same values as sleepLukas Nykryn2013-07-151-2/+6
|
* Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)Bill Nottingham2013-07-151-6/+12
|
* Remount /dev/shm in sysinit to apply attributes from fstab (#669700)Lukas Nykryn2012-10-081-0/+3
|
* use vgchange -aay in rc.sysinit and netfs init scriptLukas Nykryn2012-10-082-2/+2
|
* script should not kill itself during shutdown (#862788)Lukas Nykryn2012-10-081-1/+1
|
* fix the NIS domain settingLukas Nykryn2012-10-081-1/+1
|
* Revert patches which should not be in 6.4Lukas Nykryn2012-10-081-18/+8
| | | | | | | | | | | | | | | | | | | | | | Revert "Process rule6-* for sit devices (#840009)" This reverts commit f082f9e64eadbf68ef9bb67744c97c0974af9115. Revert "securetty: check if the device is in the file before attempting to write to it" This reverts commit 10c72ce532c1d4f6d0b17fdc9448c9bd2d0b5ef5. Revert "Killproc -d should parse same values as sleep" This reverts commit 763b7dcf6bf9e47d90546be1aabf1f724dd527f8. Revert "Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)" This reverts commit 6e62c51f3162081cc05ef546929aa98b8448b1cb. Revert "Allow dhclient configuration files for DHCPv6 as well. (#815676)" This reverts commit 9987361e94ec6f26e557053b27af6e43a9ee13e1.
* Killproc -d should parse same values as sleepLukas Nykryn2012-08-071-2/+6
|
* Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)Bill Nottingham2012-08-071-6/+12
|
* Pass useful arguments to halt.local (#554392)Václav Pavlín2012-08-071-3/+4
|