ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Moskalenko <mav@elserv.msk.su>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Обычный файл вместо /dev/null
Date: Wed, 27 Oct 2021 07:29:49 +0300
Message-ID: <c3986d5c-d3f8-f6a8-c75e-f84fa2779b94@elserv.msk.su> (raw)

Здравствуйте.

Подскажите пожалуйста, где можно поправить непонятную ситуацию.

После очередного обновления системы на p10 c systemd компьютер перестал 
загружать lxdm, останавливаясь на черном экране. Раскопки показали, что 
в системе вместо устройства /dev/null после загрузки получается обычный 
файл /dev/null с правами root:root 0600. Систему оживляет загрузка в 
rescue.target, удаление файла, создание правильного /dev/null, 
перезапуск всего, что запущено и переход к graphical.target.

Как избавиться от появления при загрузке неправильного пустого файла 
вместо устройства /dev/null? В initrd по initrd-ls /dev/null правильный, 
на FS корня тоже правильный, а при загрузке на udevfs - файл вместо 
устройства. Кто отвечает за создание /dev/null в системе с systemd и как 
вправить ему мозги?



             reply	other threads:[~2021-10-27  4:29 UTC|newest]

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

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=c3986d5c-d3f8-f6a8-c75e-f84fa2779b94@elserv.msk.su \
    --to=mav@elserv.msk.su \
    --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