On Sun, 11 Aug 2024 23:41:54 +0200, Serafeim Zanikolas wrote:

> > Bug #1076788 [adequate] adequate: Messes up the console apt was running from
> I can reproduce the loss of job control but not exiting the shell.

I've seen both: the broken job control in a terminal emulator under
X11, the exit-from-shell in a plain kernel console.

> anyway,
> 0.16.10 in experimental fixes the job control issue for me.

0.16.10 from experimental installed, and:
It's getting better but something is still weird.

Tested in a kernel console, logged in as root directly into bash; and
in urxvt with zsh as gregoa -> su -> bash as root; effect is the
same:


A shortened log with some comments addedd:

# apt reinstall adequate
Summary:                        
  Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 6
  Download size: 0 B / 803 kB
  Space needed: 0 B / 28.1 GB available

(Reading database ... 566177 files and directories currently installed.)
Preparing to unpack .../adequate_0.16.10_amd64.deb ...
Unpacking adequate (0.16.10) over (0.16.10) ...
Setting up adequate (0.16.10) ...
Processing triggers for man-db (2.12.1-3) ...
↑ everything fine so far

localepurge: Disk space freed:      0 KiB in /usr/share/locale
[…]
↑ still everyhing ok

======  How can you help?  (doc: https://wiki.debian.org/how-can-i-help ) ======
[…]
↑ nothing interesting

↓ this is needrestart starting
Scanning processes...                                                           
                                                                                
   
Scanning candidates...                                                          
                                                                                
   
Scanning processor microcode...                                                 
                                                                                
   
Scanning linux images...                                                        
                                                                                
   

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Restarting services...
Daemons using outdated libraries
--------------------------------


  1. cron  2. geoclue

(Enter the items or ranges you want to select, separated by spaces.)


[1]+  Stopped                 apt reinstall adequate
↑ oops, the needrestart hook is backgrounded?

↓ let's fg it. it still works.
# fg
apt reinstall adequate
Which services should be restarted? 1 2


 invoke-rc.d cron restart
 invoke-rc.d geoclue restart
[…]
#
↑ finished, shell seems to be healthy


Now how the adequate hooks messes with the later needrestart hook --
no idea … (needrestart asking questions, maybe?)

After removing adequate the phenomenon with the backgrounded needrestart hook 
ist gone.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature

Reply via email to