From 7df4018b81217591ab9838f62eeaf885cb9d04d1b793f5af52b2b305264ecc4e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 14 Aug 2019 08:18:25 +0000 Subject: [PATCH] Bind the temporary FIFO below home in container OBS-URL: https://build.opensuse.org/package/show/Printing/gswrap?expand=0&rev=2 --- gswrap | 5 +++-- gswrap.changes | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gswrap b/gswrap index 961a1f2..0068994 100644 --- a/gswrap +++ b/gswrap @@ -42,6 +42,7 @@ finish () for ps in "$tmp/"* do test -e "$ps" || continue + test -p "$ps" && continue mv -f "$ps" "$dir" done rm -rf "$tmp" @@ -144,8 +145,8 @@ then mkfifo -m 666 ${tmp}/fd fd=${tmp}/fd exec $pipecmd < $fd & - argv[pipepos]="-sOutputFile=$fd" - opts[o++]="--bind $fd $fd" + argv[pipepos]="-sOutputFile=$home/fifo" + opts[o++]="--bind $fd $home/fifo" fi # User might have some own font configurations as well if test -d /var/cache/fontconfig diff --git a/gswrap.changes b/gswrap.changes index eb99e17..ce9207a 100644 --- a/gswrap.changes +++ b/gswrap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 14 08:09:11 UTC 2019 - Dr. Werner Fink + +- Bind the temporary FIFO below home in container + ------------------------------------------------------------------- Tue Aug 13 10:25:59 UTC 2019 - Dr. Werner Fink