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

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

    <bug>
          <bug_id>34118</bug_id>
          
          <creation_ts>2017-11-02 16:13:56 +0300</creation_ts>
          <short_desc>Неверный регистр поля</short_desc>
          <delta_ts>2017-11-04 19:52:20 +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>bacula9-director-postgresql</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="Andrey Cherepanov">cas</reporter>
          <assigned_to name="darktemplar@altlinux.org">darktemplar</assigned_to>
          <cc>darktemplar</cc>
    
    <cc>darktemplaralt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166867</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-11-02 16:13:56 +0300</bug_when>
    <thetext>1. В скрипте создания таблиц /usr/share/bacula/scripts/make_postgresql_tables указано:

408 CREATE TABLE version
409 (
410     versionid         integer               not null
411 );

При инсталяции с такой таблицей bacula-dir не мог корректно прочитать версию и соответственно запуститься.

Привели таблицу к следующему виду:

408 CREATE TABLE Version
409 (
410     VersionId         integer               not null
411 );

После запуск директора произошел корректно.

2. При установке baculum9-tools baculum9-apache2 baculum9-common baculum9-postgresql. Вместе с зависимостями поставился baculum9-sqlite3. После установки, бакула директор пытался подключиться к базе sqlite. Решилось: rpm -e --nodeps baculum9-sqlite3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166870</commentid>
    <comment_count>1</comment_count>
    <who name="Aleksei Nikiforov">darktemplaralt</who>
    <bug_when>2017-11-02 16:38:57 +0300</bug_when>
    <thetext>Над первой проблемой работаю. Вторая проблема - скорее проблема резолвера зависимостей apt-get либо же использования apt-get: установка baculum9-postgresql baculum9-tools baculum9-apache2 baculum9-common (т.е. указание пакета с postgresql в начале списка) не тянет за собой sqlite3-части.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166880</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2017-11-02 17:39:51 +0300</bug_when>
    <thetext>bacula9-9.0.3-alt3.S1 -&gt; sisyphus:

Thu Nov 02 2017 Aleksei Nikiforov &lt;darktemplar@altlinux&gt; 9.0.3-alt3.S1
- Fixed sql scripts to use VersionId with correct case (closes: #34118).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166956</commentid>
    <comment_count>3</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2017-11-04 19:52:20 +0300</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; bacula9-9.0.3-alt3.S1 -&gt; sisyphus:
&gt; 
&gt; Thu Nov 02 2017 Aleksei Nikiforov &lt;darktemplar@altlinux&gt; 9.0.3-alt3.S1
&gt; - Fixed sql scripts to use VersionId with correct case (closes: #34118).
Спасибо. Прошу собрать в p8.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>