| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
The wireless directory has been removed in kernel commit
35b2a113cb0298d4f9a1263338b456094a414.
Check the phy80211 symlink instead.
|
|
|
|
| |
is_wireless_device is doing the same thing.
|
|
|
|
| |
/var/lock is a symlink to /run/lock
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
It already starts after udev-settle.service and there is no hard requirement
here, so nuke it.
|
|
|
|
|
| |
This just reflects better that they have been run an all is well
when looking at systemctl --all output.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
e.g. if the h/w kill switch is set on a wifi device, it will be unavailable
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This just mirrors 8f85566feeb57e8385c7e024cdde021e3f041bc2
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Also do not wait for NM devices with no link.
|
|
|
|
| |
Like done upstream in commit 300aaee62cd7a3166969e795b53b065c510e09c1
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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(-)
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
It also has support for quitting plymouth, so no need to do that.
|
|
|
|
|
|
|
| |
But ensure this is only run when booting with sysvinit. Systemd handles this
in a different way.
mga#3512
|
| |
|
| |
|
|
|
|
| |
This uses the same technique as described in 'man sd_booted'
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Non-systemd init daemons will need to recreate this functionality.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
console-ish. (#657869)
If we're connected to a socket, or a pipe, or a file, or anything else - assume dumb mode.
|
| | |
|