GNU bug report logs -
#34407
Shepherd won't close socket on exit
Previous Next
Reported by: nly <nly <at> disroot.org>
Date: Sat, 9 Feb 2019 19:58:01 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sun, 17 Feb 2019 11:38:16 +0800
iyzsong <at> member.fsf.org (宋文武) wrote:
> Yes, I have the 'rm /run/user/1000/shepherd/socket' workaround in my session
> script too...
>
> According to 'man 2 bind', the socket pathname should be deleted when no
> longer required, so a patch to fix this bug:
Hmm, I guess you can do that.
But /run is supposed to be a tmpfs and elogind is supposed to rm -rf /run/user/1000
after all sessions of that user terminated in any case, so how is it left over
in the first place?
If the deletion in the case above doesn't work, please report a bug.
If that patch is only in order to enable users to restart user's shepherd
without exiting all their sessions, then I guess that's ok--although unusual.
Does your patch do the right thing if the user's shepherd is already
running? (i.e. keep the socket file)
[Message part 2 (application/pgp-signature, inline)]
This bug report was last modified 6 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.