fcoe-utils/0030-fcoe.service-Add-foreground-to-prevent-fcoemon-to-be.patch
Tomáš Chvátal 045f8440d4 Accepting request 234122 from home:hreinecke:branches:network:fcoe
- Start fcoemon in foreground from service file (bnc#873269)
  * Add 0030-fcoe.service-Add-foreground-to-prevent-fcoemon-to-be.patch
- Fixup IEEE state machine
  * Add 0031-fcoemon-Fix-IEEE-state-machine.patch
- Fix fipvlan crash during booting (bnc#877275):
  * Add 0032-fipvlan-Fix-crash-in-create_and_start_vlan.patch
  * Add 0033-fipvlan-suppress-warning-interface-already-exists.patch
  * Add 0034-fipvlan-do-not-crash-on-empty-MAC-address-in-lookup_.patch
- Fixup warning messages during booting:
  * Add 0035-fipvlan-fixup-return-value-on-error.patch
  * Add 0036-fipvlan-clean-up-state-machine-for-pfd_add.patch

- Remove obsolete file fcoe.config from sources

OBS-URL: https://build.opensuse.org/request/show/234122
OBS-URL: https://build.opensuse.org/package/show/network:fcoe/fcoe-utils?expand=0&rev=18
2014-05-19 13:39:19 +00:00

34 lines
1.0 KiB
Diff

From 1b7dc959d70679a3536ccbeb6b3a8d0905606537 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Wed, 16 Apr 2014 13:30:47 +0200
Subject: fcoe.service: Add '--foreground' to prevent fcoemon to be killed
fcoemon is running as a daemon per default, so when using
Type=simple in the service file systemd will kill the fcoemon
daemon immediately as it just sees the return code from the
first fork() call.
References: bnc#873269
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
etc/systemd/fcoe.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/systemd/fcoe.service b/etc/systemd/fcoe.service
index 2e10bcd..b1d9567 100644
--- a/etc/systemd/fcoe.service
+++ b/etc/systemd/fcoe.service
@@ -6,7 +6,7 @@ After=syslog.target network.target
Type=simple
EnvironmentFile=/etc/fcoe/config
ExecStartPre=/sbin/modprobe -qa $SUPPORTED_DRIVERS
-ExecStart=/usr/sbin/fcoemon --debug=$DEBUG --syslog=$SYSLOG
+ExecStart=/usr/sbin/fcoemon --foreground --debug=$DEBUG --syslog=$SYSLOG
[Install]
WantedBy=multi-user.target
--
1.7.12.4