From 6e2d1204c794e21eceef1e77894214f592704351 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Mon, 26 Feb 2018 15:47:12 +0100 Subject: [PATCH] colord: Add patch to disable PrivateTmp The PrivateTmp setting seems to have some unclear incompatibilities with our automounter setting. When colord is started, existing automounter mounts are mounted again in its namespace. Other processes are later found to have a cwd on a mount disconnected from the mount tree. sudo: pam_unix(sudo:session): session closed for user root sudo: buczek : TTY=pts/7 ; PWD=unknown ; USER=root ; COMMAND=/bin/systemctl start colord.service sudo: pam_unix(sudo:session): session opened for user root by buczek(uid=0) sudo: pam_unix(sudo:session): session closed for user root automount[867]: attempting to mount entry /home/buczek automount[867]: mounted /home/buczek automount[867]: attempting to mount entry /scratch/tmp automount[867]: mounted /scratch/tmp automount[867]: attempting to mount entry /home/web automount[867]: mounted /home/web automount[867]: attempting to mount entry /project/admin automount[867]: mounted /project/admin automount[867]: attempting to mount entry /scratch/local automount[867]: mounted /scratch/local root@theinternet:.# pwd pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Further investigation is needed. As a temporary workaround disable PrivateTmp=yes in the colord.service unit file. Increment build revision. --- colord.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colord.be0 b/colord.be0 index 6c61121ce..0104553cb 100755 --- a/colord.be0 +++ b/colord.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION colord-1.3.5-0 +# BEE_VERSION colord-1.3.5-1 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -15,7 +15,7 @@ SRCURL[0]="https://www.freedesktop.org/software/colord/releases/colord-${PKGVERS ## Add URLs/pathes to patch files to the PATCHURL array. ## The sources will be patched in the order of the array. -# PATCHURL+=() +PATCHURL+=(/src/mariux/patches/colord-disable-privatetmp.patch) ############################################################################### ## Add filename patterns to the EXCLUDE array of files that should not