summaryrefslogtreecommitdiff
path: root/ipadm/debian/patches/ipmgmtd-depends-on-rootfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ipadm/debian/patches/ipmgmtd-depends-on-rootfs.patch')
-rw-r--r--ipadm/debian/patches/ipmgmtd-depends-on-rootfs.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/ipadm/debian/patches/ipmgmtd-depends-on-rootfs.patch b/ipadm/debian/patches/ipmgmtd-depends-on-rootfs.patch
new file mode 100644
index 0000000..ad5cbec
--- /dev/null
+++ b/ipadm/debian/patches/ipmgmtd-depends-on-rootfs.patch
@@ -0,0 +1,19 @@
+Index: ipadm/usr/src/cmd/cmd-inet/lib/ipmgmtd/network-ipmgmt.xml
+===================================================================
+--- ipadm.orig/usr/src/cmd/cmd-inet/lib/ipmgmtd/network-ipmgmt.xml 2014-03-01 16:17:50.000000000 +0400
++++ ipadm/usr/src/cmd/cmd-inet/lib/ipmgmtd/network-ipmgmt.xml 2014-06-17 19:32:00.511609718 +0400
+@@ -40,6 +40,14 @@
+
+ <single_instance />
+
++ <dependency
++ name='rootfs'
++ grouping='require_all'
++ restart_on='none'
++ type='service'>
++ <service_fmri value='svc:/system/filesystem/root' />
++ </dependency>
++
+ <dependent name='ipmgmt-loopback'
+ grouping='require_all'
+ restart_on='none'>