Bug 33459

Summary: Не создаётся /var/run/xpra
Product: Sisyphus Reporter: Evgenii Terechkov <evg>
Component: xpraAssignee: Vitaly Lipatov <lav>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: lav
Version: unstableKeywords: systemd
Hardware: all   
OS: Linux   

Description Evgenii Terechkov 2017-05-08 22:46:56 MSK
Вскоре после установки пакета получаем такое:
=8<===============================================================
root@thinkpad ~ #systemctl --state=failed 
  UNIT                           LOAD   ACTIVE SUB    DESCRIPTION                     
● systemd-tmpfiles-clean.service loaded failed failed Cleanup of Temporary Directories

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
root@thinkpad ~ #systemctl status systemd-tmpfiles-clean.service
● systemd-tmpfiles-clean.service - Cleanup of Temporary Directories
   Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-clean.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2017-05-09 02:40:28 +07; 3min 19s ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 26837 ExecStart=/sbin/systemd-tmpfiles --clean (code=exited, status=1/FAILURE)
 Main PID: 26837 (code=exited, status=1/FAILURE)
      CPU: 28ms

май 09 02:40:28 thinkpad.evg-krsk.dyndns.org systemd[1]: Starting Cleanup of Temporary Directories...
май 09 02:40:28 thinkpad.evg-krsk.dyndns.org systemd-tmpfiles[26837]: [/lib/tmpfiles.d/xpra.conf:3] Unknown group 'xpra'.
май 09 02:40:28 thinkpad.evg-krsk.dyndns.org systemd[1]: systemd-tmpfiles-clean.service: Main process exited, code=exited, status=1/FAILURE
май 09 02:40:28 thinkpad.evg-krsk.dyndns.org systemd[1]: Failed to start Cleanup of Temporary Directories.
май 09 02:40:28 thinkpad.evg-krsk.dyndns.org systemd[1]: systemd-tmpfiles-clean.service: Unit entered failed state.
май 09 02:40:28 thinkpad.evg-krsk.dyndns.org systemd[1]: systemd-tmpfiles-clean.service: Failed with result 'exit-code'.
[1]    27585 exit 3     systemctl status systemd-tmpfiles-clean.service
root@thinkpad ~ #rpm -qf /lib/tmpfiles.d/xpra.conf 
xpra-0.17.6-alt1.x86_64
root@thinkpad ~ #cat /lib/tmpfiles.d/xpra.conf
# This is the shared directory where users of the xpra group
# can place sockets if they want to be able to share them.
d /var/run/xpra 0770 - xpra
root@thinkpad ~ #ls -ld /var/run/xpra
ls: невозможно получить доступ к '/var/run/xpra': Нет такого файла или каталога
=8<===============================================================
Comment 1 Vitaly Lipatov 2017-05-10 23:24:32 MSK
В пакете забыли создать группу xpra:

# systemd-tmpfiles --create
[/lib/tmpfiles.d/xpra.conf:3] Unknown group 'xpra'.

# groupadd xpra
# systemd-tmpfiles --create

# ls -ld /var/run/xpra
drwxrwx--- 2 root xpra 4096 май 10 23:23 /var/run/xpra
Comment 2 Repository Robot 2017-05-11 00:21:27 MSK
xpra-0.17.6-alt2 -> sisyphus:

Wed May 10 2017 Vitaly Lipatov <lav@altlinux.ru> 0.17.6-alt2
- add xpra group creating (ALT bug 33459)