<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>33459</bug_id>
          
          <creation_ts>2017-05-08 22:46:56 +0300</creation_ts>
          <short_desc>Не создаётся /var/run/xpra</short_desc>
          <delta_ts>2017-05-11 00:21:27 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xpra</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>systemd</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgenii Terechkov">evg</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>grenka</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>163599</commentid>
    <comment_count>0</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2017-05-08 22:46:56 +0300</bug_when>
    <thetext>Вскоре после установки пакета получаем такое:
=8&lt;===============================================================
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 &apos;systemctl list-unit-files&apos;.
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 &apos;xpra&apos;.
май 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 &apos;exit-code&apos;.
[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: невозможно получить доступ к &apos;/var/run/xpra&apos;: Нет такого файла или каталога
=8&lt;===============================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163622</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2017-05-10 23:24:32 +0300</bug_when>
    <thetext>В пакете забыли создать группу xpra:

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

# groupadd xpra
# systemd-tmpfiles --create

# ls -ld /var/run/xpra
drwxrwx--- 2 root xpra 4096 май 10 23:23 /var/run/xpra</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>163623</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-05-11 00:21:27 +0300</bug_when>
    <thetext>xpra-0.17.6-alt2 -&gt; sisyphus:

Wed May 10 2017 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 0.17.6-alt2
- add xpra group creating (ALT bug 33459)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>