[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#918666: wine hardcodes /run/user/$UID directory



Source: wine
Severity: normal

wine hardcodes the use of /run/user/$UID/wine if it can determine
$UID (if getuid() exists) as the place to store server information.

It's not clear to me who is responsible for creating those directories,
but I'm not sure we can rely on them being available, so wine should
fallback to /tmp if /run/user/$UID does not exist, I guess.

In fact, it should be using $XDG_RUNTIME_DIR, not
hardcoding /run/user/$UID.

(this surfaced in Ubuntu autopkgtest for gpgv-win32).

-- System Information:
Debian Release: buster/sid
  APT prefers disco
  APT policy: (500, 'disco'), (500, 'cosmic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-13-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: