aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* remove mandriva-clean-var-run-lock systemd service, unneded now that ↵Olivier Blin2012-10-231-11/+0
| | | | /var/lock is a symlink to /run/lock
* network: Deal with ifcfg-* file that have spaces in them.Colin Guthrie2012-04-101-10/+11
| | | | | | This can happen on the ifcfg-Auto* files created by NM. It may be more sensible overall to just skip such files, but incase any other invalid files are found, they are now simply skipped to avoid errors.
* network: Remove old service names from LSB headersColin Guthrie2012-04-061-2/+2
|
* network: Write a flag that can be used as a trigger for udevColin Guthrie2012-04-061-0/+12
| | | | | | | | | | | udev might detect network interfaces that in turn check to see if the network subsystem is ready. It did this via checking a file in /var/lock, but this is not a good idea if that file system tree is messy from a previous boot. The (separate) cleaning process has to run after udev (because udev may be needed to mount /var filesystem) and thus we have to use a different flag until /var/lock is on a tmpfs.
* functions: Add a SYSTEMCTL_NO_BLOCK env varColin Guthrie2012-04-031-1/+4
|
* Make network and network-up start after NetworkManager should it be enabled.Colin Guthrie2012-03-261-4/+1
| | | | | | | | | | Both scripts will check to see if NetworkManager is running before deciding to ignore interfaces. This directive will ensure that systemd starts NetworkManager before running these scripts and thus any checks and probes will be valid. This should prevent the double running of wpa_supplicant if the network script was run before NetworkManager which can cause constant disconnects.
* Also ignore the TYPE=Wireless when shutting down interfaces.Colin Guthrie2012-03-251-0/+4
| | | | This just mirrors 8f85566feeb57e8385c7e024cdde021e3f041bc2
* Ignore 'Wireless' network config files.Colin Guthrie2012-03-181-1/+4
| | | | | | | | | Network manager does not write SLAVE=yes, but they are effectively slave connections. We should not start these interfaces directly. Also use /bin/ls directly to avoid any aliasing (not that this should be an issue in a script context)
* Fix some mis-mergingColin Guthrie2011-11-041-2/+2
|
* Modify the check for systemd to use a more standard method.Colin Guthrie2011-11-031-2/+4
| | | | This uses the same technique as described in 'man sd_booted'
* Merge commit 'initscripts-9.34-1' into mga-34Colin Guthrie2011-11-038-72/+112
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings our fully patched initscripts branch up to version 9.34. Some code was not easily merged and thus not all functionality relating to multiple IP addresses per interface were merged in. Conflicts: Makefile lang.csh lang.sh prefdm rc.d/init.d/functions rc.d/init.d/netfs rc.d/init.d/network rc.d/rc rc.d/rc.local rc.d/rc.sysinit service sysconfig.txt sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ipv6 sysconfig/network-scripts/ifup-sit sysconfig/network-scripts/ifup-tunnel sysconfig/network-scripts/network-functions systemd/system/fedora-sysinit-unhack.service
| * If locale.conf exists, use it. (#706756, in part)Bill Nottingham2011-10-252-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 use the first ARP response in netconsole (#744309)Doug Knight2011-10-071-1/+1
| |
| * Be less picky about ifcfg file names. (#742276)Bill Nottingham2011-09-301-2/+2
| |
| * Only bother with consoletype if we're actually connected to something that's ↵Bill Nottingham2011-09-191-2/+2
| | | | | | | | | | | | console-ish. (#657869) If we're connected to a socket, or a pipe, or a file, or anything else - assume dumb mode.
| * selinuxfs moved, adjust code. (#733759)Bill Nottingham2011-08-301-7/+7
| |
| * Call multipath and kpartx with -u. (#733437)Bill Nottingham2011-08-251-2/+2
| |
| * plymouth lives in /bin. (#702814)Bill Nottingham2011-08-153-12/+12
| |
| * Don't mount gfs2 in netfs (#689593)Bill Nottingham2011-08-011-1/+1
| |
| * Add back a message for udev start. (#714531, continued)Bill Nottingham2011-06-211-1/+1
| |
| * Start udev by hand. (#714531)Bill Nottingham2011-06-201-1/+4
| |
| * Clean up some noise if stderr isn't available.Bill Nottingham2011-06-021-2/+2
| |
| * VLAN, etc. interfaces can be slaves; check for being a slave first. (#703475)Bill Nottingham2011-05-121-4/+4
| |
| * Tweak wording, as other scripts with S99 priority may actually run later. ↵Bill Nottingham2011-05-101-1/+1
| | | | | | | | (#703148)
| * Use LC_ALL=C when calling sed. ↵Bill Nottingham2011-05-101-3/+3
| | | | | | | | (https://bugs.mageia.org/show_bug.cgi?id=1216, via <sander.lepik@eesti.ee>)
| * fuser -k defaults to -9; set the initial pass to kill -15. (#703457)Bill Nottingham2011-05-101-2/+2
| |
| * don't match filesystem types in hostnames (#703203, <jmueller@data-tronics.com>)Bill Nottingham2011-05-091-1/+2
| |
| * Fix logic error (#698520, <jlau@redhat.com>)Bill Nottingham2011-04-251-1/+1
| |
| * Support overriding hostname via /etc/hostname.Bill Nottingham2011-04-181-0/+3
| |
| * Don't print errors if mdadm isn't installed. (#692187)Bill Nottingham2011-03-301-2/+2
| |
| * Use net_log where appropriate.Bill Nottingham2011-03-251-1/+1
| |
| * Add a comment explaining the oft-confused -t nox,y,z mount syntax.Bill Nottingham2011-03-222-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.
| * Fix mishandled argument to fstab-decode. (#685137)Bill Nottingham2011-03-151-1/+1
| |
| * Revert "Call sync after nfs unmount, otherwise we'll hang when the kernel ↵Bill Nottingham2011-03-101-1/+0
| | | | | | | | | | | | | | | | | | syncs later. (#637500)" This reverts commit decf19bb9dc7b70ad89f9154899e73df069f5e62. This is better handled by not doing a force/lazy umount the first time. (a9b0d6b5c655da96783851d5304c4d800d4e4553)
| * Don't do force/lazy umount for the first nfs umount. (#676851, ↵Bill Nottingham2011-03-071-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-011-1/+1
| |
| * Avoid some unnecessary stat calls.Ville Skyttä2011-03-011-6/+4
| |
| * Move sysctl.conf/sysctl.d handling to a function, call it where appropriate. ↵Bill Nottingham2011-02-283-7/+12
| | | | | | | | (#593211, continued)
| * Tweak waiting times slightly. (#596451)Bill Nottingham2011-02-281-2/+2
| |
| * Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)Bill Nottingham2011-02-281-6/+12
| |
| * Add support for noauto crypt devices, to mirror systemd.Bill Nottingham2011-02-281-0/+3
| |
| * Drop some unnecessary command invocations.Ville Skyttä2011-02-281-3/+3
| |
| * Allow for plymouth to enter non-LUKS passphrases (#621158, ↵Bill Nottingham2011-02-281-4/+10
| | | | | | | | <redhat-bugzilla@camperquake.de>)
| * Call sync after nfs unmount, otherwise we'll hang when the kernel syncs ↵Bill Nottingham2011-02-251-0/+1
| | | | | | | | later. (#637500)
* | Do not attempt to overwrite /etc/mtab if it's a symlink (suppresses error)Colin Guthrie2011-10-221-3/+6
| |
* | Ensure we disable speedboot when used with systemd.Colin Guthrie2011-10-221-0/+7
| | | | | | | | | | | | Speedboot causes us problems with systemd that typically manifest themselves in user permission/ACL application issues, especially when combined with autologin.
* | run chvt with --userwait option at shutdown to avoid hanging waiting for ↵Olivier Blin2011-10-221-1/+1
| | | | | | | | chvt 1, since dm stop might have triggered a vt change as well details from vuntz on https://bugzilla.novell.com/show_bug.cgi?id=540482#c115 (happens on my laptop with Mobility Radeon 9600 M10, plymouth disabled)
* | Limit the number of tries to unlockJari2011-10-221-1/+1
| | | | | | | | Bug #1290
* | Fix password prompt for encrypted partitionsJari2011-10-221-1/+1
| | | | | | | | Bug #1290
* | Replace LANG with LC_ALLThomas Backlund2011-10-221-3/+3
| | | | | | | | https://bugs.mageia.org/show_bug.cgi?id=1216