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

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

    <bug>
          <bug_id>41977</bug_id>
          
          <creation_ts>2022-02-16 21:53:08 +0300</creation_ts>
          <short_desc>Help users by re-running apt-get under systemd-run</short_desc>
          <delta_ts>2022-03-22 14:43:00 +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>apt</component>
          <version>unstable</version>
          <rep_platform>x86</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="Vitaly Chikunov">vt</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>andy</cc>
    
    <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>iv</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>207906</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-02-16 21:53:08 +0300</bug_when>
    <thetext>Help naïve users running apt-get install in xterm or over ssh by (creating systemd session by) re-running apt-get under systemd-run. [Of course if systemd is available.]

Perhaps, under `systemd-run --scope --user`.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207916</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2022-02-17 10:45:29 +0300</bug_when>
    <thetext>(In reply to Vitaly Chikunov from comment #0)
&gt; Help naïve users running apt-get install in xterm or over ssh by (creating
&gt; systemd session by) re-running apt-get under systemd-run. [Of course if
&gt; systemd is available.]
&gt; 
&gt; Perhaps, under `systemd-run --scope --user`.

Probably, lingering should also be enabled while apt runs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208440</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-03-13 23:18:48 +0300</bug_when>
    <thetext>Alternative solution is built in https://git.altlinux.org/tasks/296591/ -- apt-get is wrapped with a child sub-reaper which does not exit until all created tasks (such as pdeath_execute) are finished. Because of this we don&apos;t need to defend them against systemd or reboot.

ps. This will not protect in case of terminal window closing, but, perhaps, systemd-run would not protect against this (not tested), because there is output to a terminal. I believe that only something similar to screen/tmux would protect from this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208716</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2022-03-22 00:38:36 +0300</bug_when>
    <thetext>[#296591] DONE (try 4) apt.git=0.5.15lorg2-alt76</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>208739</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Vasilyev">andy</who>
    <bug_when>2022-03-22 14:43:00 +0300</bug_when>
    <thetext>Спасибо! Давно ждали!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>