diff --git a/systemd-mini.spec b/systemd-mini.spec index 690e163..e3dbc57 100644 --- a/systemd-mini.spec +++ b/systemd-mini.spec @@ -757,6 +757,8 @@ Patch363: 0001-sysv-order-initscripts-which-provide-network-before-.patch Patch364: 0002-keymap-Add-microphone-mute-keymap-for-Dell-Latitude.patch # PATCH-FIX-UPSTREAM added at 2014/07/30 Patch365: 0003-keymap-Annotate-all-micmute-workarounds.patch +# PATCH-FIX-SUSE Provide the /var/lock/subsys at start (bnc#889357) +Patch366: tomcat6-var-lock-subsys-legacy.patch # UDEV PATCHES # ============ @@ -1406,6 +1408,7 @@ cp %{SOURCE7} m4/ %patch363 -p0 %patch364 -p0 %patch365 -p0 +%patch366 -p1 # udev patches %patch1001 -p1 diff --git a/systemd.spec b/systemd.spec index a0753c1..e7ed292 100644 --- a/systemd.spec +++ b/systemd.spec @@ -752,6 +752,8 @@ Patch363: 0001-sysv-order-initscripts-which-provide-network-before-.patch Patch364: 0002-keymap-Add-microphone-mute-keymap-for-Dell-Latitude.patch # PATCH-FIX-UPSTREAM added at 2014/07/30 Patch365: 0003-keymap-Annotate-all-micmute-workarounds.patch +# PATCH-FIX-SUSE Provide the /var/lock/subsys at start (bnc#889357) +Patch366: tomcat6-var-lock-subsys-legacy.patch # UDEV PATCHES # ============ @@ -1401,6 +1403,7 @@ cp %{SOURCE7} m4/ %patch363 -p0 %patch364 -p0 %patch365 -p0 +%patch366 -p1 # udev patches %patch1001 -p1 diff --git a/tomcat6-var-lock-subsys-legacy.patch b/tomcat6-var-lock-subsys-legacy.patch new file mode 100644 index 0000000..77352a2 --- /dev/null +++ b/tomcat6-var-lock-subsys-legacy.patch @@ -0,0 +1,18 @@ +Provide /run/lock/subsys directory to be able to provide the +/var/lock/subsys via the symbolic link /var/lock (bnc#889357) + +--- + tmpfiles.d/legacy.conf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- tmpfiles.d/legacy.conf ++++ tmpfiles.d/legacy.conf 2014-07-30 12:36:36.862735670 +0000 +@@ -16,7 +16,7 @@ d /run/lock 0775 root lock - + # /run/lock/subsys is used for serializing SysV service execution, and + # hence without use on SysV-less systems. + +-#d /run/lock/subsys 0755 root root - ++d /run/lock/subsys 0755 root root - + + # /run/lock/lockdev is used to serialize access to tty devices via + # LCK..xxx style lock files, For more information see: