ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Moskalenko <mav@elserv.msk.su>
To: "Anton V. Boyarshinov" <boyarsh@altlinux.org>
Cc: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Обычный файл вместо /dev/null
Date: Wed, 27 Oct 2021 15:33:18 +0300
Message-ID: <4d475c9f-790c-8794-9b5a-f2841a791338@elserv.msk.su> (raw)
In-Reply-To: <20211027105520.34fa7a61@tower>

Да, спасибо, это оно.

Файлов .rpmnew, относящихся к делу, не нашел. настройка была в 
"ничейном" файле /etc/sysctl.d/99-coredump.conf, который я удалил.


27.10.2021 10:55, Anton V. Boyarshinov пишет:
> Добрый день
>
> В Wed, 27 Oct 2021 07:29:49 +0300
> Alex Moskalenko <mav@elserv.msk.su> пишет:
>
>> После очередного обновления системы на p10 c systemd компьютер перестал
>> загружать lxdm, останавливаясь на черном экране. Раскопки показали, что
>> в системе вместо устройства /dev/null после загрузки получается обычный
>> файл /dev/null с правами root:root 0600. Систему оживляет загрузка в
>> rescue.target, удаление файла, создание правильного /dev/null,
>> перезапуск всего, что запущено и переход к graphical.target.
> Судя по всему у вас sysctl kernel.core_pattern выставлен
> kernel.core_pattern = /dev/null
> Это неправильно
>
> Эта проблема возникла и исправлялась когда-то довольно давно, возможно,
> у вас какой-то файл при обновлении стал rpmnew.
>
> Правильного рецепта дать не могу, но добавление в /etc/sysctl.conf
> kernel.core_pattern=/
> в первом приближении поможет.
>
>
>> Как избавиться от появления при загрузке неправильного пустого файла
>> вместо устройства /dev/null? В initrd по initrd-ls /dev/null правильный,
>> на FS корня тоже правильный, а при загрузке на udevfs - файл вместо
>> устройства. Кто отвечает за создание /dev/null в системе с systemd и как
>> вправить ему мозги?
>>
>> _______________________________________________
>> community mailing list
>> community@lists.altlinux.org
>> https://lists.altlinux.org/mailman/listinfo/community


      reply	other threads:[~2021-10-27 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27  4:29 Alex Moskalenko
2021-10-27  7:55 ` Anton V. Boyarshinov
2021-10-27 12:33   ` Alex Moskalenko [this message]

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=4d475c9f-790c-8794-9b5a-f2841a791338@elserv.msk.su \
    --to=mav@elserv.msk.su \
    --cc=boyarsh@altlinux.org \
    --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