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

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

    <bug>
          <bug_id>58370</bug_id>
          
          <creation_ts>2026-03-25 16:53:09 +0300</creation_ts>
          <short_desc>Невозможно установить параметр max_age для сетевого моста</short_desc>
          <delta_ts>2026-03-27 02:13:02 +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>ip-brctl</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladislav Glinkin">glinkinvd</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>284533</commentid>
    <comment_count>0</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2026-03-25 16:53:09 +0300</bug_when>
    <thetext>Версия пакета:
	ip-brctl-0.2-alt1

Шаги воспроизведения:
	# brctl setmaxage br0 7

Фактический результат:
	set max age failed:  either &quot;dev&quot; is duplicate, or &quot;max_age&quot; is a garbage.

В функции cmd_setmaxage() забыли передать type bridge:
--- a/usr/sbin/ip-brctl  
+++ b/usr/sbin/ip-brctl  
@@ -405,7 +405,7 @@ cmd_setmaxage() {  
       check_float &quot;${2}&quot; &quot;bad max age value&quot;  
       err_dev_exists n &quot;${1}&quot; &quot;set max age failed: No such device&quot;  
   
-       exec_iplink &quot;set ${1} max_age $(brctl_timeval &quot;${2}&quot;)&quot; &quot;set max age failed&quot;  
+       exec_iplink &quot;set ${1} type bridge max_age $(brctl_timeval &quot;${2}&quot;)&quot; &quot;set max age failed&quot;  
}  
   
cmd_setpathcost() {</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>284652</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-03-27 02:13:02 +0300</bug_when>
    <thetext>ip-brctl-0.3-alt1 -&gt; sisyphus:

Fri Mar 27 2026 Alexey Shabalin &lt;shaba@altlinux&gt; 0.3-alt1
- Fix timer validation error texts.
- Fix delif error argument order.
- Tighten float input validation.
- Fix signed long range check.
- Fix hairpin slave option (ALT#58376).
- Fix boolean conversion in make_bool (ALT#58372).
- Fix setmaxage bridge attribute (ALT#58370).
- Align setgcint docs with implementation (ALT#58360).
- Fix addif validation (ALT#58359).
- Fix exec_iplink argument handling (ALT#58358).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>