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

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

    <bug>
          <bug_id>8733</bug_id>
          
          <creation_ts>2005-12-25 19:29:54 +0300</creation_ts>
          <short_desc>[FR] fixup /etc/modules.conf</short_desc>
          <delta_ts>2006-02-01 17:48:35 +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>pcmciautils</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>sanja</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34194</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-12-25 19:29:54 +0300</bug_when>
    <thetext>Может иметь смысл такое дополнение пакета:

%post
LEGACY=&quot;pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start&quot;
CONF=/etc/modules.conf
grep &quot;^$LEGACY$&quot; $CONF &amp;&amp; echo &quot;** Fixing $CONF regarding pcmcia...&quot; &gt;&amp;2
subst &quot;s/^$LEGACY$/##&amp;/&quot; $CONF

(вряд ли стоит рисовать rollback при сносе... проверки $1/$2 читать, и вообще --
если кому придётся откатывать, так всё равно заглядывать будут)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34195</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2005-12-25 19:36:37 +0300</bug_when>
    <thetext>если я и буду это делать то сразу 
subst &apos;s,.*pcmcia\ start.*,,&apos; /etc/modules.conf 
т.к. оно в любом случае не нужно </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34197</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2005-12-25 20:59:20 +0300</bug_when>
    <thetext>Ну или так.  Только тогда лучше концы [строк] в воду:

subst &quot;/^$LEGACY$/##&amp;/ d&quot; $CONF

:)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35214</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2006-01-28 23:12:01 +0300</bug_when>
    <thetext>исправлено в alt2 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35267</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2006-01-30 12:33:21 +0300</bug_when>
    <thetext>спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>