Bug 33459 - Не создаётся /var/run/xpra
Summary: Не создаётся /var/run/xpra
Alias: None
Product: Sisyphus
Classification: Development
Component: xpra (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
Keywords: systemd
Depends on:
Reported: 2017-05-08 22:46 MSK by Evgenii Terechkov
Modified: 2017-05-11 00:21 MSK (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2017-05-08 22:46:56 MSK
Вскоре после установки пакета получаем такое:
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)
  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 
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': Нет такого файла или каталога
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)