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

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

    <bug>
          <bug_id>42563</bug_id>
          
          <creation_ts>2022-04-24 11:24:53 +0300</creation_ts>
          <short_desc>Не работает со сменой хоста</short_desc>
          <delta_ts>2022-04-29 23:13:06 +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>xauthority-hostname-updater</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="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>iv</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>209989</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2022-04-24 11:24:53 +0300</bug_when>
    <thetext>altlinux@c256 ~ $ ps aux | grep xauthority
altlinux    1134  0.0  0.1   7624  3436 ?        S    11:09   0:00 /usr/bin/xauthority-hostname-updater -d
altlinux    5828  0.0  0.1   5996  2112 pts/5    S+   11:23   0:00 grep xauthority
altlinux@c256 ~ $ hostnamectl
 Static hostname: c256.localdomain
       Icon name: computer-vm
         Chassis: vm
      Machine ID: 3dca201b656542d6be9a608fdec92027
         Boot ID: debd36fd90334bdaace1630486f8bfce
  Virtualization: kvm
Operating System: ALT Education 10.1 (FalcoRusticolus)
     CPE OS Name: cpe:/o:alt:education:10.1
          Kernel: Linux 5.10.110-std-def-alt1
    Architecture: x86-64
 Hardware Vendor: QEMU
  Hardware Model: Standard PC _i440FX + PIIX, 1996_
altlinux@c256 ~ $ xauth list
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  578494de5f9f8cad522781889400ef11
altlinux@c256 ~ $ mousepad 
No protocol specified

(mousepad:5837): Gtk-WARNING **: 11:24:18.134: cannot open display: :0.0
altlinux@c256 ~ $</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210081</commentid>
    <comment_count>1</comment_count>
    <who name="Slava Aseev">ptrnine</who>
    <bug_when>2022-04-26 13:08:52 +0300</bug_when>
    <thetext>Воспроизводилось, когда при запуске сервиса StaticHostname отличался от Hostname.
Теперь должно работать нормально.
sisyphus: https://git.altlinux.org/tasks/299041/
p10: https://git.altlinux.org/tasks/299042/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210229</commentid>
    <comment_count>2</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2022-04-28 13:37:46 +0300</bug_when>
    <thetext>(Ответ для Slava Aseev на комментарий #1)
&gt; Воспроизводилось, когда при запуске сервиса StaticHostname отличался от
&gt; Hostname.
&gt; Теперь должно работать нормально.
&gt; sisyphus: https://git.altlinux.org/tasks/299041/
&gt; p10: https://git.altlinux.org/tasks/299042/

Работает, спасибо.

Смутило $ xauth list | wc -l
57

Можно отправлять в репозитории.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210304</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2022-04-29 23:13:06 +0300</bug_when>
    <thetext>xauthority-hostname-updater-0.4.1-alt1 -&gt; sisyphus:

 Tue Apr 26 2022 Slava Aseev &lt;ptrnine@altlinux&gt; 0.4.1-alt1
 - Fix active hostname initialization (closes: 42563)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>