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

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

    <bug>
          <bug_id>5743</bug_id>
          
          <creation_ts>2004-12-19 21:34:27 +0300</creation_ts>
          <short_desc>--name option does not affect $BASENAME in start_daemon</short_desc>
          <delta_ts>2008-04-25 21:08:55 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>service</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></keywords>
          <priority>P4</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>7743</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Zabaluev">mhz</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
    
    <cc>vserge</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>20590</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2004-12-19 21:34:27 +0300</bug_when>
    <thetext>The --name option is useful when the human-readable service name differs from
the executable name (case in point: tomcat and the jsvc launcher).
However, the start_daemon function obtains its $BASENAME value
from the path name of the executable, ignoring --name altogether.
This is inconsistent with stop_daemon and status functions which do consider
--name for the $BASENAME value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22360</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Zabaluev">mhz</who>
    <bug_when>2005-03-04 02:28:22 +0300</bug_when>
    <thetext>Может быть правильнее завести отдельную опцию --displayname, чтобы не нарушить
семантики.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22434</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-03-09 15:29:32 +0300</bug_when>
    <thetext>Откровенно говоря, параметр --name влияет сейчас только на передачу одноимённого
ключа start-stop-daemon&apos;у (во всех трёх функциях), а на изображение не влияет.

С другой стороны, $BASENAME сейчас, помимо изображения, влияет только на
вычисление значения по умолчанию для PIDFILE и (у status) LOCKFILE.

Так что я думаю, что можно расширить сферу влияния параметра --name и на
формирование BASENAME.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22439</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-03-09 16:09:00 +0300</bug_when>
    <thetext>Реализовано в 0.5.7-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29030</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-08-24 17:13:56 +0400</bug_when>
    <thetext>А может и правада завести опцию --displayname?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29055</commentid>
    <comment_count>5</comment_count>
    <who name="Serge A. Volkov">vserge</who>
    <bug_when>2005-08-24 23:17:33 +0400</bug_when>
    <thetext>(In reply to comment #3)
&gt; Реализовано в 0.5.7-alt1

странно
Текущая версия: 0.5.8-alt1
Время сборки: 21 марта 2005, 19:13 ( 22.3 недели назад )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29056</commentid>
    <comment_count>6</comment_count>
    <who name="Serge A. Volkov">vserge</who>
    <bug_when>2005-08-24 23:18:48 +0400</bug_when>
    <thetext>(In reply to comment #4)
&gt; А может и правада завести опцию --displayname?
Думаю что нието против не будет.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30044</commentid>
    <comment_count>7</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-09-05 01:59:41 +0400</bug_when>
    <thetext>*** Bug 7743 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30046</commentid>
    <comment_count>8</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-09-05 02:01:53 +0400</bug_when>
    <thetext>Added --displayname in 0.5.9-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>