<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>196147</bug_id>
          
          <creation_ts>2007-10-17 09:38 0000</creation_ts>
          <short_desc>net-misc/hylafax not using mgetty for data connections when USE=&quot;mgetty&quot;</short_desc>
          <delta_ts>2007-10-17 21:20:22 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>makoomba@gmail.com</reporter>
          <assigned_to>nerdboy@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>makoomba@gmail.com</who>
            <bug_when>2007-10-17 09:38:56 0000</bug_when>
            <thetext>when hylafax is compiled with USE=&quot;mgetty&quot;, faxgetty should use /sbin/mgetty for data incoming calls (instead of agetty)

fix:
hylafax ebuild should set --with-PATH_GETTY=/sbin/mgetty



Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-10-17 09:41:31 0000</bug_when>
            <thetext>Uhm? What&apos;s your trouble?

&lt;snip&gt;
     if use mgetty; then
                my_conf=&quot;${my_conf} \
                        --with-PATH_EGETTY=/sbin/mgetty \
                        --with-PATH_VGETTY=/usr/sbin/vgetty&quot;
        else
                my_conf=&quot;${my_conf} \
                        --with-PATH_EGETTY=/bin/false \
                        --with-PATH_VGETTY=/bin/false&quot;
        fi
&lt;/snip&gt;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>makoomba@gmail.com</who>
            <bug_when>2007-10-17 10:26:33 0000</bug_when>
            <thetext>
(In reply to comment #1)
&gt; Uhm? What&apos;s your trouble?

in my setup, i have a class 2.0 modem configured with adaptive answer.
for this to work, i have to use GettyArgs, otherwise Data connections whould be refused:

&lt;snip from faxGettyApp.c++&gt;

 traceServer(&quot;ANSWER: DATA CONNECTION&quot;);
    if (gettyArgs != &quot;&quot;) {
        sendModemStatus(&quot;d&quot;);
        runGetty(&quot;GETTY&quot;, OSnewGetty, gettyArgs, emsg, lockDataCalls, callid);
        sendModemStatus(&quot;e&quot;);
    } else
        traceServer(&quot;ANSWER: Data connections are not permitted&quot;);

&lt;/snip&gt;

since

&lt;snip&gt;
/*
 * The pathnames of the getty, vgetty, and egetty programs
 * invoked by faxgetty to handle inbound data and voice
 * calls and for doing adaptive call type deduction.  These
 * parameters are compiled into the binary to avoid possible
 * security problems.
 */
&lt;/snip&gt;

if you don&apos;t set --with-PATH_GETTY=/sbin/mgetty, 
PATH_GETTY whould be hardcoded to /sbin/agetty


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nerdboy@gentoo.org</who>
            <bug_when>2007-10-17 21:20:22 0000</bug_when>
            <thetext>Fixed in portage...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>