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

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

    <bug>
          <bug_id>41887</bug_id>
          
          <creation_ts>2022-02-08 08:32:46 +0300</creation_ts>
          <short_desc>&quot;empty&quot; should require /dev/pts to work in hasher; like dejagnu does</short_desc>
          <delta_ts>2025-11-26 16:31:18 +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>empty</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Ilya Mashkin">oddity</assigned_to>
          <cc>antohami</cc>
    
    <cc>oddity</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>207537</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2022-02-08 08:32:46 +0300</bug_when>
    <thetext>&quot;empty&quot; should require /dev/pts to work in hasher; like dejagnu does:

$ apt-cache showpkg /dev/pts
Package: /dev/pts
Versions: 

Reverse Depends: 
  dejagnu,/dev/pts
Dependencies: 
Provides: 
Reverse Provides: 
filesystem 2.3.18-alt1:sisyphus+257426.100.1.1@1599226664
dev-minimal 3.3.1-alt23:sisyphus+269283.100.1.1@1617964822


Without it, if used in hasher (in some tests in a package), it fails:

$ hsh-install ~/hasher empty &amp;&amp; hsh-run ~/hasher -- /bin/sh -c &apos;empty -f /bin/sh -i; empty -k&apos;
&lt;5&gt;Feb  8 05:31:48 empty: version 0.6.21b started
&lt;5&gt;Feb  8 05:31:48 empty: PTY routine failed. Fatal openpty()
Can&apos;t kill PID: 1738115: No such process

With such a dependency, it wouldn&apos;t fail:

$ hsh-install ~/hasher empty &amp;&amp; hsh-run --mount /dev/pts ~/hasher -- /bin/sh -c &apos;empty -f /bin/sh -i; empty -k&apos;
&lt;5&gt;Feb  8 05:30:22 empty: version 0.6.21b started
&lt;5&gt;Feb  8 05:30:22 empty: forked /bin/sh -i
&lt;5&gt;Feb  8 05:30:22 empty: /bin/sh exited
&lt;5&gt;Feb  8 05:30:22 empty: version 0.6.21b finished</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>277884</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-11-26 16:31:18 +0300</bug_when>
    <thetext>empty-0.6.23d-alt2 -&gt; sisyphus:

Wed Nov 26 2025 Ilya Mashkin &lt;oddity@altlinux.ru&gt; 0.6.23d-alt2
- Add R: expect /dev/pts (Closes: #41887)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>