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

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

    <bug>
          <bug_id>22287</bug_id>
          
          <creation_ts>2009-11-14 02:43:47 +0300</creation_ts>
          <short_desc>hardcoded chroot path</short_desc>
          <delta_ts>2010-11-15 09:46:47 +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>postgresql9.0-server</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex Yustasov">yust2006</reporter>
          <assigned_to name="Denis Smirnov">mithraen</assigned_to>
          <cc>misha</cc>
    
    <cc>taf</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103117</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Yustasov">yust2006</who>
    <bug_when>2009-11-14 02:43:47 +0300</bug_when>
    <thetext>Понадобилось перенести базу в другое, отличное от /var/lib, место. оказалось, что стартовые скрипты postresql из /etc/chroot.d совершенно не обращают внимания на то, что написано в /etc/sysconfig/postgresql. в скриптах жестко прописано 
cd /var/lib/pgsql-root. почему не заменить &apos;/var/lib/pgsql-root&apos; на &apos;$PG_CHROOT_DIR&apos;? ну и еще менять ссылку /var/lib/pgsql на правильную.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105156</commentid>
    <comment_count>1</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2010-01-05 09:42:03 +0300</bug_when>
    <thetext>Перевешиваю на более правильное имя пакета</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114703</commentid>
    <comment_count>2</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2010-11-02 11:11:14 +0300</bug_when>
    <thetext>На postgresql9.0-server.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114796</commentid>
    <comment_count>3</comment_count>
    <who name="Vladimir V. Kamarzin">vvk</who>
    <bug_when>2010-11-03 15:10:46 +0300</bug_when>
    <thetext>Вообще не понятно, зачем сделали именно PG_CHROOT_DIR=путь, было бы честнее сделать boolean-переменную. Не уверен, что буду это фиксить, т.к. сам предпочитаю пускать без чрута.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115318</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-11-15 09:46:47 +0300</bug_when>
    <thetext>postgresql9.0-9.0.1-alt4 -&gt; sisyphus:

* Fri Nov 12 2010 Vladimir V. Kamarzin &lt;vvk@altlinux&gt; 9.0.1-alt4
- Initscript:
  + Introduce &quot;service postgresql initdb&quot; and don&apos;t run initdb
    automatically.
  + Use SourceIfNotEmpty for sysconf-file sourcing.
  + Start postgres directly (without wrapping around &quot;start_daemon
    --make-pidfile&quot;) and with output redirection to separate
    pgstartup.log (Closes: #19337).
  + When chroot mode enabled, adjust symlink /var/lib/pgsql at every
    startup.
- Unhardcode PG_CHROOT_DIR, let users redefine it (Closes: #22287).
- Return back pg_upgrade.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>