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

Done: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Bug is archived. No further changes may be made.

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, mbox, link).


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, mbox, link).


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

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, mbox, link).


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, mbox, link).


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

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?


Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and filed, but not forwarded. (Thu, 25 Jan 2024 21:25:01 GMT) (full text, mbox, link).


Message #13 received at 694-quiet@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: 694-quiet@bugs.x2go.org
Subject: Closing
Date: Thu, 25 Jan 2024 22:24:50 +0100
Control: close -1
Control: archive -1

Once this [0] patch was dropped from Debian Buster, the issue went away.

Kind Regards,
Stefan Baur

[0] 
<https://salsa.debian.org/printing-team/cups/-/commit/3f9e548dce8b890e48c78292f0dba45bd4db8325>

-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243


Marked Bug as done Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de> to 694-quiet@bugs.x2go.org. (Thu, 25 Jan 2024 21:25:01 GMT) (full text, mbox, link).


Notification sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Bug acknowledged by developer. (Thu, 25 Jan 2024 21:25:01 GMT) (full text, mbox, link).


Bug archived. Request was from Stefan Baur <X2Go-ML-1@baur-itcs.de> to 694-quiet@bugs.x2go.org. (Thu, 25 Jan 2024 21:25:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 17:33:42 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.