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

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

    <bug>
          <bug_id>28073</bug_id>
          
          <creation_ts>2012-11-21 16:07:21 +0400</creation_ts>
          <short_desc>policycoreutils-mcstransd: Необходимо обеспечить совместимость службы с systemd</short_desc>
          <delta_ts>2012-12-03 10:59:29 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>policycoreutils-mcstransd</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></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="Anton Farygin">rider</assigned_to>
          <cc>ancieg</cc>
    
    <cc>rider</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

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

Подробности по ссылке: http://www.altlinux.org/Systemd_Status_P7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135398</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-11-25 08:56:55 +0400</bug_when>
    <thetext>policycoreutils-2.1.13-alt2 -&gt; sisyphus:

* Sun Nov 25 2012 Led &lt;led@altlinux&gt; 2.1.13-alt2
- added restorecond.service for systemd (ALT#28074)
- added mcstrans.service for systemd (ALT#28073)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135633</commentid>
    <comment_count>2</comment_count>
    <who name="Mike">amike</who>
    <bug_when>2012-11-30 20:58:38 +0400</bug_when>
    <thetext>1. Неверный пусть в ExecStart
2. Используется Type=forking, вместо simple 
3 .Необходимо использовать старт демона с параметром &quot;-f&quot;
4. Отсутствует ConditionSecurity=selinux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135634</commentid>
    <comment_count>3</comment_count>
    <who name="">led</who>
    <bug_when>2012-11-30 22:06:23 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; 1. Неверный пусть в ExecStart

Согласен

&gt; 2. Используется Type=forking, вместо simple 
&gt; 3 .Необходимо использовать старт демона с параметром &quot;-f&quot;

-f     Run mcstransd in the foreground.  Do not run as a daemon

Вы уверены, что демон не нужен?

&gt; 4. Отсутствует ConditionSecurity=selinux

Согласен.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135638</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-12-01 00:16:45 +0400</bug_when>
    <thetext>policycoreutils-2.1.13-alt3 -&gt; sisyphus:

* Fri Nov 30 2012 Led &lt;led@altlinux&gt; 2.1.13-alt3
- fix restorecond.service (by amike@) (ALT#28073)
- some fixes for mcstrans.service (thanx amike@)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135676</commentid>
    <comment_count>5</comment_count>
    <who name="Mike">amike</who>
    <bug_when>2012-12-03 10:59:29 +0400</bug_when>
    <thetext>(В ответ на комментарий №3)
&gt; (В ответ на комментарий №2)
&gt; &gt; 2. Используется Type=forking, вместо simple 
&gt; &gt; 3 .Необходимо использовать старт демона с параметром &quot;-f&quot;
&gt; 
&gt; -f     Run mcstransd in the foreground.  Do not run as a daemon
&gt; 
&gt; Вы уверены, что демон не нужен?
&gt; 
Имелось ввиду, что демон не будет отцеплятся от консоли. Systemd сам отцепит демон и поместит его в cgroup. Для самого systemd, такой тип запуска предпочтительнее, т.к. не надо отслеживать &quot;убегающий&quot; процесс и пытаться &quot;поймать&quot; его.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>