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

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

    <bug>
          <bug_id>28729</bug_id>
          
          <creation_ts>2013-03-21 14:34:07 +0400</creation_ts>
          <short_desc>Добавить поддержку SeLinux.</short_desc>
          <delta_ts>2015-02-12 16:04:03 +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>systemd</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="Andriy Stepanov (stanv)">stanv</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>arseny</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>138945</commentid>
    <comment_count>0</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2013-03-21 14:34:07 +0400</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>138946</commentid>
    <comment_count>1</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2013-03-21 14:43:12 +0400</bug_when>
    <thetext>Посоветуйте пожалуйста кто должен хостить файл?

http://git.fedorahosted.org/cgit/initscripts.git/tree/systemd/fedora-autorelabel

В fedora он как: 

/lib/systemd/system/fedora-autorelabel.service

в sysvinit это делалось вот так:

# grep -rn autorelabel /etc/rc.d 
/etc/rc.d/rc.sysinit:463:       if [ -f /etc/selinux/.autorelabel -o -f /.autorelabel ] ||
/etc/rc.d/rc.sysinit:464:          grep -iwqs autorelabel /proc/cmdline; then
/etc/rc.d/rc.sysinit:471:       [ -f /etc/selinux/.autorelabel -o -f /.autorelabel ] ||
/etc/rc.d/rc.sysinit:472:               touch /etc/selinux/.autorelabel
/etc/rc.d/scripts/selinux_relabel:13:rm -f /.autorelabel /etc/selinux/.autorelabel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147522</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2014-09-02 20:38:21 +0400</bug_when>
    <thetext>Я бы предложил перевесить на пакет selinux-policy или policycoreutils, пусть он в себе содержит юниты altlinux-autorelabel.service и /lib/systemd/altlinux-autorelabel
Иначе в systemd придется ставить жесткие зависимости на selinux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150190</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2015-02-12 16:04:03 +0300</bug_when>
    <thetext>исправлено?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>