ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Vainerman <pv@etersoft.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] sisyphus-mirror
Date: Wed, 10 Jun 2020 16:37:47 +0300
Message-ID: <1afcccb0-e8d6-4f02-4bf4-85781f73bd98@etersoft.ru> (raw)
In-Reply-To: <ea41d6a0-ec50-9d56-a740-9788a700e078@pauli.ru>

>>>
>>> Это как-то можно побороть?
>>    Скорее всего это связано с systemd.
>> Смотрите KillUserProcesses  в /etc/systemd/logind.conf  и на около эту
>> тему
>>
>>
> Определённо. Началось с какой-то версии systemd, потому что в p8 у нас
> systemd 239 и подобного не наблюдалось. В p9 syseemd уже 243 и, да,
> ситуация воспроизводится. Кстати, в /etc/systemd/logind.conf
> закомментированный параметр KillUserProcesses был no,  а стал yes,
> возможно это как раз про поведение по умолчанию.
> 
> Однако, если в logind.conf  добавить параметр KillUserProcesses=no, то 
> процессы под screen убиваться перестают. Это я проверил. Может так сойдёт?



  Использование KillUserProcesses=no - это глобально, для всех. Возможно
это не то, что требуется.
  Есть ещё #KillExcludeUsers=root  т.е. можно перечислить users процессы
которых не будут убиваться.
Либо как предложили в другом письме, если нужно чтобы не убивалась
конкретная сессия (программа), то запускать через systemd-run --scope xxx


-- 
Pavel Vainerman
www.etersoft.ru


  reply	other threads:[~2020-06-10 13:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-10 11:12 Denis G. Samsonenko
2020-06-10 11:19 ` Pavel Vainerman
2020-06-10 11:29   ` Антон Мидюков
2020-06-10 13:33   ` Павел Исопенко
2020-06-10 13:37     ` Pavel Vainerman [this message]
2020-06-10 16:52       ` Denis G. Samsonenko
2020-06-10 18:45         ` Vladimir D. Seleznev
2020-06-11  3:45           ` Denis G. Samsonenko
2020-06-11 12:41             ` [Comm] systemd-run Failed to create bus connection (Was: sisyphus-mirror) Vladimir D. Seleznev
2020-06-11 15:26               ` Denis G. Samsonenko
2020-06-10 11:19 ` [Comm] sisyphus-mirror Антон Мидюков
2020-06-10 11:21   ` Такасеев Алексей Геннадиевич
2020-06-10 11:39 ` Павел Исопенко
2020-06-10 12:16   ` Andrey Savchenko
2020-06-10 12:27 ` Vladimir D. Seleznev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1afcccb0-e8d6-4f02-4bf4-85781f73bd98@etersoft.ru \
    --to=pv@etersoft.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git