X2Go Bug report logs - #694
CUPS 1.7.x remounts /tmp and breaks cups-x2go

Package: cups-x2go; Maintainer for cups-x2go is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Tue, 9 Dec 2014 05:20:02 UTC

Severity: important

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#694; Package cups-x2go. (Tue, 09 Dec 2014 05:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 09 Dec 2014 05:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.x2go.org (full text, mbox):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: CUPS 1.7.x remounts /tmp and breaks cups-x2go
Date: Tue, 09 Dec 2014 05:15:48 +0000
[Message part 1 (text/plain, inline)]
Package: cups-x2go
Severity: important


The workaround provided below can be applied to x2goprint from  
x2goserver-printing package.

But my gut feelings tell me, we need to review cups-x2go. Maybe this  
bug gets reassigned to x2goserver-printing later, if my gut feelings  
get proven wrong.

Mike

----- Weitergeleitete Nachricht von Роман <inpos@yandex.ru> -----
  Datum: Mon, 01 Dec 2014 10:59:36 +0300
    Von: Роман <inpos@yandex.ru>
Betreff: [X2Go-User] X2Go Linux Server. Virtual print issue workaround
     An: x2go-user@lists.x2go.org

For those who can't print to redirected printer here my workaround.
 
On X2Go Server do following (by root):
----------------------------------------------
cd /usr/bin
 
mv x2goprint x2goprint.orig
 
cat << EOF > x2goprint
#!/bin/bash
umount /tmp
x2goprint.orig $@
EOF
 
chmod a+x x2goprint
-----------------------------------------------
 
The problem is that CUPS remounts /tmp during print process.
Therefore temporary x2go directories have become unavailable.
 
Best regards,
Inpos.

----- Ende der weitergeleiteten Nachricht -----


-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#694; Package cups-x2go. (Sun, 10 Jul 2016 10:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris <x2go@hemsing.eu>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 10 Jul 2016 10:50:02 GMT) Full text and rfc822 format available.

Message #10 received at 694@bugs.x2go.org (full text, mbox):

From: Chris <x2go@hemsing.eu>
To: 694@bugs.x2go.org
Subject: Another workaround
Date: Sun, 10 Jul 2016 12:49:10 +0200
After years this important issue is still there...

On debian jessie one can do:
Change
/etc/systemd/system/printer.target.wants/cups.service

from
PrivateTmp=true
to
PrivateTmp=false

I don't really see a necessity for a private tmp anyway ...

****
Apart from the workaround, I would say: why use /tmp for the spool area mount 
points on the server side in the first place? The directories are being owned by 
the respective user anyway.
Why not use the user's home directory under ~/.x2go?
Then this problem would be solved without touching x2goserver-printing nor 
cups-x2go nor the operating system (see the workaround).

Chris

P.S.: My lack of knowledge: why has the printing be divided in cups-x2go and 
x2goserver-printing? Why not one package?


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Dec 14 05:18:07 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.