Dr. Werner Fink 2014-09-25 13:53:13 +00:00 committed by Git OBS Bridge
parent 9d995c6104
commit d67efd1346
3 changed files with 16 additions and 8 deletions

View File

@ -8,18 +8,18 @@ Subject: [PATCH] mount: order options before other arguments to mount
1 file changed, 6 insertions(+), 4 deletions(-) 1 file changed, 6 insertions(+), 4 deletions(-)
--- src/core/mount.c --- src/core/mount.c
+++ src/core/mount.c 2014-09-19 10:13:51.638238597 +0000 +++ src/core/mount.c 2014-09-25 13:43:44.926563278 +0000
@@ -947,10 +947,11 @@ static void mount_enter_mounting(Mount * @@ -947,10 +947,11 @@ static void mount_enter_mounting(Mount *
r = exec_command_set( r = exec_command_set(
m->control_command, m->control_command,
"/bin/mount", "/bin/mount",
- m->parameters_fragment.what,
- m->where,
+ "-n", + "-n",
"-t", m->parameters_fragment.fstype ? m->parameters_fragment.fstype : "auto", + "-t", m->parameters_fragment.fstype ? m->parameters_fragment.fstype : "auto",
m->parameters_fragment.options ? "-o" : NULL, m->parameters_fragment.options, + "-o", m->parameters_fragment.options ? m->parameters_fragment.options : "defaults",
+ m->parameters_fragment.what, m->parameters_fragment.what,
+ m->where, m->where,
- "-t", m->parameters_fragment.fstype ? m->parameters_fragment.fstype : "auto",
- m->parameters_fragment.options ? "-o" : NULL, m->parameters_fragment.options,
NULL); NULL);
else else
r = -ENOENT; r = -ENOENT;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 25 13:45:46 UTC 2014 - werner@suse.de
- Change patch
0003-mount-order-options-before-other-arguments-to-mount.patch
to fix bsc#898240
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 25 09:06:14 UTC 2014 - werner@suse.de Thu Sep 25 09:06:14 UTC 2014 - werner@suse.de

View File

@ -1660,7 +1660,8 @@ cp %{SOURCE7} m4/
%patch423 -p0 %patch423 -p0
%patch424 -p0 %patch424 -p0
%patch425 -p0 %patch425 -p0
%patch426 -p0 %patch426 -p0 -b .xy
exit 1
%patch427 -p0 %patch427 -p0
%patch428 -p0 %patch428 -p0
%patch429 -p0 %patch429 -p0