Harald Hoyer
af1154fdce
systemd/dracut-shutdown.service: make failure non-fatal
2014-07-29 11:52:07 +02:00
Harald Hoyer
84c66ac857
Do not wait_for_dev if hostonly_cmdline not set
2014-07-29 11:52:07 +02:00
Harald Hoyer
711030d61d
dracut: don't let devices timeout
...
https://bugzilla.redhat.com/show_bug.cgi?id=949697
2014-07-29 11:52:06 +02:00
WANG Chao
e2e32cd02f
Add -[-no]-hostonly-cmdline option handling for getopt
...
commit ab9457e introduce such new options but it missed to add these
options to getopt arguments.
Signed-off-by: WANG Chao <chaowang@redhat.com>
2014-07-29 11:52:06 +02:00
Harald Hoyer
dccf47fd55
test/TEST-50-MULTINIC/client-init.sh: skip MAC marker files
2014-07-29 11:52:06 +02:00
Harald Hoyer
e96c010011
test/Makefile: add SKIP env to skip certain tests
2014-07-29 11:52:06 +02:00
Harald Hoyer
8482be832c
test: add missing Makefile.testdir
2014-07-29 11:52:06 +02:00
Dave Young
d52c4a761a
add default values in fstab_lines
...
It's useful for passing a full fstab line including like fs_passno so fsck
can take effect.
Previously it's assumed that there's no fs_freq and fs_passno in fstab lines
so original code just append "0 0" at the end of each fstab lines.
Improve this issue by assign default value in case they are not passed in.
Three field are handled here:
fs_mntops: default to "defaults"
fs_freq: default to "0"
fs_passno: default to "2"
Signed-off-by: Dave Young <dyoung@redhat.com>
2014-07-29 11:52:06 +02:00
Harald Hoyer
61bad12d44
systemd: add systemd-sysctl service
...
https://bugzilla.redhat.com/show_bug.cgi?id=1070086
2014-07-29 11:52:06 +02:00
Harald Hoyer
853897808a
network: merge setup_net_$netif.ok and net.$netif.did-setup
...
one marker per interface is enough
2014-07-29 11:52:06 +02:00
Harald Hoyer
30e2074447
network: IPv6 status, wait for tentative flag to be cleared
...
also do not arping the IPv6 address.
2014-07-29 11:52:06 +02:00
Harald Hoyer
54c9094e2e
network/dhclient-script.sh:DHCP IPv6 interface setup
...
configure IPv6 interface for DHCP6
https://bugzilla.redhat.com/show_bug.cgi?id=1064365
2014-07-29 11:52:06 +02:00
Harald Hoyer
61fe003168
network/net-lib.sh:wait_for_ipv6_auto() also wait for the tentative flag
...
Wait until the tentative flag is cleared.
https://bugzilla.redhat.com/show_bug.cgi?id=1069263
2014-07-29 11:52:06 +02:00
Harald Hoyer
ea6bc75ccb
ifcfg/write-ifcfg.sh: do not bind s390 to MAC if SUBCHANNELS set
...
If SUBCHANNELS are set, do not specify HWADDR, because the SUBCHANNELS
are the identifier for the interface.
https://bugzilla.redhat.com/show_bug.cgi?id=1056438
2014-07-29 11:52:06 +02:00
Harald Hoyer
5a3b267d06
systemd/rootfs-generator.sh: generate units in /run/systemd/generator
...
Generate the units in /run/systemd/generator, so they are picked up by
systemd.
https://bugzilla.redhat.com/show_bug.cgi?id=1069133
https://bugzilla.redhat.com/show_bug.cgi?id=949697
2014-07-29 11:52:06 +02:00
Harald Hoyer
c2c437edba
default conf: set hostonly_cmdline == "no"
2014-07-29 11:52:06 +02:00
Harald Hoyer
81c9e22482
Add flag to toggle hostonly cmdline storing in the initramfs
...
--hostonly-cmdline:
Store kernel command line arguments needed in the initramfs
--no-hostonly-cmdline:
Do not store kernel command line arguments needed in the initramfs
2014-07-29 11:52:06 +02:00
Harald Hoyer
da41507de9
systemd: add 70-uaccess.rules
2014-07-29 11:52:06 +02:00
Harald Hoyer
a367bed836
systemd: add sys-kernel-config.mount
2014-07-29 11:52:06 +02:00
Harald Hoyer
6381b94459
dracut.sh: write directly to the output file
...
Because we already remove the output file before writing to it, we don't
have to play games and write to a temporary file first.
2014-07-29 11:52:06 +02:00
Harald Hoyer
346fab9500
fcoe-uefi: try all FcoeBootDevice-* variables for a DevicePath
...
try to read the DevicePath from all FcoeBootDevice-* UEFI variables
until one has a MAC.
2014-07-29 11:52:06 +02:00
Harald Hoyer
84dfea4d2a
iscsi: for iBFT read the initiator-name from the correct file
...
/sys/firmware/ibft/initiator-name should be
/sys/firmware/ibft/initiator/initiator-name
https://github.com/haraldh/dracut/issues/12
2014-07-29 11:52:06 +02:00
Harald Hoyer
64c88c2f1d
dracut-functions.sh:find_kernel_modules_by_path() fixed updates search
...
"updates/*" path does not start with "/"
2014-07-29 11:52:06 +02:00
Harald Hoyer
9bbea8caf8
kernel-modules: add sdhci_acpi to the static list of kernel modules
...
Thanks Adam Williamson!
https://bugzilla.redhat.com/show_bug.cgi?id=1063556
2014-07-29 11:52:06 +02:00
Colin Guthrie
361eaeaf07
dracut.sh: Fix variable name typo.
...
This caused the root_dev variable not to be set which in turn meant that
the root device was not whitelisted in 99base/module-setup.sh when injecting
compile-time devexists hooks in hostonly initrds. This ties the generated
initrd to the root fs device (typically the UUID) rather than relying solely
only the root= kernel command line.
While it is hostonly, not hardcoding e.g. UUIDs is still desirable. Any
swap partition on the host device is still added however.
2014-07-29 11:52:06 +02:00
Brian C. Lane
99ed45c218
new_dhcp_next_server is really new_next_server
...
The variable that dhclient sets doesn't have dhcp in the name. This
could cause problems with setups where the server is not the same as the
dhcp server.
2014-07-29 11:52:06 +02:00
Harald Hoyer
80f75fed99
systemd/dracut-pre-pivot: run for /dev/{nfs,root} and cleanup /dev/nfs
...
dracut-pre-pivot was not cleaning up /dev/nfs and did not run to clean
up /dev/root.
2014-07-29 11:52:06 +02:00
Harald Hoyer
37a09c9cb6
nfs/nfsroot: symlink /dev/null to /dev/nfs, as a marker for root=/dev/nfs
2014-07-29 11:52:06 +02:00
Harald Hoyer
054447fa23
network/ifup: do not run dhclient twice on the same interface
2014-07-29 11:52:06 +02:00
Harald Hoyer
0c0ca2d9bc
network/ifup: do not ifup an already setup network interface
2014-07-29 11:52:06 +02:00
Harald Hoyer
226004e007
skipcpio: fixed signatured check
2014-07-29 11:52:06 +02:00
Cristian Rodríguez
dc662386dc
skipcpio: return something at end of program
...
Otherwise the compiler emits a warning and the return vale is
in theory undefined.
2014-07-29 11:52:06 +02:00
Harald Hoyer
36d3274050
network:fix dns parsing in ip= parameter
2014-07-29 11:52:05 +02:00
Harald Hoyer
d802e985ae
fcoe-uefi: do not include, if fcoe utils not installed
2014-07-29 11:52:05 +02:00
Harald Hoyer
3bb36e4512
dracut.spec: add 95fcoe-uefi and 99uefi-lib
2014-07-29 11:52:05 +02:00
Harald Hoyer
c26eb3eb3a
move uefi-lib to a seperate module
2014-07-29 11:52:05 +02:00
Harald Hoyer
8bde20bc65
fcoe: move uefi parsing to fcoe-uefi module
2014-07-29 11:52:05 +02:00
Harald Hoyer
c127eb8021
base/rdsosreport.sh: add dracut version to rdsosreport
2014-07-29 11:52:05 +02:00
Harald Hoyer
5676a6d877
dmsquash-live/dmsquash-liveiso-genrules.sh: s/loop0/loop-control/
...
If loop is a kernel module, /dev/loop0 will never show up as a udev
event, if the loop module is not manually loaded somewhere.
2014-07-29 11:52:05 +02:00
Harald Hoyer
3d47b5124c
network/net-lib.sh: parse ibft nameserver settings
2014-07-29 11:52:05 +02:00
Harald Hoyer
b397bb7c19
network/ifup.sh: handle $dns1 and $dns2 from "ip=" settings
2014-07-29 11:52:05 +02:00
Harald Hoyer
b4b60da8dc
network: understand ip=.....:<dns1>:<dns2>
2014-07-29 11:52:05 +02:00
Harald Hoyer
c6fe81559e
dracut.conf.d/fedora.conf.example: turn on early_microcode by default
2014-07-29 11:52:05 +02:00
Harald Hoyer
286fbebdaf
dracut.sh: only set the owner of files to 0:0, if generated as non-root
...
If the root user generates the initramfs image, preserve the ownership
of the files. This of course cannot be done for non-root users
generating an initramfs image.
2014-07-29 11:52:05 +02:00
Harald Hoyer
27acb483e8
dracut-functions.sh: also search in the updates directory
2014-07-29 11:52:05 +02:00
Cristian Rodríguez
657e832da0
systemd: ensure autofs4 and ipv6 are included
...
Systemd tries to load this modules very early.
Even though they are not strictly required it it is a good
thing to have them around.
[Edited-by: Harald Hoyer: moved to installkernel() ]
2014-07-29 11:52:05 +02:00
Harald Hoyer
40cf35ef4e
dracut.spec: add skipcpio
2014-07-29 11:52:05 +02:00
Harald Hoyer
f812e271cb
iscsi/iscsiroot.sh: beautify warning
2014-07-29 11:52:05 +02:00
Stig Telfer
2f117f4db3
dracut-lib.sh: bugfix for pidof function
...
In follow-up, the patch requires a second mod: kernel tasks have a /proc/.../exe that links to nothing and derails the for loop:
2014-07-29 11:52:05 +02:00
Stig Telfer
37a18fda11
dracut-lib.sh: bugfix for pidof function
...
It appears there is a simple substitution error in the pidof shell function which causes it to fail to find processes. In my case, processes started by 95nfs are not terminated in the cleanup hook. This causes knock-on effects disturbing the root filesystem service dependencies.
Enjoy,
Stig Telfer
2014-07-29 11:52:05 +02:00