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

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

    <bug>
          <bug_id>18375</bug_id>
          
          <creation_ts>2008-12-28 05:26:02 +0300</creation_ts>
          <short_desc>useless command: switchfrom</short_desc>
          <delta_ts>2014-11-05 20:41:53 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.1</product>
          <component>etcnet</component>
          <version>unspecified</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>pilot</cc>
          
          <qa_contact name="qa-4.1@altlinux.org">qa-4.1</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83549</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-28 05:26:02 +0300</bug_when>
    <thetext>etcnet-0.9.7-alt0.M41.1

&quot;service network switchfrom PROFILE&quot; seems to be useless. Its code is:

        switchfrom)
                [ $# -ne 2 ] &amp;&amp; usage
                init_nethost
                init_netprofile $2
                stop $*
                init_netprofile
                start $*
                ;;

I have read the documentation and see no reason to use switchfrom instead of restart:

       restart)
                [ $# -ne 1 ] &amp;&amp; usage
                init_nethost
                init_netprofile
                stop $*
                start $*
                ;;


the PROFILE parameter of switchfrom seems to be superfluous: if one is bringing down the network, he is just bringing it down, no matter what the name of the old profile was.

I suggest to remove switchfrom from the &quot;public&quot; interface of etcnet (i.e., service network) in order not to confuse people. (Perhaps, it is useful during hacking etcnet, but not during normal operation.)

Or add an explanation when it can be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148611</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-11-05 20:41:53 +0300</bug_when>
    <thetext>В 4.1/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>