aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Set NIS domain (#704919)Lukas Nykryn2012-04-271-0/+1
|
* rc.sysinit - use rcS-emergency job instead of suloginPetr Lautrbach2012-02-141-3/+3
|
* Turn off UPS in powerfail situation (#754984, <robert@fedoraproject.org>)Lukas Nykryn2012-02-131-0/+5
| | | | | | Patch by Robert Scheck <robert@fedoraproject.org> for initscripts >= 9.03.23, which adds the required support for apcupsd to the halt initscript to turn off the UPS in case of a powerfail situation.
* Do not check mounted filesystems (#745224)Lukas Nykryn2012-02-131-1/+1
|
* Just exit on first response (#744734)Bill Nottingham2012-02-131-1/+1
| | | | | | Conflicts: rc.d/init.d/netconsole
* Add cifs to check for network filesystem (#760018).Bill Nottingham2012-02-131-4/+2
| | | | Use findmnt to simplify the code.
* use restorecon -F for /dev and /dev/pts (#743222)Petr Lautrbach2011-10-071-2/+2
|
* plymouth lives in /bin. (#702814)Bill Nottingham2011-08-163-12/+13
| | | | | | Conflicts: rc.d/rc.sysinit
* Don't mount gfs2 in netfs (#689593)Bill Nottingham2011-08-151-1/+1
|
* VLAN, etc. interfaces can be slaves; check for being a slave first. (#703475)Bill Nottingham2011-08-151-4/+4
| | | | | | Conflicts: rc.d/init.d/network
* don't match filesystem types in hostnames (#703203, <jmueller@data-tronics.com>)Bill Nottingham2011-08-151-1/+2
|
* Fix logic error (#698520, <jlau@redhat.com>)Bill Nottingham2011-08-151-1/+1
|
* load static arp entries from ethers file (#696788)Petr Lautrbach2011-08-151-0/+4
|
* Use net_log where appropriate.Bill Nottingham2011-08-151-1/+1
|
* Add a comment explaining the oft-confused -t nox,y,z mount syntax.Bill Nottingham2011-08-152-0/+2
| | | | | The 'no' applies to all listed filesystem types, not just the first. Since this comes up in bugzilla once every month or two, explicitly comment it.
* Move sysctl.conf/sysctl.d handling to a function, call it where appropriate. ↵Bill Nottingham2011-08-153-7/+12
| | | | (#593211, continued)
* Add support for sysctl.d (#59311)Martin Langhoff2011-08-151-0/+4
|
* Don't print errors if mdadm isn't installed. (#692187)Bill Nottingham2011-04-191-2/+2
|
* don't pass '' to umount (#682879)Petr Lautrbach2011-03-161-1/+1
|
* Don't do force/lazy umount for the first nfs umount. (#676851, ↵Bill Nottingham2011-03-101-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.
* test if there is /dev/rtc before syncing hardware clock (#598850)Petr Lautrbach2011-01-141-1/+1
|
* add # as a valid character in network device namesMatt Domsch2011-01-141-1/+1
|
* Explicitly pass both device and dir when remounting read-only (#620461, ↵Bill Nottingham2010-12-061-2/+2
| | | | <phr@doc.ic.ac.uk>)
* Simplify various string match constructs. (#558575)Ville Skyttä2010-12-063-6/+6
|
* Clarify description (#637176)Bill Nottingham2010-09-241-1/+1
|
* Don't frob the console loglevel on boot. (#621257, #626572)Bill Nottingham2010-08-241-5/+0
| | | | | | | | 1) This didn't do anything useful prior to rsyslog, as sysklogd would reset it. 2) This overrides the kernel commandline, for people who want to temporarily reset it there 3) This actually turns messages back on out from underneath plymouth, which isn't nice. To frob the console loglevel, pass it on the kernel command line.
* Remove 'press 'I' for interactive startup message.Bill Nottingham2010-07-011-4/+0
| | | | | Even with plymouth wait-kestroke support, this method is deprecated in favor of booting with 'confirm'.
* Use plymouth wait-keystroke, etc. for interactive mode, not getkey. (#605016)Bill Nottingham2010-07-011-16/+3
| | | | getkey won't work right in a plymouth context.
* Also init_crypto for encrypyed network block devices. (#605600)Bill Nottingham2010-06-233-160/+165
|
* Use /etc/system-release instead of /etc/redhat-releaseBill Nottingham2010-06-181-6/+6
|
* Handle permission denied on reading PID file. (#595597)Bill Nottingham2010-06-091-0/+4
|
* Add functions to check shvar-style variables.Bill Nottingham2010-06-041-0/+21
|
* Always reboot on autorelabel. (#595823)Bill Nottingham2010-06-031-19/+9
| | | | | | It's not just init that could be mislabeled and cause problems; there's udev, random other command from rc.sysinit, etc. Furthermore, this avoids a problem with ending up in permissive mode.
* Remove extraneous newline.Bill Nottingham2010-05-201-1/+0
|
* Correct the fix for not clearing environment with runuser. (#203010, #564093)Bill Nottingham2010-05-191-1/+1
| | | | This changes runuser to not use a login shell. We'll see what happens.
* Use new lvm2 --sysinit option. Conflict with older lvm2. (#588777)Bill Nottingham2010-05-181-3/+1
|