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

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

    <bug>
          <bug_id>28029</bug_id>
          
          <creation_ts>2012-11-21 15:26:17 +0400</creation_ts>
          <short_desc>bacula-fd: Необходимо обеспечить совместимость службы с systemd</short_desc>
          <delta_ts>2016-09-25 09:01:13 +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>bacula-client</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>http://www.altlinux.org/Systemd_Status_P7</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>systemd</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>28008</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike">amike</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>evg</cc>
    
    <cc>real</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>135117</commentid>
    <comment_count>0</comment_count>
    <who name="Mike">amike</who>
    <bug_when>2012-11-21 15:26:17 +0400</bug_when>
    <thetext>Подготовить корректный unit-файл.

Подробности по ссылке: http://www.altlinux.org/Systemd_Status_P7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158405</commentid>
    <comment_count>1</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2016-09-02 07:46:29 +0300</bug_when>
    <thetext>Столкнулся на 5.2.13-alt5 с тем, что SYSV-совместимость под systemd не работает: из LSB-тега берётся путь до pid-файла /var/run/bacula/bacula-fd.pid, но реально пид кладётся (кем?) в /var/run/bacula-fd.pid

Т.е. пакет под systemd неработоспособен в принципе. Поэтому Critical. Есть желающие заняться бакулой под systemd?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158410</commentid>
    <comment_count>2</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2016-09-02 14:01:28 +0300</bug_when>
    <thetext>Виноват, насчёт pid-файла это local misconfiguration: SCM накатила конфиг где PidDirectory=/var/run, изпакетный дефолт правильный, /var/run/bacula.

Тогда не Critical.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158749</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2016-09-25 09:01:13 +0300</bug_when>
    <thetext>bacula-5.2.13-alt7 -&gt; sisyphus:

* Sun Sep 25 2016 Terechkov Evgenii &lt;evg@altlinux&gt; 5.2.13-alt7
- Make catalog backup work like rhel7/centos7 to work around ALT #31692

* Wed Sep 14 2016 Terechkov Evgenii &lt;evg@altlinux&gt; 5.2.13-alt6
- add systemd unit for bacula-fd (ALT #28029)
- add systemd unit for bacula-sd (ALT #28033)
- add systemd unit for bacula-dir (ALT #28030, #28031, #28032)
- change mode of %_logdir/bacula to 1770 according to ALT Secure Packaging Policy (ALT #32509)
- drop obsoleted alternatives calls
- move tmpfiles config to %_tmpfilesdir
- change mode of %_var/run/bacula to 1770 to enforce privilege separation under systemd
- change mode of %_localstatedir/bacula to 1770 to enforce privilege separation</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>