Commit Graph

4 Commits

Author SHA1 Message Date
WANG Chao
6a0fb27687 kdump.service: Start kdump after network is online and remote fs is mounted
Now kdump.service runs "After" network.target. But network.target
doesn't mean network is setup and online[1]. We should use
network-online.target instead for ssh/nfs dump.

And also because nfs dump requires a mounted nfs when rebuilding kdump
initrd, kdump.service should also run "After" remote-fs.target (this
means all remote fs configured in /etc/fstab is mounted).

The downside of this patch is we always need to wait for network-online.target
even when dump target is a local disk. If network fails to come up,
kdump.service have to be stuck until network-online.target timeout (90
seconds by default).

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
2013-09-27 10:07:13 +08:00
Orion Poplawski
f441ecab60 Fixup sysytemd service file (bug 741272)
Drop chkconfig (bug 786938)
2012-02-14 10:13:06 -07:00
Neil Horman
10c91a1493 Removing sysvinit files 2011-07-06 15:25:34 -04:00
Neil Horman
bf1475e066 Resolves: bz 716994
-Added systemd unit file for kdump
2011-07-04 16:32:15 -04:00