aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo in display-manager-failure-message (mga#7868)Colin Guthrie2012-10-281-2/+2
|
* network-functions: fix detecting wireless devices in sysfsOlivier Blin2012-10-231-1/+1
| | | | | | The wireless directory has been removed in kernel commit 35b2a113cb0298d4f9a1263338b456094a414. Check the phy80211 symlink instead.
* ifup-eth: remove extra wireless sysfs checkOlivier Blin2012-10-231-2/+2
| | | | is_wireless_device is doing the same thing.
* remove mandriva-clean-var-run-lock systemd service, unneded now that ↵Olivier Blin2012-10-233-31/+0
| | | | /var/lock is a symlink to /run/lock
* Rename for new udev systemd serviesColin Guthrie2012-07-132-3/+3
|
* Make sure to invalidate nscd cache under systemd as neededColin Guthrie2012-07-131-1/+1
|
* inputrc: remove now unused inputrc.sh profile scriptOlivier Blin2012-07-131-1/+0
|
* inputrc: do not export INPUTRC, readline defaults to the same files alreadyOlivier Blin2012-07-132-4/+0
|
* inputrc: do not export LESSKEY, less defaults to the same files alreadyOlivier Blin2012-07-132-3/+0
|
* inputrc: do not export LESS=-MM anymoreOlivier Blin2012-07-132-2/+0
| | | | | | | | LESS=-MM breaks colorized output of git, and maybe perl-doc as well (Mdv #57143). It seems no other distro is shipping this as default, should be safe to remove.
* Do not leak the exit status of the test a return status.Colin Guthrie2012-04-241-4/+4
|
* network: Deal with ifcfg-* file that have spaces in them.Colin Guthrie2012-04-102-29/+31
| | | | | | 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
|
* systemd: No need to pull in udev*.services in dmesg saving.Colin Guthrie2012-04-061-1/+0
| | | | | It already starts after udev-settle.service and there is no hard requirement here, so nuke it.
* systemd: Add RemainAfterExit to the Mandriva services.Colin Guthrie2012-04-065-0/+5
| | | | | This just reflects better that they have been run an all is well when looking at systemctl --all output.
* 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.
* harddrake: Hopefully solve the cpufreq stall on first boot.Colin Guthrie2012-04-031-1/+1
| | | | | | | | | | | As harddrake is run by mandrake_everytime (which starts Before=basic.target) and it, in turn may try to start cpufreq (which starts After=basic.target) a deadlock can occur. To work around this, we pass the --no-block option to systemctl to return flow and allow us to continue. Hopefully solves mga#4772
* functions: Add a SYSTEMCTL_NO_BLOCK env varColin Guthrie2012-04-031-1/+4
|
* network-up: Let NM do more work when waiting for network to be up.Colin Guthrie2012-04-021-17/+35
| | | | | | | Trust link detection to Network Manager rather than doing more work ourselves. Also ensure we wait for resolvconf even when we are using NM as this is still needed.
* networkmanager: Add a function to see if a connection is unavailable.Colin Guthrie2012-04-021-0/+6
| | | | e.g. if the h/w kill switch is set on a wifi device, it will be unavailable
* Ensure network-auth holds up user logins under systemdColin Guthrie2012-04-011-1/+2
| | | | | | | | This change ensures that systemd will wait until this script completes (and thus network is up) before we allow any logins. Also provide $named such that this translates to nss-lookup.target in systemd.
* Ignore TYPE=Wireless in network-up too.Colin Guthrie2012-03-261-0/+5
|
* Make network and network-up start after NetworkManager should it be enabled.Colin Guthrie2012-03-262-5/+2
| | | | | | | | | | 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
* Fix 'service' when no action is suppliedColin Guthrie2012-03-241-1/+1
|
* Don't write to stderr that's not there (or a socket)Colin Guthrie2012-03-241-1/+1
|
* Fix runlevel switching by only cleaning /var/{lock,run} once on boot.Colin Guthrie2012-03-241-0/+2
| | | | | | | | | | This is really just a hack as both these folders should really be symlinks into /run which is tmpfs and thus always clean on boot. This will be done for mga3 (and performed by dracut on boot for any filesystem that needs it). https://bugs.mageia.org/show_bug.cgi?id=4744
* network-up: do per-device connection check for NetworkManagerOlivier Blin2012-03-241-7/+6
| | | | Also do not wait for NM devices with no link.
* network: assume NetworkManager is used if NM_CONTROLLED is not setOlivier Blin2012-03-242-3/+3
| | | | Like done upstream in commit 300aaee62cd7a3166969e795b53b065c510e09c1
* 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)
* Correct path to mdadm map file.Thomas Backlund2012-03-111-1/+1
| | | | | | | | | | | Mageia (since mdv days) stores the mdadm map in different place than Fedora. Reference: https://bugs.mageia.org/show_bug.cgi?id=4875 Signed-off-by: Thomas Backlund <tmb@mageia.org> systemd/fedora-storage-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Add a simple message for systemd users when X11 fails to initialise.Colin Guthrie2012-03-082-0/+28
| | | | | | | | | This system is rather crude and uses mingetty to ensure the tty is properly reset and initialised. A more complete solution would do all this internally and perhaps offer some options to e.g. enter the root password and automatically run drakx11. https://bugs.mageia.org/show_bug.cgi?id=4769
* Add lxdm to prefdm.Colin Guthrie2012-03-011-0/+2
| | | | It also has support for quitting plymouth, so no need to do that.
* Reinstate clock rules for udev.Colin Guthrie2011-12-141-0/+5
| | | | | | | But ensure this is only run when booting with sysvinit. Systemd handles this in a different way. mga#3512
* Fix some mis-mergingColin Guthrie2011-11-041-2/+2
|
* Reduce unneeded differences to prefdmColin Guthrie2011-11-042-24/+19
|
* 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'
* Reduce differences in network scripts.Colin Guthrie2011-11-032-30/+62
| | | | | | This just merges in some upstream changes between 25 and 34 that allows for multiple static IP addresses to be defined in the ifcfg files.
* Merge commit 'initscripts-9.34-1' into mga-34Colin Guthrie2011-11-0368-1896/+1699
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 9.34-1initscripts-9.34-1Bill Nottingham2011-10-251-1/+5
| |
| * If locale.conf exists, use it. (#706756, in part)Bill Nottingham2011-10-256-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Fix logic error with removing arp_ip_target (#745681)Bill Nottingham2011-10-131-1/+1
| |
| * Drop 88-clock.rules excludeBill Nottingham2011-10-121-1/+0
| |
| * Bump releaseinitscripts-9.33-1Bill Nottingham2011-10-121-1/+8
| |
| * Only use the first ARP response in netconsole (#744309)Doug Knight2011-10-071-1/+1
| |
| * Drop this entirely, as it causes issues in conjunction with systemd.Bill Nottingham2011-10-061-3/+0
| | | | | | | | Non-systemd init daemons will need to recreate this functionality.
| * Be less picky about ifcfg file names. (#742276)Bill Nottingham2011-09-301-2/+2
| |
| * do not check for the existence of a systemd unit before redirectingMichal Schmidt2011-09-261-5/+1
| | | | | | | | | | | | | | It is wrong to look only in /lib/systemd/system. systemd can handle units in several other directories as well. The check is needless. Simply redirect everything that's not a SysV service and let systemctl report an error if it's invalid.
| * 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.
| * 9.32-1initscripts-9.32-1Bill Nottingham2011-09-021-1/+19
| |