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

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

    <bug>
          <bug_id>36469</bug_id>
          
          <creation_ts>2019-03-30 18:22:52 +0300</creation_ts>
          <short_desc>при запуске privoxy в среде chroot не резолвятся доменные имена</short_desc>
          <delta_ts>2019-05-04 21:36:56 +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>privoxy</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>https://redmine.basealt.space/issues/5105</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>aborodin</cc>
    
    <cc>lav</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180212</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2019-03-30 18:22:52 +0300</bug_when>
    <thetext>При запуске privoxy в среде chroot не резолвятся доменные имена.
Если запускать без среды chroot &quot;/usr/sbin/privoxy --pidfile /run/privoxy.pid /etc/privoxy/config&quot; то все работает как надо.

https://bugzilla.novell.com/show_bug.cgi?id=852941 - возможно решение тут.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181455</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Borodin">aborodin</who>
    <bug_when>2019-05-04 17:42:32 +0300</bug_when>
    <thetext>Действительно, на 64-битных системах разрешение имён не работает. На 32-битных всё работает прекрасно.
Проблема в неправильных каталогах. Нужно в /etc/chroot.d/privoxy.lib заменить lib на lib64:

s|-l/lib/|-l/lib64/|
s|-d lib|-d lib64|</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181456</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-05-04 21:36:56 +0300</bug_when>
    <thetext>privoxy-3.0.28-alt2 -&gt; sisyphus:

Sat May 04 2019 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 3.0.28-alt2
- update chroot configs (ALT bug 36469)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>