bug#67132: [Shepherd] Bogus value from PID file can prevent service from being stopped

2023-11-12 Thread Ludovic Courtès
Hi,

‘terminate-process’ in (shepherd service) assumes that, once it has sent
SIGKILL to a given PID, it eventually gets a SIGCHLD notification for
that PID.

Unfortunately there are corner cases where it doesn’t hold.  Take PID 2:

--8<---cut here---start->8---
$ ps x 2
  PID TTY  STAT   TIME COMMAND
2 ?S  0:00 [kthreadd]
--8<---cut here---end--->8---

That’s not a “real” process, so when you (kill 2 SIGKILL), nothing
happens.  Thus, ‘terminate-process’ never returns; the corresponding
service stays in “stopping” state and you cannot halt your machine.

You may wonder how we end up calling ‘terminate-process’ with a “bogus”
PID.  It normally never happens, but it can happen with a combination of
‘make-forkexec-constructor’ with #:pid-file and
‘least-authority-wrapper’: the PID file of the wrapper may read “2” (the
PID inside the least-authority PID namespace), so ‘herd stop’ on that
service will end up doing (kill 2 SIGKILL).

Ludo’.





bug#67130: Liferea/glib crash

2023-11-12 Thread Csepp
This happened after wakeup under seemingly high (IO) load when I clicked
on a link.  The window just disappeared.
I had dmesg --follow already open and this showed up:
[ 6158.088405] traps: WatchDogQueue[4000] trap int3 ip:7fd2425409cf 
sp:7fd1dd7fb620 error:0 in libglib-2.0.so.0.7200.3[7fd242504000+88000]

liferea:
/gnu/store/pbwp8fjiwy727hq6aafzwyvig57s9zmk-liferea-1.13.4
glib:
/gnu/store/znx6vjadh4az7fzxz7x649ki9qzqnjp3-glib-2.72.3
guix describe output:
Generation 223  Nov 02 2023 08:58:48(current)
  guix f534609
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: f5346094f0365a2c04ca00111ff06e17dac832e2
  raingloom b528a4a
repository URL: https://git.sr.ht/~raingloom/guix-packages
branch: master
commit: b528a4a906011efb52bc4db916408c5f12f387ec
  guix-science 25ce86c
repository URL: https://github.com/guix-science/guix-science.git
branch: master
commit: 25ce86cd74f38d7c17d1d90a8271758959702f43
  nonguix e14c0e2
repository URL: https://gitlab.com/nonguix/nonguix.git
branch: master
commit: e14c0e2184e01709472658b7a73e7c9e2461dce2





bug#65240: pdfarranger can't be installed

2023-11-12 Thread Christophe Pisteur
Hi Jack,
Yes, I can now install pdfarranger.
Apparently, the bug fix:
https://issues.guix.gnu.org/66920
has solved my problem.
Thanks for the bug fix and also for your message!
Christophe



Le samedi 11 novembre 2023 à 23:16 -0500, Jack Hill a écrit :
> On Sat, 12 Aug 2023, Christophe Pisteur wrote:
> 
> > pdfarranger can't be installed
> 
> Christophe,
> 
> Sorry you didn't get a response to your report. It's still
> appreciated. 
> The good news is that pdfarranger now builds and can be installed!
> While I 
> can't be sure if it was your issue, it could be that the recent fix
> for 
> the python-pikepdf dependency was what did it.
> 
> https://issues.guix.gnu.org/66920
> 
> Best,
> Jack