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

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

    <bug>
          <bug_id>18251</bug_id>
          
          <creation_ts>2008-12-18 23:57:06 +0300</creation_ts>
          <short_desc>При apt-get reinstall запускается сервис если не запущен</short_desc>
          <delta_ts>2008-12-19 13:27:53 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>ALT Linux Server</product>
          <component>bugs</component>
          <version>snapshot</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></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Slava Dubrovskiy">dubrsl</reporter>
          <assigned_to name="Anton V. Boyarshinov">boyarsh</assigned_to>
          <cc>ns</cc>
    
    <cc>vvk</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82936</commentid>
    <comment_count>0</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2008-12-18 23:57:06 +0300</bug_when>
    <thetext># apt-get reinstall postgresql8.3 postgresql8.3-server postgresql8.3-contrib
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 removed and 0 not upgraded.
Need to get 0B/3821kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n]
Committing changes...
Preparing...                                     ################################################################################################### [100%]
1: postgresql8.3                                 ################################################################################################### [ 33%]
2: postgresql8.3-contrib                         ################################################################################################### [ 66%]
3: postgresql8.3-server                          ################################################################################################### [100%]
Service postgresql is not running.[PASSED]
Adjusting environment for postgresql: [ DONE ]
Creating default database: [ DONE ]
Starting postgres service: [ DONE ]
Link postgresql socket: [ DONE ]
Running /usr/lib/rpm/posttrans-filetriggers
Done.

Думаю что если сервис не был запущен, то он не должен запускаться.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82957</commentid>
    <comment_count>1</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2008-12-19 08:58:42 +0300</bug_when>
    <thetext>В инитскрипте используется стандартная конструкция
        condrestart)
                if [ -e &quot;$LOCKFILE&quot; ]; then
                        restart
                fi

Видимо оставался старый lockfile.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82963</commentid>
    <comment_count>2</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2008-12-19 11:18:00 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; В инитскрипте используется стандартная конструкция
&gt;         condrestart)
&gt;                 if [ -e &quot;$LOCKFILE&quot; ]; then
&gt;                         restart
&gt;                 fi
&gt; 
Видимо оставался старый lockfile.
Вполне возможно. Значит моя ошибка.
 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82966</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2008-12-19 13:27:53 +0300</bug_when>
    <thetext>Ну и главное, reinstall вообще слегка нештатная ситуация :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>