Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald authored and pmenzel committed Feb 26, 2018
1 parent 3b61173 commit 6e2d120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.)
Expand All @@ -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
Expand Down

0 comments on commit 6e2d120

Please sign in to comment.