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

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

    <bug>
          <bug_id>31284</bug_id>
          
          <creation_ts>2015-09-18 18:15:17 +0300</creation_ts>
          <short_desc>сломанный инитскрипт в 0.6.1-alt1</short_desc>
          <delta_ts>2015-11-10 17:30:28 +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>xrdp</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>27853</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>gbophuk_alt</cc>
    
    <cc>lakostis</cc>
    
    <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>152779</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2015-09-18 18:15:17 +0300</bug_when>
    <thetext>...ссылается на неправильные пути ($RUNDIR/$XRDP и $RUNDIR/$SESMAN):

# service xrdp start
xrdp is not executable
sesman is not executable
Starting xrdp services: start-stop-daemon: stat: /usr/lib64/xrdp/xrdp: No such file or directory
Starting sesman services: start-stop-daemon: stat: /usr/lib64/xrdp/sesman: No such file or directory

Если поправить их соответственно содержимому пакета:

SESMAN=xrdp-sesman
STARTWM=/etc/X11/xdm/Xsession
#RUNDIR=/usr/lib64/xrdp
RUNDIR=/usr/sbin

то:

# service xrdp start
Starting xrdp services: running in daemon mode with no access to pid files, quitting
Starting sesman services:  [ DONE ]

(и вроде sesman первым должен взлетать, нет?)

что непохоже на https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575438 уже тем, что у нас не создаются псевдоюзер/группа xrdp:xrdp (или там _xrdp, неважно в данном контексте).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152799</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2015-09-19 23:16:30 +0300</bug_when>
    <thetext>Хм, в p7 запускается.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152817</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2015-09-22 00:32:06 +0300</bug_when>
    <thetext>Исправлено в версии 0.6.1-alt1.1 (спасибо lakostis@altlinux.org)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153599</commentid>
    <comment_count>3</comment_count>
    <who name="gBopHuk">gbophuk_alt</who>
    <bug_when>2015-11-10 13:04:58 +0300</bug_when>
    <thetext>Я чего-то непонимаю:

$ rpm -qa | egrep -i --color -- &quot;xrdp&quot;
xrdp-0.6.1-alt1

$ apt-repo
rpm ftp://download.etersoft.ru/pub/ALTLinux p7/branch/x86_64 classic
rpm ftp://download.etersoft.ru/pub/ALTLinux p7/branch/x86_64-i586 classic
rpm ftp://download.etersoft.ru/pub/ALTLinux p7/branch/noarch classic

$ sudo service xrdp start
xrdp is not executable
sesman is not executable
Starting xrdp services: start-stop-daemon: stat: /usr/lib64/xrdp/xrdp: No such file or directory
Starting sesman services: start-stop-daemon: stat: /usr/lib64/xrdp/sesman: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153603</commentid>
    <comment_count>4</comment_count>
    <who name="Konstantin A Lepikhov (L.A. Kostis)">lakostis</who>
    <bug_when>2015-11-10 14:53:29 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; Я чего-то непонимаю:
&gt; 
&gt; $ rpm -qa | egrep -i --color -- &quot;xrdp&quot;
&gt; xrdp-0.6.1-alt1
&gt; 
Исправлено в alt1.1, а у вас alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153616</commentid>
    <comment_count>5</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2015-11-10 17:30:28 +0300</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; (In reply to comment #3)
&gt; &gt; Я чего-то непонимаю:
&gt; &gt; 
&gt; &gt; $ rpm -qa | egrep -i --color -- &quot;xrdp&quot;
&gt; &gt; xrdp-0.6.1-alt1
&gt; &gt; 
&gt; Исправлено в alt1.1, а у вас alt1
Отправил исправление в p7.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>