Cong Wang
2347ccef79
fix version number in changelog
2012-04-11 19:36:29 +08:00
Cong Wang
7f1816b6c1
Release 2.0.2-43
2012-04-11 19:32:20 +08:00
Dave Young
7a2ab0af8c
variable name fix
...
Resolves: bz807649
$need_dns should be $_need_dns
[v1->v2]: ChaoWang: quote "$_need_dns"
2012-04-11 19:28:53 +08:00
Cong Wang
832c25f2d6
Release 2.0.3-42
2012-03-30 11:42:14 +08:00
Chao Wang
f590d235e0
Handle net option for nfs in kdump.conf correctly
...
Resolve: bug 807521
The fix is easy.
Command sed should be called with option -n to remain slience when DUMP_TARGET
is a nfs server like 'nfs.server:/mnt/testarea/nfs'.
Then nfs function check_ssh_config will return 1 to not to config nfs like a
ssh dump
Signed-off-by: Chao Wang <chaowang@redhat.com>
2012-03-30 11:36:51 +08:00
Dave Young
f7b9767f87
spec: depends on dracut-network
...
Resolves: bz807286
kexec-tools should depend on dracut-network
Signed-off-by: Dave Young <dyoung@redhat.com>
2012-03-30 11:32:51 +08:00
Dave Young
985fcae6ec
get ip addr with getent
...
Build kdump image will fail when kdump.conf has net option with a host name
instead of ip address.
Handle this just as what we do in rhel6: use getent to get the ip addr.
Signed-off-by: Dave Young <dyoung@redhat.com>
2012-03-30 11:31:48 +08:00
Cong Wang
726d9319cb
Bump this version
2012-02-27 15:33:35 +08:00
Cong Wang
c7bdac9723
Upload new dracut module files
2012-02-27 15:28:27 +08:00
Cong Wang
6fdfc66acc
Fixup sysytemd service file
2012-02-22 14:33:53 +08:00
Dave Young
ba0aa24316
Add ssh dump support
...
Add ssh dump support
changes including below items:
1. sshkey option
2. sshkey propagate
3. fix a bug of _server ip calculation for dump target string
4. change the prefix of kdump hook from 93 to 01 to avoid dhclient and
other cleanups happening before us
5. enable network with dracut cmdline rd.neednet=1 when there's network
target config
[v1 - v2]:
Only check_ssh_target when there's ssh dump target in kdump config file
[v2 -> v3]
style fixes: trailing spaces and space before tab indent
remove set -x
simply check_ssh_target
use awk to get sshkey option value
change pivot hook order to 0000
Signed-off-by: Dave Young <dyoung@redhat.com>
2012-02-22 14:12:57 +08:00
Cong Wang
6ffa63d416
Pull the latest makedumpfile release, 1.4.2
2012-01-27 23:10:18 +08:00
Cong Wang
481cb83cfd
Add initial NFS dump support, experimental
2012-01-27 22:59:43 +08:00
Cong Wang
27fddae614
Use nr_cpus=1 instead of maxcpus=1 on x86
2012-01-25 18:44:05 +08:00
Cong Wang
782c719a4e
Check the exit status of nfs mount
2012-01-25 18:42:03 +08:00
Cong Wang
f51fd99344
Really upload the dracut module this time
2012-01-25 17:21:43 +08:00
Cong Wang
c461ec7057
Fix various bugs for nfs dump
2012-01-25 16:58:35 +08:00
Cong Wang
8a14c620b7
kdump.sh cleanup for fstab handling
2012-01-25 15:25:39 +08:00
Cong Wang
2630148dc7
Handle rootfs correctly
2012-01-25 12:18:51 +08:00
Cong Wang
8e0b475887
Disable kexec_test
2012-01-21 16:56:07 +08:00
Cong Wang
c0742d742a
Fix build dependency
2012-01-21 16:41:53 +08:00
Cong Wang
c74af3a721
Remove unused patches
2012-01-21 16:15:22 +08:00
Cong Wang
055c5b7189
Fix build dependency
2012-01-21 14:56:40 +08:00
Cong Wang
e494189fbb
sync with the latest upstream releases
2012-01-21 12:20:35 +08:00
Cong Wang
a0f1142b60
Fix add_dracut_arg in mkdumprd
2012-01-10 22:34:47 +08:00
Cong Wang
113404857a
Update kdump dracut module with the latest dracut kdump branch
2012-01-10 13:28:27 +08:00
Cong Wang
2d16a847d4
Use an array to hold arguments to avoid quote problems
2011-12-16 18:06:45 +08:00
wangcong
005c06fa9f
Update kdump dracut module to use the latest dracut feature
2011-12-16 14:21:02 +08:00
Tom "spot" Callaway
1c07d2c26b
fix systemd scriptlets
2011-09-09 15:03:23 -04:00
Amerigo Wang
b192a0d61b
mkdumprd: fix default action handling
2011-08-02 18:10:16 +08:00
Amerigo Wang
b9f39e444a
mkdumprd: install modified kdump.conf in initrd
2011-08-02 16:42:21 +08:00
Amerigo Wang
9ea3801214
mkdumprd: handle lvm in pre-pivot hook
2011-08-02 14:00:50 +08:00
Amerigo Wang
7a4f7d02be
mkdumprd: fix udev rules in modules-setup.sh
2011-08-02 00:33:14 +08:00
Amerigo Wang
1ec4f7b1b4
mkdumprd: generate udev rules in modules-setup.sh
2011-08-01 23:40:35 +08:00
Amerigo Wang
386612d259
mkdumprd: generate udev rules to handle device names
2011-08-01 22:53:00 +08:00
Amerigo Wang
1048810fe0
mkdumprd: fix dump to local filesystem and raw dump
2011-08-01 20:01:31 +08:00
Amerigo Wang
aee02035a1
kexec-tools: depend on dracut-network
2011-08-01 17:27:56 +08:00
Amerigo Wang
280f968481
update kexec-tools.spec
2011-08-01 17:22:50 +08:00
Amerigo Wang
c5ebc6337d
mkdumprd: move module inclusion code to module-setup.sh
2011-08-01 17:19:24 +08:00
Amerigo Wang
108f6ac2cc
mkdumprd: use shutdown module of dracut to handle reboot/shutdown/halt.
2011-07-28 22:50:43 +08:00
Amerigo Wang
74a0255dff
sync with master branch
2011-07-27 22:02:47 +08:00
Amerigo Wang
52dbdacb5f
wait for loginit
2011-07-27 20:37:49 +08:00
Amerigo Wang
db54b3371c
update dracut-files.tbz2
2011-07-27 19:56:08 +08:00
Amerigo Wang
c445864777
mkdumprd: use absolute path of reboot/halt/poweroff
2011-07-27 19:48:51 +08:00
Amerigo Wang
75b0166343
mkdumprd: don't use consolehelper
2011-07-27 19:45:59 +08:00
Amerigo Wang
0ce85b362d
kexec-tools: rename initrd to initramfs
2011-07-27 18:05:04 +08:00
Amerigo Wang
4cfe96454e
kexec-tools: remove dependence on busybox
2011-07-27 17:42:07 +08:00
Amerigo Wang
a1edbf7d6c
mkdumprd: parse default action
2011-07-27 00:02:19 +08:00
Amerigo Wang
aaf6e91205
update dracut-files.tbz2
2011-07-25 19:41:34 +08:00
Amerigo Wang
be4b40969b
move path/core_collector/default parsing code to initrd.
2011-07-25 19:38:43 +08:00