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

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

    <bug>
          <bug_id>13036</bug_id>
          
          <creation_ts>2007-10-05 14:14:41 +0400</creation_ts>
          <short_desc>стартовый скрипт в init.d не создаёт БД</short_desc>
          <delta_ts>2007-10-07 21:21:14 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.0</product>
          <component>postgresql8.0</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Igor Oleinikov">altlinux</reporter>
          <assigned_to name="Ivan Fedorov">ns</assigned_to>
          
          
          <qa_contact name="Q.A. 4.0">qa-4.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56230</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Oleinikov">altlinux</who>
    <bug_when>2007-10-05 14:14:41 +0400</bug_when>
    <thetext>При первом запуске service postgresql start [root@gate pgsql]# service
postgresql restart 
Service postgresql is not running.                                             
                 [PASSED]
Adjusting environment for postgresql:                                          
                      [ DONE ]
Creating default database: /bin/su: unrecognized option 
`--pgdata=/var/lib/pgsql-root/var/lib/pgsql/data&apos;
usage: su [-|-l] [-c &quot;command&quot;] [-s &quot;shell&quot;] [username]                        
                                                                               
                                   [FAILED]
Если делаю руками то всё нормально
/bin/su -s /bin/sh -l postgres -c &quot;/usr/bin/initdb 
--pgdata=/var/lib/pgsql-root/var/lib/pgsql/data&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56271</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2007-10-07 21:21:13 +0400</bug_when>
    <thetext>честно говоря я вообще не знаю, что pgsql 8.0 делает в branch 4.0... его бы
оттуда прибить надо!

Так что рекомендую поставить pg8.2 и не мучаться.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>