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

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

    <bug>
          <bug_id>53462</bug_id>
          
          <creation_ts>2025-03-14 16:57:45 +0300</creation_ts>
          <short_desc>Грохает dnsmasq</short_desc>
          <delta_ts>2025-03-18 09:56:05 +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>pi-hole-ftl</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=53460</see_also>
          <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="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Andrew Vasilyev">andy</assigned_to>
          <cc>andy</cc>
    
    <cc>antohami</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>261063</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-03-14 16:57:45 +0300</bug_when>
    <thetext># apt-get install /usr/bin/dnsmasq
The following extra packages will be installed:
  pi-hole-ftl
The following packages will be REMOVED:
  dnsmasq
The following NEW packages will be installed:
  pi-hole-ftl


Такого быть не должно. Уберите из него упоминания dnsmasq, пожалуйста.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261064</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-03-14 16:59:05 +0300</bug_when>
    <thetext>Он не предоставляет dnsmasq, следовательно
Provides: dnsmasq = %EVR
быть не может в принципе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261066</commentid>
    <comment_count>2</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-03-14 17:23:27 +0300</bug_when>
    <thetext>  Он именно что предоставляет /usr/bin/dnsmasq, поэтому и
Conflicts: dnsmasq</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261068</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-03-14 17:30:38 +0300</bug_when>
    <thetext>Да, конфликт надо как-то по-другому сделать...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261074</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-03-14 18:16:02 +0300</bug_when>
    <thetext>pi-hole-ftl-6.0.4-alt2 -&gt; sisyphus:

 Fri Mar 14 2025 Andrew A. Vasilyev &lt;andy@altlinux&gt; 6.0.4-alt2
 - fix wrong Provides (ALT #53462)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261110</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-03-16 12:58:56 +0300</bug_when>
    <thetext>Симлинк /usr/bin/dnsmasq -&gt; pihole-FTL действительно нужен?
pihole-FTL может собой заменить dnsmasq?

Сейчас никуда не годится. Проблема осталась:
$ apt-cache whatdepends dnsmasq
dnsmasq-2.90-alt4:sisyphus+372014.100.1.1@1738088543
  openresolv-dnsmasq-3.13.2-alt2:sisyphus+369415.100.1.1@1736791734
    Depends: dnsmasq &gt;= 2.65-alt1
  lxc-net-6.0.3-alt2:sisyphus+375882.100.1.1@1740389251
    Depends: dnsmasq
  kvmd-3.313-alt2:sisyphus+377090.100.1.1@1741264545
    Depends: dnsmasq
  pve-network-0.10.0-alt2:sisyphus+372014.200.1.1@1738088625
    Depends: dnsmasq
  pve-lxc-6.0.0-alt2:sisyphus+356650.100.1.1@1725292290
    Depends: dnsmasq
  pi-hole-ftl-6.0.4-alt2:sisyphus+377984.100.1.1@1741963935
    Conflicts: dnsmasq
  lxd-5.21.1-alt1:sisyphus+347632.4200.13.1@1719838393
    Depends: dnsmasq
  libvirt-daemon-driver-network-11.0.0-alt1:sisyphus+372259.100.1.1@1738337810
    Depends: dnsmasq
  incus-6.9.0-alt1:sisyphus+372061.200.3.1@1738266145
    Depends: dnsmasq
  cni-plugin-dnsname-1.3.1-alt1:sisyphus+290908.100.1.1@1638121980
    Depends: dnsmasq
  NetworkManager-1.52.0-alt1:sisyphus+376646.100.1.1@1740932676
    Depends: dnsmasq

Исправлять все эти пакеты?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261112</commentid>
    <comment_count>6</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-03-16 12:59:26 +0300</bug_when>
    <thetext>*** Bug 53460 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261123</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2025-03-16 20:50:06 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #5)
&gt; Симлинк /usr/bin/dnsmasq -&gt; pihole-FTL действительно нужен?
&gt; pihole-FTL может собой заменить dnsmasq?

  Это &quot;dnamasq dropin support&quot;, например, в AUR:
conflicts=(&apos;dnsmasq&apos;)
provides=(&apos;dnsmasq&apos;)

  При этом, &quot;FTLDNS will *disable* any existing installations of `dnsmasq`.
This is because FTLDNS *is* `dnsmasq` + Pi-hole&apos;s code, so both cannot 
run simultaneously.&quot;

  
  Я же сделал только Conflicts: dnsmasq и никто не мешает установить
  и использовать обычный dnsmasq.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261132</commentid>
    <comment_count>8</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-03-17 04:52:56 +0300</bug_when>
    <thetext>(In reply to Andrew Vasilyev from comment #7)
&gt; (Ответ для Антон Мидюков на комментарий #5)
&gt; &gt; Симлинк /usr/bin/dnsmasq -&gt; pihole-FTL действительно нужен?
&gt; &gt; pihole-FTL может собой заменить dnsmasq?
&gt; 
&gt;   Это &quot;dnamasq dropin support&quot;, например, в AUR:
&gt; conflicts=(&apos;dnsmasq&apos;)
&gt; provides=(&apos;dnsmasq&apos;)
&gt; 
&gt;   При этом, &quot;FTLDNS will *disable* any existing installations of `dnsmasq`.
&gt; This is because FTLDNS *is* `dnsmasq` + Pi-hole&apos;s code, so both cannot 
&gt; run simultaneously.&quot;
&gt; 
&gt;   
&gt;   Я же сделал только Conflicts: dnsmasq и никто не мешает установить
&gt;   и использовать обычный dnsmasq.

Целая куча пакетов мешает. Что с ними делать прикажете?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261192</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-03-17 15:44:05 +0300</bug_when>
    <thetext>(Ответ для Andrew Vasilyev на комментарий #7)
&gt;   Я же сделал только Conflicts: dnsmasq и никто не мешает установить
&gt;   и использовать обычный dnsmasq.
Пакет pi-hole-ftl мешает, т.к. *портит автоматические зависимости при сборке _любых_ пакетов*. Такое однозначно надо убирать.

А вот, пользователю пакета pi-hole-ftl, как раз, ничего не мешает настроить систему так, как ему нужно и без порчи остального репозитория пакетов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261203</commentid>
    <comment_count>10</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-03-17 16:47:37 +0300</bug_when>
    <thetext>По хорошему надо:
* убрать /usr/bin/dnsmasq
* пересобрать всех, кто зацеплися, можно самостоятельно</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261209</commentid>
    <comment_count>11</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-03-17 18:13:14 +0300</bug_when>
    <thetext>pi-hole-ftl-6.0.4-alt3 -&gt; sisyphus:

 Mon Mar 17 2025 Andrew A. Vasilyev &lt;andy@altlinux&gt; 6.0.4-alt3
 - drop dnsmasq dropin support (ALT #53462)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>