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

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

    <bug>
          <bug_id>514</bug_id>
          
          <creation_ts>2002-02-03 18:07:45 +0300</creation_ts>
          <short_desc>network-scripts: the hooks for if{up,down}-local are not OK</short_desc>
          <delta_ts>2003-08-25 15:18:27 +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>initscripts</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>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="imz">vanyaz</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>487</commentid>
    <comment_count>0</comment_count>
    <who name="imz">vanyaz</who>
    <bug_when>2002-02-03 18:07:45 +0300</bug_when>
    <thetext>I\&apos;m talking about the hooks at the end of /etc/sysconfig/network-scripts/if{up,down}-post scripts that try to call if{up,down}-local.

The first bug is a typo in ifup-post: a wrong name IFDOWN_LOCAL is used for a variable there.

The second thing is that the location of the called local scripts seems strange to me: why are they located in /sbin/? Shouldn\&apos;t they be composed by the administartor and thus located either in /etc/ (/etc/sysconfig/network-scripts/if{up,down}-local) or in /usr/local/sbin/.

---

---
The attched patch is one of the possible ways to fix both things.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3142</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-04-15 15:34:22 +0400</bug_when>
    <thetext>Applied in
5.49-ipl39mdk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6507</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2002-04-15 15:34:22 +0400</bug_when>
    <thetext>Applied in
5.49-ipl39mdk</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>40</attachid>
            <date>2002-02-03 18:07:45 +0300</date>
            <delta_ts>2002-02-03 18:07:45 +0300</delta_ts>
            <desc>0000514-networkscripts-5.49-ipl38mdk-local.patch</desc>
            <filename>0000514-networkscripts-5.49-ipl38mdk-local.patch</filename>
            <type>application/octet-stream</type>
            <size>0</size>
            <attacher name="imz">vanyaz</attacher>
            
              <data encoding="base64"></data>

          </attachment>
      

    </bug>

</bugzilla>